Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, 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.001285/0.001285, allocations: 192.8 kB / 16.14 MB, free: 6.703 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.659/1.659, allocations: 205.1 MB / 222 MB, free: 4.965 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.3735/0.3735, allocations: 37.98 MB / 307.3 MB, free: 9.871 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.001368/0.001368, allocations: 62.41 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1541, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00377/0.1579, allocations: 1.936 MB / 433 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1595, allocations: 0.8349 MB / 433.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1596, allocations: 0 / 433.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.1599, allocations: 35.83 kB / 433.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1601, allocations: 47.78 kB / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1604, allocations: 107.8 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1606, allocations: 119.6 kB / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1608, allocations: 37.72 kB / 434.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.1609, allocations: 51.67 kB / 434.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.161, allocations: 55.69 kB / 434.2 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1611, allocations: 8 kB / 434.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.1612, allocations: 35.98 kB / 434.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.1612, allocations: 19.92 kB / 434.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.1613, allocations: 51.61 kB / 434.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1615, allocations: 147.5 kB / 434.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1616, allocations: 0 / 434.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1616, allocations: 0 / 434.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1616, allocations: 0 / 434.5 MB, free: 3.559 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007022/0.1623, allocations: 472.6 kB / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1623, allocations: 12.03 kB / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.1624, allocations: 16.75 kB / 435 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1627, allocations: 224.7 kB / 435.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1627, allocations: 4.375 kB / 435.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1627, allocations: 8.125 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.163, allocations: 108.2 kB / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.163, allocations: 4 kB / 435.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.163, allocations: 0 / 435.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1631, allocations: 4 kB / 435.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1632, allocations: 55.91 kB / 435.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.1639, allocations: 0.5087 MB / 435.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.1643, allocations: 86.67 kB / 436 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.694e-05/0.1644, allocations: 40.81 kB / 436 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1644, allocations: 7.938 kB / 436 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.1647, allocations: 83.31 kB / 436.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1647, allocations: 0 / 436.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004117/0.1651, allocations: 145.3 kB / 436.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1652, allocations: 59.34 kB / 436.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1654, allocations: 187.5 kB / 436.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1654, allocations: 29.7 kB / 436.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.1655, allocations: 124 kB / 436.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1656, allocations: 31.59 kB / 436.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.1656, allocations: 29.7 kB / 436.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1658, allocations: 326.8 kB / 437 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.1659, allocations: 23.98 kB / 437 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.166, allocations: 68.27 kB / 437.1 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1662, allocations: 92.16 kB / 437.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1662, allocations: 0 / 437.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002593/0.1665, allocations: 145.3 kB / 437.3 MB, free: 444 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1665, allocations: 4 kB / 437.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1665, allocations: 0 / 437.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1666, allocations: 4 kB / 437.4 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1667, allocations: 27.92 kB / 437.4 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.1667, allocations: 4 kB / 437.4 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.1668, allocations: 19.86 kB / 437.4 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1668, allocations: 4.469 kB / 437.4 MB, free: 380 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001579/0.1669, allocations: 129.9 kB / 437.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.167, allocations: 15.81 kB / 437.6 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.167, allocations: 17.39 kB / 437.6 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.167, allocations: 3.938 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.167, allocations: 3.938 kB / 437.6 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1671, allocations: 4 kB / 437.6 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1672, allocations: 205.6 kB / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1673, allocations: 3.984 kB / 437.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.1673, allocations: 11.98 kB / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1673, allocations: 4 kB / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1674, allocations: 4 kB / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1674, allocations: 7.875 kB / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1674, allocations: 0 / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.1678, allocations: 180.8 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1678, allocations: 100.9 kB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1679, allocations: 4.062 kB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.1679, allocations: 7.938 kB / 438.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.168, allocations: 7.984 kB / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.168, allocations: 8 kB / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1681, allocations: 137.2 kB / 438.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1681, allocations: 0 / 438.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.1684, allocations: 24 kB / 438.3 MB, free: 15.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008831/0.1693, allocations: 418.9 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1696, allocations: 83.83 kB / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1696, allocations: 0 / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.1697, allocations: 35.98 kB / 438.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.17, allocations: 31.97 kB / 438.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.1706, allocations: 305.8 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.171, allocations: 0.7162 MB / 439.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.1711, allocations: 13.42 kB / 439.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.1711, allocations: 19.42 kB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1711, allocations: 0 / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005106/0.1762, allocations: 1.795 MB / 441.7 MB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)