Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00182/0.001821, allocations: 195.1 kB / 16.14 MB, free: 6.711 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.557/1.557, 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.1+maint.om/package.mo): time 0.3041/0.3041, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.1. 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.001334/0.001334, allocations: 78.39 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1494, allocations: 56.45 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003394/0.1529, allocations: 1.697 MB / 432.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1543, allocations: 0.7805 MB / 433.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.1544, allocations: 0 / 433.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1548, allocations: 51.86 kB / 433.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.155, allocations: 63.75 kB / 433.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1553, allocations: 79.84 kB / 433.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1555, allocations: 91.69 kB / 433.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.432e-05/0.1556, allocations: 15.97 kB / 433.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1557, allocations: 43.72 kB / 433.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1558, allocations: 43.83 kB / 433.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1558, allocations: 4 kB / 433.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.156, allocations: 27.98 kB / 433.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.156, allocations: 11.94 kB / 433.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.1561, allocations: 35.8 kB / 434 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1564, allocations: 95.92 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1564, allocations: 0 / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1564, allocations: 0 / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1564, allocations: 3.938 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008509/0.1573, allocations: 403.1 kB / 434.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.769e-05/0.1574, allocations: 8.031 kB / 434.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/0.1574, allocations: 8.844 kB / 434.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1578, allocations: 204.1 kB / 434.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1578, allocations: 4.375 kB / 434.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.1578, allocations: 12.11 kB / 434.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.1581, allocations: 49.69 kB / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1581, allocations: 0 / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1581, allocations: 0 / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1581, allocations: 0 / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.1582, allocations: 19.92 kB / 434.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.1585, allocations: 185.5 kB / 434.9 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1587, allocations: 58.61 kB / 435 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.1588, allocations: 20.8 kB / 435 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1588, allocations: 0 / 435 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.1591, allocations: 71.31 kB / 435.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1592, allocations: 0 / 435.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003343/0.1595, allocations: 97.58 kB / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1595, allocations: 51.41 kB / 435.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1598, allocations: 174.2 kB / 435.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1598, allocations: 37.69 kB / 435.4 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.1599, allocations: 96.14 kB / 435.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.1599, allocations: 7.812 kB / 435.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.16, allocations: 25.7 kB / 435.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1602, allocations: 318.8 kB / 435.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.1602, allocations: 16 kB / 435.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.1603, allocations: 37.64 kB / 435.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1604, allocations: 41.7 kB / 436 MB, free: 1.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1604, allocations: 3.938 kB / 436 MB, free: 1.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.1606, allocations: 85.47 kB / 436 MB, free: 1.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1606, allocations: 4 kB / 436.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1606, allocations: 4.031 kB / 436.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1606, allocations: 0 / 436.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.1607, allocations: 15.98 kB / 436.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1607, allocations: 0 / 436.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1608, allocations: 0 / 436.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1608, allocations: 4.312 kB / 436.1 MB, free: 1.758 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001237/0.1609, allocations: 133.8 kB / 436.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.161, allocations: 7.906 kB / 436.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.161, allocations: 8.312 kB / 436.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.161, allocations: 8 kB / 436.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.161, allocations: 4 kB / 436.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1611, allocations: 3.938 kB / 436.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1612, allocations: 197.4 kB / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1612, allocations: 0 / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.1613, allocations: 0 / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1613, allocations: 4 kB / 436.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1613, allocations: 3.938 kB / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1613, allocations: 0 / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1613, allocations: 0 / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1615, allocations: 113 kB / 436.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1616, allocations: 85.02 kB / 436.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1616, allocations: 0 / 436.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.1616, allocations: 11.98 kB / 436.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1617, allocations: 0 / 436.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1617, allocations: 4 kB / 436.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1618, allocations: 144 kB / 436.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1618, allocations: 0 / 436.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1621, allocations: 27.94 kB / 436.8 MB, free: 0.9219 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009191/0.163, allocations: 414.5 kB / 437.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.1632, allocations: 35.98 kB / 437.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1632, allocations: 0 / 437.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.1633, allocations: 27.92 kB / 437.3 MB, free: 484 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1635, allocations: 23.92 kB / 437.3 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.1641, allocations: 215.8 kB / 437.5 MB, free: 216 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.1645, allocations: 0.6965 MB / 438.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1645, allocations: 20.41 kB / 438.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1646, allocations: 15.44 kB / 438.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1646, allocations: 0 / 438.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of Templates: time 0.004416/0.169, allocations: 1.421 MB / 439.7 MB, free: 14.03 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)