Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.001449/0.00145, allocations: 112.9 kB / 17.33 MB, free: 6.012 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.001531/0.001531, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.486/1.486, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2292/0.2292, allocations: 44.17 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 72.42 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1468, allocations: 60.81 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.005707/0.1526, allocations: 1.854 MB / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.1554, allocations: 0.9395 MB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.1558, allocations: 0 / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1572, allocations: 307.3 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009569/0.1583, allocations: 195.5 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1593, allocations: 158 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008471/0.1602, allocations: 247.4 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1603, allocations: 9.562 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.1608, allocations: 131.5 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.1616, allocations: 195.6 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/0.1617, allocations: 15.92 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.162, allocations: 39.98 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.1624, allocations: 135.6 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.1628, allocations: 150.8 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009376/0.1637, allocations: 363 kB / 473.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.1637, allocations: 0 / 473.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1638, allocations: 3.938 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.1638, allocations: 0 / 473.5 MB, free: 9.918 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002262/0.1661, allocations: 0.723 MB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.541e-05/0.1662, allocations: 12.03 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.1662, allocations: 34.75 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.1664, allocations: 48.28 kB / 474.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1675, allocations: 447.9 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.1675, allocations: 4.375 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.1676, allocations: 19.8 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.168, allocations: 87.34 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.168, allocations: 0 / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.168, allocations: 0 / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1681, allocations: 4 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1682, allocations: 27.98 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.169, allocations: 382.3 kB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.1694, allocations: 105.2 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.1696, allocations: 41.7 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1696, allocations: 4 kB / 475.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.17, allocations: 108.9 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.17, allocations: 4 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007029/0.1707, allocations: 193 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.1708, allocations: 85.11 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.1725, allocations: 1.034 MB / 476.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.1725, allocations: 33.64 kB / 476.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.1728, allocations: 232.1 kB / 477.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.1729, allocations: 31.55 kB / 477.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.173, allocations: 33.7 kB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003133/0.1733, allocations: 362.8 kB / 477.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1735, allocations: 31.98 kB / 477.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1736, allocations: 63.34 kB / 477.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.174, allocations: 87.36 kB / 477.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.174, allocations: 3.938 kB / 477.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004432/0.1744, allocations: 161 kB / 477.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1745, allocations: 7.984 kB / 477.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1745, allocations: 4 kB / 477.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1745, allocations: 0 / 477.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1747, allocations: 16.62 kB / 477.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1747, allocations: 11.92 kB / 477.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.1749, allocations: 11.91 kB / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.175, allocations: 4 kB / 477.9 MB, free: 5.219 MB / 350.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003016/0.1753, allocations: 237.7 kB / 478.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1754, allocations: 47.34 kB / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1755, allocations: 60 kB / 478.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.1756, allocations: 4 kB / 478.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1756, allocations: 3.938 kB / 478.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1756, allocations: 0 / 478.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1761, allocations: 341.4 kB / 478.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1761, allocations: 0 / 478.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.1762, allocations: 4 kB / 478.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.1762, allocations: 8 kB / 478.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.1762, allocations: 7.922 kB / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1763, allocations: 0 / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1763, allocations: 4 kB / 478.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.1767, allocations: 201.2 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.1769, allocations: 140.5 kB / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.177, allocations: 0 / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1771, allocations: 11.98 kB / 479 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.1772, allocations: 8 kB / 479 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1772, allocations: 7.984 kB / 479 MB, free: 4.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001129/0.1783, allocations: 0.7683 MB / 479.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1784, allocations: 3.938 kB / 479.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004619/0.1788, allocations: 47.98 kB / 479.8 MB, free: 3.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002114/0.1809, allocations: 1.047 MB / 480.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.1813, allocations: 95.77 kB / 481 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1813, allocations: 0 / 481 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.1815, allocations: 39.98 kB / 481 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.1821, allocations: 70.3 kB / 481.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009105/0.1912, allocations: 4.697 MB / 485.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.1918, allocations: 0.8386 MB / 486.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.192, allocations: 62.94 kB / 486.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.1923, allocations: 151.4 kB / 486.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1923, allocations: 0 / 486.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.2211, allocations: 8.644 MB / 495.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/0.2214, allocations: 245.2 kB / 495.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.232, allocations: 0 / 495.7 MB, free: 3.461 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)