Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",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.0008188/0.0008189, allocations: 95.5 kB / 17 MB, free: 6.844 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.0008104/0.0008104, allocations: 189 kB / 17.89 MB, free: 6.078 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.442/1.442, allocations: 223.2 MB / 241.9 MB, free: 14.48 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.2447/0.2447, allocations: 44.22 MB / 337.2 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 13.33 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003579/0.1435, allocations: 2.843 MB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1468, allocations: 1.467 MB / 476 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004067/0.1472, allocations: 19.88 kB / 476 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.1477, allocations: 115.2 kB / 476.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.1482, allocations: 151 kB / 476.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.1493, allocations: 417.2 kB / 476.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009976/0.1504, allocations: 0.8186 MB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.1507, allocations: 185 kB / 477.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.1511, allocations: 294.6 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.1516, allocations: 342.3 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.1517, allocations: 20 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.1519, allocations: 123.8 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.1521, allocations: 151.3 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1522, allocations: 129.3 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.1529, allocations: 0.6236 MB / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1529, allocations: 0 / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1529, allocations: 0 / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1529, allocations: 0 / 479.3 MB, free: 5.934 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.00225/0.1552, allocations: 1.071 MB / 480.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.1552, allocations: 12.02 kB / 480.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.1554, allocations: 82.53 kB / 480.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1555, allocations: 86.97 kB / 480.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.1564, allocations: 0.5343 MB / 481.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.1565, allocations: 37 kB / 481.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.1566, allocations: 59.89 kB / 481.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.1578, allocations: 0.6213 MB / 481.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1578, allocations: 3.906 kB / 481.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.1578, allocations: 20 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.1579, allocations: 19.94 kB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.159, allocations: 0.4944 MB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.1625, allocations: 2.667 MB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1636, allocations: 0.5471 MB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.1642, allocations: 282.9 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.1642, allocations: 8.234 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1643, allocations: 38.73 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.355e-06/0.1643, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002567/0.1668, allocations: 1.226 MB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.1669, allocations: 144.5 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.1678, allocations: 0.6412 MB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.1678, allocations: 33.7 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.1681, allocations: 360.7 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.1683, allocations: 181.4 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1684, allocations: 11.94 kB / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1685, allocations: 334 kB / 488.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/0.1691, allocations: 297.1 kB / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/0.1699, allocations: 464.8 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.1706, allocations: 335.8 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1706, allocations: 4 kB / 489.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001634/0.1722, allocations: 0.8652 MB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.1724, allocations: 225.7 kB / 490.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.1725, allocations: 4 kB / 490.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.1725, allocations: 8 kB / 491 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.1734, allocations: 215.7 kB / 491.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.1734, allocations: 8 kB / 491.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.174, allocations: 91.62 kB / 491.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.174, allocations: 27.94 kB / 491.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.1741, allocations: 4 kB / 491.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.1755, allocations: 0.7334 MB / 492 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1756, allocations: 4 kB / 492 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1756, allocations: 11.95 kB / 492 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.1764, allocations: 204.2 kB / 492.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1764, allocations: 15.92 kB / 492.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.1769, allocations: 87.53 kB / 492.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.1769, allocations: 28 kB / 492.4 MB, free: 8.355 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0004549/0.1774, allocations: 284.9 kB / 492.6 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.1776, allocations: 71.16 kB / 492.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.1778, allocations: 94.86 kB / 492.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1778, allocations: 7.938 kB / 492.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.1778, allocations: 4 kB / 492.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1779, allocations: 3.984 kB / 492.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.1799, allocations: 1.291 MB / 494.1 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.18, allocations: 0 / 494.1 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.1806, allocations: 119.9 kB / 494.2 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1806, allocations: 4 kB / 494.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.1807, allocations: 16 kB / 494.3 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1807, allocations: 7.984 kB / 494.3 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.1807, allocations: 3.938 kB / 494.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.1828, allocations: 1.223 MB / 495.5 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.1831, allocations: 204.1 kB / 495.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.1832, allocations: 16 kB / 495.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.1837, allocations: 63.94 kB / 495.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.1838, allocations: 43.88 kB / 495.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.1839, allocations: 12 kB / 495.8 MB, free: 4.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.1845, allocations: 455 kB / 496.3 MB, free: 4.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1845, allocations: 3.938 kB / 496.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009711/0.1855, allocations: 224 kB / 496.5 MB, free: 4.117 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.002556/0.1881, allocations: 1.819 MB / 498.3 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.1904, allocations: 1.052 MB / 499.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1904, allocations: 3.938 kB / 499.4 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.191, allocations: 308 kB / 499.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.1922, allocations: 175.6 kB / 499.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008572/0.2007, allocations: 4.967 MB / 0.493 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/0.2016, allocations: 0.9504 MB / 0.4939 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006498/0.2022, allocations: 148.8 kB / 0.494 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.2026, allocations: 259.4 kB / 0.4943 GB, free: 10.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2027, allocations: 0 / 0.4943 GB, free: 10.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2849/0.4876, allocations: 14.31 MB / 0.5083 GB, free: 45.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.4878, allocations: 185 kB / 0.5084 GB, free: 45.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.758, allocations: 1.094 kB / 0.5084 GB, free: 45.75 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat