Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 95.06 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 186.4 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 14.78 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002729/0.1354, allocations: 2.211 MB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006828/0.1422, allocations: 4.204 MB / 478 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.1426, allocations: 19.75 kB / 478 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.1436, allocations: 422.7 kB / 478.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1439, allocations: 91.59 kB / 478.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005413/0.1493, allocations: 2.096 MB / 480.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.1505, allocations: 0.7761 MB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1507, allocations: 73.73 kB / 481.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.1512, allocations: 426.7 kB / 481.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.1516, allocations: 358.5 kB / 482.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.1517, allocations: 28 kB / 482.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.1536, allocations: 1.358 MB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.1539, allocations: 275.1 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.154, allocations: 153.2 kB / 484 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1558, allocations: 1.871 MB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1558, allocations: 0 / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1559, allocations: 4 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.567e-06/0.1559, allocations: 0 / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002452/0.1583, allocations: 1.308 MB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.1584, allocations: 12.03 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.1585, allocations: 78.53 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.1587, allocations: 110.7 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.1596, allocations: 0.5464 MB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1597, allocations: 37 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1598, allocations: 83.75 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.1608, allocations: 0.6873 MB / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1608, allocations: 0 / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.1608, allocations: 16 kB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1609, allocations: 8 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.1615, allocations: 375.7 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.164, allocations: 1.371 MB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.1654, allocations: 0.8407 MB / 491.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.1655, allocations: 12.44 kB / 491.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1655, allocations: 43 kB / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.403e-06/0.1655, allocations: 0 / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.001559/0.1671, allocations: 0.9771 MB / 492.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004055/0.1675, allocations: 0.6609 MB / 493 MB, free: 7.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.1685, allocations: 0.8459 MB / 493.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/0.1685, allocations: 45.7 kB / 493.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.1689, allocations: 361.4 kB / 494.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.169, allocations: 216.8 kB / 494.5 MB, free: 6.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1691, allocations: 16 kB / 494.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.1693, allocations: 418.7 kB / 494.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/0.1702, allocations: 0.5885 MB / 495.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009721/0.1711, allocations: 0.8223 MB / 496.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009378/0.1721, allocations: 0.6958 MB / 497 MB, free: 3.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1721, allocations: 4 kB / 497 MB, free: 3.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002858/0.175, allocations: 1.902 MB / 498.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.175, allocations: 11.98 kB / 498.9 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-05/0.1751, allocations: 15.98 kB / 498.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.1764, allocations: 0.4978 MB / 499.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.177, allocations: 139.9 kB / 499.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.299/0.476, allocations: 17.04 MB / 0.5045 GB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.4768, allocations: 133.8 kB / 0.5046 GB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.4769, allocations: 28.61 kB / 0.5047 GB, free: 43.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005453/0.4775, allocations: 290.9 kB / 0.5049 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.4776, allocations: 94.69 kB / 0.505 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.4778, allocations: 98.45 kB / 0.5051 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4778, allocations: 5.844 kB / 0.5051 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4778, allocations: 3.234 kB / 0.5051 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4778, allocations: 3.828 kB / 0.5051 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.4788, allocations: 0.6322 MB / 0.5057 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4788, allocations: 0.7031 kB / 0.5057 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.4796, allocations: 111.7 kB / 0.5059 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4796, allocations: 1.531 kB / 0.5059 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.339e-05/0.4797, allocations: 30.25 kB / 0.5059 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4797, allocations: 3.562 kB / 0.5059 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4797, allocations: 1.562 kB / 0.5059 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.4816, allocations: 1.155 MB / 0.507 GB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4818, allocations: 165.3 kB / 0.5072 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.4819, allocations: 34.16 kB / 0.5072 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.4823, allocations: 31.84 kB / 0.5072 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4824, allocations: 35.27 kB / 0.5073 GB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.4824, allocations: 14.42 kB / 0.5073 GB, free: 42.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008521/0.4833, allocations: 0.5322 MB / 0.5078 GB, free: 42.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4833, allocations: 0 / 0.5078 GB, free: 42.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003098/0.4864, allocations: 0.7598 MB / 0.5085 GB, free: 42.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003814/0.4902, allocations: 2.296 MB / 0.5108 GB, free: 42.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004165/0.4944, allocations: 3.001 MB / 0.5137 GB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.4944, allocations: 3.594 kB / 0.5137 GB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.495, allocations: 330.5 kB / 0.514 GB, free: 40.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009495/0.496, allocations: 193.4 kB / 0.5142 GB, free: 40.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.5014, allocations: 3.27 MB / 0.5174 GB, free: 38.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/0.5023, allocations: 1.105 MB / 0.5185 GB, free: 37.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005513/0.5028, allocations: 170 kB / 0.5187 GB, free: 37.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.5032, allocations: 334.5 kB / 0.519 GB, free: 37.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5033, allocations: 0 / 0.519 GB, free: 37.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/0.5521, allocations: 28.06 MB / 0.5464 GB, free: 15.72 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.5523, allocations: 242.2 kB / 0.5466 GB, free: 15.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.136, allocations: 6.078 kB / 0.5466 GB, free: 15.46 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat