Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.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.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",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.001327/0.001326, allocations: 92.12 kB / 16.98 MB, free: 6.398 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.001757/0.001757, allocations: 183.7 kB / 17.87 MB, free: 5.957 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.375/1.375, allocations: 223.2 MB / 241.8 MB, free: 392 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.2162/0.2162, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 8.938 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003781/0.1466, allocations: 2.801 MB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1503, allocations: 1.451 MB / 475.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.1507, allocations: 15.88 kB / 475.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.1512, allocations: 91.33 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.1517, allocations: 195.3 kB / 476.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1528, allocations: 410.2 kB / 476.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007976/0.1536, allocations: 0.5697 MB / 477.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.154, allocations: 189 kB / 477.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.1544, allocations: 302.8 kB / 477.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.1549, allocations: 322.4 kB / 477.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.155, allocations: 20 kB / 477.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.1551, allocations: 20 kB / 477.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.1553, allocations: 151.4 kB / 478 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1554, allocations: 137.2 kB / 478.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.1559, allocations: 0.53 MB / 478.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1559, allocations: 0 / 478.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1559, allocations: 0 / 478.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.156, allocations: 0 / 478.7 MB, free: 6.445 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002185/0.1581, allocations: 1.063 MB / 479.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1582, allocations: 8.031 kB / 479.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.1583, allocations: 86.52 kB / 479.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.1585, allocations: 90.97 kB / 479.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.1595, allocations: 0.5265 MB / 480.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/0.1595, allocations: 41 kB / 480.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-05/0.1597, allocations: 63.89 kB / 480.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1608, allocations: 0.6174 MB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.1608, allocations: 0 / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.1609, allocations: 19.94 kB / 481.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1609, allocations: 12 kB / 481.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.162, allocations: 0.4982 MB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.1657, allocations: 2.694 MB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.167, allocations: 0.5858 MB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.167, allocations: 8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1671, allocations: 38.59 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.1671, allocations: 4 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002555/0.1696, allocations: 1.195 MB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.1697, allocations: 144.5 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/0.1706, allocations: 0.6412 MB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.1707, allocations: 37.7 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.171, allocations: 364 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.1712, allocations: 173.5 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1712, allocations: 16 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1714, allocations: 330 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.1721, allocations: 285.1 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.1728, allocations: 449.1 kB / 488.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.1735, allocations: 333.1 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1735, allocations: 0 / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001691/0.1752, allocations: 0.8377 MB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008181/0.1761, allocations: 1.739 MB / 491.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1761, allocations: 8 kB / 491.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.1761, allocations: 11.98 kB / 491.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.1768, allocations: 159.8 kB / 491.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.1768, allocations: 8 kB / 491.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.1774, allocations: 95.62 kB / 491.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.1775, allocations: 23.94 kB / 491.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1775, allocations: 4 kB / 491.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001398/0.1789, allocations: 0.7143 MB / 492.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1789, allocations: 8 kB / 492.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1789, allocations: 8 kB / 492.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.1796, allocations: 156 kB / 492.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.1796, allocations: 15.94 kB / 492.7 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.1802, allocations: 79.55 kB / 492.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.1803, allocations: 27.94 kB / 492.8 MB, free: 7.723 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0004103/0.1807, allocations: 292.9 kB / 493.1 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.1809, allocations: 75.06 kB / 493.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.181, allocations: 94.2 kB / 493.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.1811, allocations: 7.938 kB / 493.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1811, allocations: 0 / 493.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1811, allocations: 0 / 493.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.1824, allocations: 0.8609 MB / 494.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1824, allocations: 0 / 494.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.1831, allocations: 115.9 kB / 494.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1831, allocations: 4 kB / 494.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.1832, allocations: 20 kB / 494.3 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1832, allocations: 3.984 kB / 494.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1832, allocations: 4 kB / 494.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.1853, allocations: 1.227 MB / 495.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.1856, allocations: 196.1 kB / 495.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.1857, allocations: 16 kB / 495.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.1862, allocations: 59.94 kB / 495.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1864, allocations: 43.89 kB / 495.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.1864, allocations: 8.094 kB / 495.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006431/0.187, allocations: 463 kB / 496.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1871, allocations: 0 / 496.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008163/0.1879, allocations: 192 kB / 496.5 MB, free: 3.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * 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.002401/0.1903, allocations: 1.92 MB / 498.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.1926, allocations: 1.005 MB / 499.4 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1926, allocations: 4.188 kB / 499.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.1932, allocations: 310.1 kB / 499.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009646/0.1942, allocations: 165 kB / 499.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.2038, allocations: 7.699 MB / 0.4957 GB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008163/0.2046, allocations: 0.9692 MB / 0.4966 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007037/0.2054, allocations: 144.8 kB / 0.4968 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.2058, allocations: 251.3 kB / 0.497 GB, free: 7.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.715e-06/0.2058, allocations: 0 / 0.497 GB, free: 7.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2749/0.4808, allocations: 13.33 MB / 0.51 GB, free: 47.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.481, allocations: 175 kB / 0.5102 GB, free: 47.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.624, allocations: 0 / 0.5102 GB, free: 47.54 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat