Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.000867, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007163/0.007163, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.868/1.868, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.4078/0.4078, allocations: 40 MB / 310.7 MB, free: 9.613 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.0005966/0.0005967, allocations: 16 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.153, allocations: 57.96 MB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003026/0.1561, allocations: 1.413 MB / 438.8 MB, free: 484 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1577, allocations: 0.7807 MB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1579, allocations: 0 / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.1582, allocations: 27.91 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1585, allocations: 51.77 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1589, allocations: 71.91 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.1591, allocations: 95.64 kB / 439.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1592, allocations: 20.19 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1594, allocations: 35.8 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.1595, allocations: 23.86 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1595, allocations: 4 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1596, allocations: 39.97 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.1597, allocations: 11.92 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.1598, allocations: 57.45 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1601, allocations: 119.9 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1601, allocations: 0 / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1601, allocations: 0 / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1601, allocations: 0 / 440.2 MB, free: 15.13 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.0006253/0.1607, allocations: 391.1 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1608, allocations: 8.031 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.1608, allocations: 12.75 kB / 440.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1611, allocations: 208.1 kB / 440.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1612, allocations: 4.375 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1612, allocations: 8.125 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1614, allocations: 61.61 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1614, allocations: 3.938 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1614, allocations: 0 / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1615, allocations: 0 / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.1616, allocations: 19.98 kB / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.162, allocations: 280.9 kB / 441.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1622, allocations: 66.61 kB / 441.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.1623, allocations: 16.86 kB / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1623, allocations: 0 / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1625, allocations: 67.38 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1625, allocations: 4 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005884/0.1631, allocations: 165.2 kB / 441.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1632, allocations: 55.41 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1634, allocations: 170.2 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1634, allocations: 29.7 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1635, allocations: 96.14 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.1635, allocations: 31.62 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1636, allocations: 13.72 kB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1637, allocations: 326.8 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.1638, allocations: 27.98 kB / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.1639, allocations: 37.64 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.164, allocations: 57.72 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.164, allocations: 4 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001828/0.1642, allocations: 101.5 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1642, allocations: 7.594 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1643, allocations: 4.031 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1643, allocations: 4 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.1644, allocations: 15.98 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1644, allocations: 0 / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.1644, allocations: 7.938 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1645, allocations: 4.375 kB / 442.4 MB, free: 12.63 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.1646, allocations: 137.4 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1646, allocations: 11.81 kB / 442.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.1647, allocations: 16.72 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1647, allocations: 0 / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1647, allocations: 4 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1647, allocations: 3.938 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.1651, allocations: 391.5 kB / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1652, allocations: 0 / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1652, allocations: 15.92 kB / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1652, allocations: 0 / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1652, allocations: 7.969 kB / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1652, allocations: 4 kB / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1652, allocations: 0 / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1655, allocations: 204.2 kB / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.1655, allocations: 89 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.1656, allocations: 3.938 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.1657, allocations: 12 kB / 443.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1657, allocations: 7.984 kB / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1657, allocations: 0 / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1658, allocations: 135.9 kB / 443.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1658, allocations: 0 / 443.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1661, allocations: 27.89 kB / 443.5 MB, free: 11.48 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 (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.001069/0.1672, allocations: 463.3 kB / 443.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1674, allocations: 59.91 kB / 444 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1674, allocations: 0 / 444 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.1675, allocations: 32.08 kB / 444 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1679, allocations: 32.11 kB / 444 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.1684, allocations: 234.1 kB / 444.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1688, allocations: 0.7043 MB / 445 MB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.1689, allocations: 12.88 kB / 445 MB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.1689, allocations: 19.38 kB / 445 MB, free: 9.902 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1689, allocations: 3.938 kB / 445 MB, free: 9.898 MB / 382.1 MB Notification: Performance of Templates: time 0.004916/0.1738, allocations: 1.619 MB / 446.6 MB, free: 8.281 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) Environment - environmentSimulation: