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.0008562/0.0008562, allocations: 92.5 kB / 17 MB, free: 6.402 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.0009824/0.0009825, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.385/1.385, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 44.21 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 9.031 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002596/0.1308, allocations: 2.195 MB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007345/0.1382, allocations: 4.239 MB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.1385, allocations: 19.75 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.1392, allocations: 298.6 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1394, allocations: 75.34 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005784/0.1452, allocations: 2.111 MB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.1469, allocations: 1.002 MB / 481.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.1472, allocations: 73.73 kB / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.1478, allocations: 386.6 kB / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.1483, allocations: 370.4 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.1484, allocations: 28 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1509, allocations: 1.432 MB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.1512, allocations: 279.1 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1514, allocations: 145.2 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.1534, allocations: 1.867 MB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.1534, allocations: 0 / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1534, allocations: 3.938 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1535, allocations: 0 / 486.1 MB, free: 15.11 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.002611/0.1561, allocations: 1.308 MB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1561, allocations: 8.031 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.1562, allocations: 82.53 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1564, allocations: 106.7 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.1572, allocations: 0.5541 MB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.1572, allocations: 41 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.1574, allocations: 71.77 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.1584, allocations: 0.689 MB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1584, allocations: 0 / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.1585, allocations: 16 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1585, allocations: 12 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.1592, allocations: 379.7 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.1619, allocations: 1.367 MB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1635, allocations: 0.8459 MB / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.164, allocations: 290 kB / 491.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.164, allocations: 4.438 kB / 491.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.1641, allocations: 43 kB / 491.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/0.1641, allocations: 0 / 491.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.001732/0.1658, allocations: 0.9733 MB / 492.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003873/0.1662, allocations: 0.6727 MB / 493.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.1673, allocations: 0.8418 MB / 494.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.1674, allocations: 49.7 kB / 494.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.1678, allocations: 357.3 kB / 494.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.168, allocations: 220.8 kB / 495 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.1681, allocations: 20 kB / 495.1 MB, free: 5.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.1684, allocations: 418.7 kB / 495.5 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009442/0.1693, allocations: 0.5885 MB / 496 MB, free: 4.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.1704, allocations: 0.8262 MB / 496.9 MB, free: 3.801 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.1714, allocations: 0.6919 MB / 497.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1715, allocations: 3.938 kB / 497.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003163/0.1746, allocations: 1.906 MB / 499.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1747, allocations: 7.938 kB / 499.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.213e-05/0.1747, allocations: 15.98 kB / 499.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.1761, allocations: 0.4939 MB / 500 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.1766, allocations: 147.9 kB / 0.4884 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2641/0.4407, allocations: 16.89 MB / 0.5049 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.4414, allocations: 130 kB / 0.505 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.4415, allocations: 34.08 kB / 0.5051 GB, free: 43.39 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.0004142/0.4419, allocations: 283.8 kB / 0.5053 GB, free: 43.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.442, allocations: 92.61 kB / 0.5054 GB, free: 43.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.4422, allocations: 102.5 kB / 0.5055 GB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4422, allocations: 5.875 kB / 0.5055 GB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4423, allocations: 3.594 kB / 0.5055 GB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4423, allocations: 2.109 kB / 0.5055 GB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.4431, allocations: 0.6328 MB / 0.5062 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4431, allocations: 0 / 0.5062 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.4438, allocations: 110.6 kB / 0.5063 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.4438, allocations: 1.781 kB / 0.5063 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.4439, allocations: 31.5 kB / 0.5063 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4439, allocations: 5.781 kB / 0.5063 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4439, allocations: 0.6875 kB / 0.5063 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.4457, allocations: 1.154 MB / 0.5074 GB, free: 42.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4459, allocations: 161.1 kB / 0.5076 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.446, allocations: 39.22 kB / 0.5076 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.4464, allocations: 32.62 kB / 0.5076 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4465, allocations: 34.89 kB / 0.5077 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.4465, allocations: 15.41 kB / 0.5077 GB, free: 42.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007208/0.4472, allocations: 0.5325 MB / 0.5082 GB, free: 42.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4472, allocations: 0 / 0.5082 GB, free: 42.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00241/0.4497, allocations: 0.7534 MB / 0.509 GB, free: 42.73 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.003478/0.4531, allocations: 2.31 MB / 0.5112 GB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003732/0.4569, allocations: 2.99 MB / 0.5141 GB, free: 40.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4569, allocations: 3.656 kB / 0.5141 GB, free: 40.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.4575, allocations: 334.8 kB / 0.5145 GB, free: 40.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.4585, allocations: 207.5 kB / 0.5146 GB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.4724, allocations: 7.58 MB / 0.5221 GB, free: 36.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/0.4733, allocations: 1.087 MB / 0.5231 GB, free: 36.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006684/0.474, allocations: 169 kB / 0.5233 GB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.4744, allocations: 340.3 kB / 0.5236 GB, free: 35.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4744, allocations: 3.938 kB / 0.5236 GB, free: 35.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/0.5208, allocations: 28.85 MB / 0.5518 GB, free: 10.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.521, allocations: 241.7 kB / 0.552 GB, free: 9.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.298, allocations: 0 / 0.552 GB, free: 9.996 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