Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001943/0.001943, allocations: 192.2 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.379/0.379, allocations: 39.93 MB / 309.3 MB, free: 9.316 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 66.58 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1576, allocations: 56.89 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004146/0.1618, allocations: 1.891 MB / 435.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1638, allocations: 0.8936 MB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.164, allocations: 7.938 kB / 436.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.1646, allocations: 143.7 kB / 436.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.1651, allocations: 131.6 kB / 436.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.1656, allocations: 123.8 kB / 437 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.1661, allocations: 207.3 kB / 437.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1662, allocations: 25.55 kB / 437.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1665, allocations: 95.59 kB / 437.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.1668, allocations: 119.5 kB / 437.4 MB, free: 496 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.1668, allocations: 4 kB / 437.4 MB, free: 492 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.167, allocations: 47.97 kB / 437.5 MB, free: 444 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1671, allocations: 39.84 kB / 437.5 MB, free: 404 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1672, allocations: 79.41 kB / 437.6 MB, free: 324 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.1676, allocations: 191.6 kB / 437.8 MB, free: 132 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1676, allocations: 0 / 437.8 MB, free: 132 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1676, allocations: 4 kB / 437.8 MB, free: 128 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1677, allocations: 0 / 437.8 MB, free: 128 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009917/0.1687, allocations: 0.5137 MB / 438.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1687, allocations: 8.031 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.1688, allocations: 24.66 kB / 438.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.1691, allocations: 263.6 kB / 438.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1691, allocations: 4.375 kB / 438.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1692, allocations: 8.125 kB / 438.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1694, allocations: 103.3 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1694, allocations: 0 / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1695, allocations: 0 / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.1695, allocations: 4 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1696, allocations: 43.91 kB / 438.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.1702, allocations: 448.8 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1705, allocations: 121.3 kB / 439.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.1706, allocations: 41.7 kB / 439.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1706, allocations: 3.984 kB / 439.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.1709, allocations: 113 kB / 439.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.1709, allocations: 4 kB / 439.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001039/0.172, allocations: 352.1 kB / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.172, allocations: 85.03 kB / 439.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.1725, allocations: 350.9 kB / 440.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.1725, allocations: 33.7 kB / 440.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1726, allocations: 140.4 kB / 440.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.1727, allocations: 51.34 kB / 440.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.1728, allocations: 41.7 kB / 440.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1729, allocations: 334.8 kB / 440.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1731, allocations: 39.98 kB / 440.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1732, allocations: 71.41 kB / 440.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1734, allocations: 115.4 kB / 441 MB, free: 12.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1734, allocations: 0 / 441 MB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003333/0.1738, allocations: 185.4 kB / 441.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1738, allocations: 8 kB / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1738, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1738, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.174, allocations: 31.98 kB / 441.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.174, allocations: 3.938 kB / 441.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.1741, allocations: 16.05 kB / 441.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1741, allocations: 8 kB / 441.3 MB, free: 12.33 MB / 382.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001324/0.1742, allocations: 149.8 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1743, allocations: 27.7 kB / 441.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.1744, allocations: 37.73 kB / 441.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1744, allocations: 0 / 441.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1744, allocations: 3.938 kB / 441.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1744, allocations: 0.75 kB / 441.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.1751, allocations: 0.6202 MB / 442.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1751, allocations: 0 / 442.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.1752, allocations: 19.98 kB / 442.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1752, allocations: 4 kB / 442.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1752, allocations: 7.938 kB / 442.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/0.1752, allocations: 4 kB / 442.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1752, allocations: 8 kB / 442.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1756, allocations: 364 kB / 442.5 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1757, allocations: 92.83 kB / 442.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.1758, allocations: 11.97 kB / 442.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1759, allocations: 15.94 kB / 442.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.176, allocations: 11.98 kB / 442.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.176, allocations: 11.98 kB / 442.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.1762, allocations: 261.9 kB / 442.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1762, allocations: 0 / 442.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003365/0.1766, allocations: 47.98 kB / 443 MB, free: 10.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0009897/0.1776, allocations: 469.6 kB / 443.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.1779, allocations: 112 kB / 443.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1779, allocations: 0 / 443.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.178, allocations: 76.17 kB / 443.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.1785, allocations: 64.58 kB / 443.7 MB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.1793, allocations: 487.9 kB / 444.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1797, allocations: 0.7518 MB / 444.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.896e-05/0.1798, allocations: 30.25 kB / 444.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.1798, allocations: 27.42 kB / 445 MB, free: 8.516 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1799, allocations: 4 kB / 445 MB, free: 8.512 MB / 382.1 MB Notification: Performance of Templates: time 0.00583/0.1857, allocations: 2.569 MB / 447.5 MB, free: 5.945 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)