Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001664, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.002032/0.002032, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 222.1 MB, free: 5.469 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.4357/0.4357, allocations: 40 MB / 310.4 MB, free: 9.715 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.0008471/0.0008471, allocations: 16 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.153, allocations: 57.96 MB / 436.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002451/0.1556, allocations: 1.386 MB / 438.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.157, allocations: 0.746 MB / 438.9 MB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.1571, allocations: 0 / 438.9 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1575, allocations: 43.83 kB / 439 MB, free: 68 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.1578, allocations: 51.77 kB / 439 MB, free: 16 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1581, allocations: 67.84 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1583, allocations: 83.75 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1584, allocations: 12.16 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1585, allocations: 39.84 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.1586, allocations: 31.84 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1587, allocations: 3.938 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1588, allocations: 35.98 kB / 439.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.1589, allocations: 19.92 kB / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.159, allocations: 33.7 kB / 439.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1592, allocations: 92.03 kB / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1592, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.1592, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1592, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007302/0.16, allocations: 414.8 kB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.16, allocations: 8.031 kB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.1601, allocations: 7.906 kB / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.1604, allocations: 203.6 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1605, allocations: 0 / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1605, allocations: 8 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1607, allocations: 61.61 kB / 440.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1608, allocations: 3.906 kB / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1608, allocations: 4 kB / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1608, allocations: 3.953 kB / 440.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.559e-05/0.1609, allocations: 19.98 kB / 440.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.1614, allocations: 281 kB / 440.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1616, allocations: 58.61 kB / 440.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1617, allocations: 20.86 kB / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1617, allocations: 4 kB / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.162, allocations: 67.34 kB / 440.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.162, allocations: 3.938 kB / 440.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006894/0.1627, allocations: 173.1 kB / 440.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1627, allocations: 51.41 kB / 440.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.163, allocations: 199.3 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.163, allocations: 29.7 kB / 441 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.1631, allocations: 104.1 kB / 441.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.1632, allocations: 23.7 kB / 441.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1632, allocations: 0 / 441.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1634, allocations: 322.8 kB / 441.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.1635, allocations: 23.98 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.1635, allocations: 33.66 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/0.1636, allocations: 31.97 kB / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1636, allocations: 0 / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.1638, allocations: 105.5 kB / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1639, allocations: 4 kB / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1639, allocations: 0 / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1639, allocations: 0 / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.164, allocations: 23.92 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.164, allocations: 3.938 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.1641, allocations: 4.031 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1641, allocations: 4 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001357/0.1643, allocations: 137.6 kB / 441.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1643, allocations: 11.86 kB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.1644, allocations: 17.39 kB / 441.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1644, allocations: 4 kB / 441.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1644, allocations: 0 / 441.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1644, allocations: 3.984 kB / 441.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1649, allocations: 407.3 kB / 442.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1649, allocations: 0 / 442.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1649, allocations: 8.375 kB / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.165, allocations: 0 / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.165, allocations: 11.92 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.165, allocations: 4 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.165, allocations: 0 / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1652, allocations: 200.3 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.1653, allocations: 88.97 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1653, allocations: 8.172 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1654, allocations: 4 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.1654, allocations: 7.938 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1655, allocations: 3.984 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1656, allocations: 156.9 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1656, allocations: 4 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1659, allocations: 27.91 kB / 442.8 MB, free: 11.93 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001041/0.1669, allocations: 464.9 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1671, allocations: 59.97 kB / 443.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1671, allocations: 0 / 443.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.1672, allocations: 31.92 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1676, allocations: 27.97 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.1681, allocations: 242.5 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1685, allocations: 0.7121 MB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.1686, allocations: 13.19 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.1687, allocations: 23.42 kB / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.904e-06/0.1687, allocations: 0 / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Templates: time 0.005265/0.174, allocations: 1.584 MB / 445.9 MB, free: 8.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) Environment - environmentSimulation: