Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 51.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2834, allocations: 53.37 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00305/0.2865, allocations: 1.546 MB / 432.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004017/0.2869, allocations: 147.5 kB / 432.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.2869, allocations: 3.938 kB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.143e-05/0.287, allocations: 7.922 kB / 432.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.2871, allocations: 7.938 kB / 432.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.2873, allocations: 35.89 kB / 432.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.2875, allocations: 43.8 kB / 432.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2876, allocations: 11.98 kB / 432.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.2876, allocations: 19.92 kB / 433 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.496e-05/0.2876, allocations: 19.92 kB / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2876, allocations: 4 kB / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.2877, allocations: 4 kB / 433 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.2877, allocations: 15.92 kB / 433 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.2878, allocations: 23.81 kB / 433 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2879, allocations: 59.53 kB / 433.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2879, allocations: 0 / 433.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2879, allocations: 0 / 433.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2879, allocations: 0 / 433.1 MB, free: 4.914 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004634/0.2884, allocations: 306.6 kB / 433.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2884, allocations: 12.03 kB / 433.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.2885, allocations: 30.75 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.2885, allocations: 8.891 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2887, allocations: 146.3 kB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2888, allocations: 384 / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2888, allocations: 4.375 kB / 433.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.289, allocations: 122.5 kB / 433.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2891, allocations: 3.938 kB / 433.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2891, allocations: 3.938 kB / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.2891, allocations: 4 kB / 433.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.2892, allocations: 27.92 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.2897, allocations: 336.9 kB / 434.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.2898, allocations: 71.78 kB / 434.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.2898, allocations: 38.62 kB / 434.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2899, allocations: 0 / 434.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2899, allocations: 42.5 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2899, allocations: 0 / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003063/0.2902, allocations: 89.89 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.2903, allocations: 110.8 kB / 434.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2904, allocations: 136.6 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2904, allocations: 25.7 kB / 434.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.2905, allocations: 92.12 kB / 434.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2905, allocations: 15.88 kB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.2906, allocations: 21.66 kB / 434.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2907, allocations: 322.8 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.2907, allocations: 12 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.2908, allocations: 35.42 kB / 435.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.2909, allocations: 55.36 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2909, allocations: 0 / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.2911, allocations: 73.56 kB / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2911, allocations: 8 kB / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2911, allocations: 0 / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2911, allocations: 0 / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.2911, allocations: 7.984 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2911, allocations: 4 kB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.2912, allocations: 8.125 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2912, allocations: 3.938 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.2913, allocations: 129.7 kB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.2914, allocations: 49.66 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.2914, allocations: 15.91 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.2914, allocations: 4.078 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2914, allocations: 4 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2914, allocations: 0 / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.2917, allocations: 152.7 kB / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2917, allocations: 3.938 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-06/0.2917, allocations: 0 / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.2917, allocations: 4 kB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2917, allocations: 0 / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2917, allocations: 3.938 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2917, allocations: 3.984 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.292, allocations: 255.6 kB / 435.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.292, allocations: 19.94 kB / 435.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.292, allocations: 0 / 435.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.2921, allocations: 4 kB / 435.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.2921, allocations: 0 / 435.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.2922, allocations: 4 kB / 435.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.461e-05/0.2922, allocations: 107.2 kB / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2922, allocations: 0 / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.2925, allocations: 12 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005918/0.2931, allocations: 0.7906 MB / 436.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.2933, allocations: 35.92 kB / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2933, allocations: 0 / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.2933, allocations: 15.98 kB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.2937, allocations: 27.95 kB / 436.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.2953, allocations: 1.458 MB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2957, allocations: 0.6924 MB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.132e-05/0.2957, allocations: 7.938 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.2957, allocations: 23.42 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.62e-07/0.2957, allocations: 0 / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3256, allocations: 1.822 MB / 440.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.47, allocations: 12 kB / 440.9 MB, free: 12.77 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.868439904879779]