Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.001035/0.001035, allocations: 112.8 kB / 17.33 MB, free: 5.988 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.00101/0.00101, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.352/1.352, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2341/0.2341, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 69.3 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1562, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004304/0.1605, allocations: 2.351 MB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1627, allocations: 1.267 MB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1629, allocations: 7.938 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.1636, allocations: 271.3 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.1641, allocations: 251.1 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.1649, allocations: 341.8 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.1656, allocations: 0.5141 MB / 473.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1658, allocations: 57.06 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.1661, allocations: 235 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.1664, allocations: 270.9 kB / 474.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.1665, allocations: 16 kB / 474.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1666, allocations: 55.97 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1668, allocations: 111.5 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.167, allocations: 182.7 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.1676, allocations: 394.7 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1676, allocations: 0 / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1676, allocations: 0 / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1676, allocations: 0 / 475.1 MB, free: 8.34 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001488/0.1691, allocations: 0.7592 MB / 475.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.1692, allocations: 8.031 kB / 475.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.766e-05/0.1693, allocations: 54.67 kB / 475.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.1694, allocations: 52.28 kB / 476 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.17, allocations: 403.9 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1701, allocations: 4.375 kB / 476.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.1701, allocations: 23.84 kB / 476.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.1706, allocations: 203.6 kB / 476.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.1706, allocations: 3.938 kB / 476.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.1707, allocations: 8 kB / 476.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1707, allocations: 4 kB / 476.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.171, allocations: 99.86 kB / 476.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1722, allocations: 0.8449 MB / 477.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.1728, allocations: 289.3 kB / 477.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.173, allocations: 96.25 kB / 477.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.1731, allocations: 4 kB / 477.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.1736, allocations: 243.3 kB / 478.2 MB, free: 5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.1736, allocations: 0 / 478.2 MB, free: 5 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002081/0.1757, allocations: 0.9721 MB / 479.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1759, allocations: 166.2 kB / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.1766, allocations: 0.6198 MB / 479.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1766, allocations: 33.7 kB / 480 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1768, allocations: 221.1 kB / 480.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1769, allocations: 118.4 kB / 480.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1771, allocations: 74.12 kB / 480.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.1773, allocations: 374.8 kB / 480.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.1776, allocations: 100.8 kB / 480.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1779, allocations: 184.8 kB / 481 MB, free: 2.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.1785, allocations: 296.8 kB / 481.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1785, allocations: 0 / 481.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007387/0.1792, allocations: 404.9 kB / 481.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.1793, allocations: 8 kB / 481.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1793, allocations: 80 / 481.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.1793, allocations: 7.938 kB / 481.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.1796, allocations: 79.91 kB / 481.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.1797, allocations: 15.97 kB / 481.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1799, allocations: 28.08 kB / 481.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.1799, allocations: 12 kB / 481.8 MB, free: 1.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002526/0.1802, allocations: 216.2 kB / 482.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.1803, allocations: 55.34 kB / 482.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1804, allocations: 59.91 kB / 482.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1804, allocations: 4 kB / 482.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.1804, allocations: 5.312 kB / 482.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1804, allocations: 3.938 kB / 482.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.1824, allocations: 1.272 MB / 483.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1824, allocations: 4 kB / 483.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1825, allocations: 43.92 kB / 483.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1826, allocations: 4 kB / 483.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.1826, allocations: 19.92 kB / 483.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.1826, allocations: 7.938 kB / 483.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.1826, allocations: 4 kB / 483.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/0.1836, allocations: 0.8167 MB / 484.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1837, allocations: 124.4 kB / 484.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.1838, allocations: 15.94 kB / 484.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.1841, allocations: 19.98 kB / 484.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.1842, allocations: 31.95 kB / 484.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.1843, allocations: 23.98 kB / 484.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005206/0.1848, allocations: 454.8 kB / 485 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.1848, allocations: 0 / 485 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005569/0.1854, allocations: 83.94 kB / 485.1 MB, free: 13.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002538/0.1879, allocations: 1.734 MB / 486.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.1887, allocations: 299.9 kB / 487.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1887, allocations: 4.062 kB / 487.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.189, allocations: 153 kB / 487.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.1901, allocations: 143.5 kB / 487.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.1966, allocations: 4.622 MB / 492 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.1972, allocations: 0.8512 MB / 492.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.1976, allocations: 79.39 kB / 493 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.1979, allocations: 175.4 kB / 493.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1979, allocations: 0 / 493.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.2221, allocations: 10.23 MB / 0.4916 GB, free: 11.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.2224, allocations: 240.3 kB / 0.4918 GB, free: 11.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.365, allocations: 0 / 0.4918 GB, free: 11.36 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)