Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001447/0.001447, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.819/1.819, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.4 MB, free: 9.328 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.00129/0.00129, allocations: 70.41 kB / 377.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 56.88 MB / 434 MB, free: 4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004137/0.1495, allocations: 2.049 MB / 436 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.151, allocations: 0.8819 MB / 436.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1511, allocations: 0 / 436.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.1515, allocations: 43.7 kB / 437 MB, free: 1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1518, allocations: 67.67 kB / 437 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1521, allocations: 107.8 kB / 437.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1524, allocations: 191.5 kB / 437.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1526, allocations: 33.94 kB / 437.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1527, allocations: 83.56 kB / 437.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.1529, allocations: 75.67 kB / 437.5 MB, free: 464 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.1529, allocations: 16 kB / 437.5 MB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.153, allocations: 51.97 kB / 437.6 MB, free: 396 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.1531, allocations: 43.84 kB / 437.6 MB, free: 352 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1532, allocations: 67.55 kB / 437.7 MB, free: 284 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1535, allocations: 199.2 kB / 437.9 MB, free: 84 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1536, allocations: 0 / 437.9 MB, free: 84 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1536, allocations: 0 / 437.9 MB, free: 84 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1536, allocations: 0 / 437.9 MB, free: 84 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009241/0.1545, allocations: 0.5526 MB / 438.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1546, allocations: 11.89 kB / 438.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1546, allocations: 20.75 kB / 438.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.155, allocations: 248.8 kB / 438.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.155, allocations: 8.375 kB / 438.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.155, allocations: 12.03 kB / 438.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.1555, allocations: 155.8 kB / 438.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1555, allocations: 0 / 438.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.1555, allocations: 4 kB / 438.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1555, allocations: 7.938 kB / 438.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.156, allocations: 103.9 kB / 439 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007505/0.1567, allocations: 0.5477 MB / 439.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.1574, allocations: 162.6 kB / 439.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.1577, allocations: 76.72 kB / 439.8 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1577, allocations: 3.938 kB / 439.8 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.1581, allocations: 147.2 kB / 439.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.1581, allocations: 0 / 439.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008432/0.1589, allocations: 253.3 kB / 440.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.159, allocations: 55.34 kB / 440.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.1593, allocations: 235 kB / 440.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1593, allocations: 29.7 kB / 440.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1594, allocations: 120.3 kB / 440.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1595, allocations: 35.69 kB / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.1596, allocations: 33.7 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1598, allocations: 330.8 kB / 441 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.16, allocations: 71.89 kB / 441.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.1603, allocations: 107.5 kB / 441.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.1608, allocations: 193.8 kB / 441.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1608, allocations: 4 kB / 441.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006172/0.1614, allocations: 258.9 kB / 441.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.1615, allocations: 37.7 kB / 441.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1615, allocations: 0 / 441.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1615, allocations: 0 / 441.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1617, allocations: 48.02 kB / 441.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1617, allocations: 3.938 kB / 441.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1619, allocations: 31.81 kB / 441.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.1619, allocations: 11.94 kB / 441.7 MB, free: 11.92 MB / 382.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001272/0.162, allocations: 134.6 kB / 441.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1621, allocations: 15.81 kB / 441.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.1621, allocations: 21.39 kB / 441.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1621, allocations: 11.94 kB / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1621, allocations: 0 / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1621, allocations: 0 / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1624, allocations: 233.5 kB / 442.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1624, allocations: 0 / 442.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1625, allocations: 35.91 kB / 442.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1625, allocations: 0 / 442.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1626, allocations: 3.984 kB / 442.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1626, allocations: 3.938 kB / 442.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1626, allocations: 4 kB / 442.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.1634, allocations: 300.6 kB / 442.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.1634, allocations: 96.94 kB / 442.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.1635, allocations: 4.062 kB / 442.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1637, allocations: 23.91 kB / 442.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.1638, allocations: 15.98 kB / 442.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1638, allocations: 11.98 kB / 442.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1639, allocations: 160.6 kB / 442.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1639, allocations: 0 / 442.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1642, allocations: 47.92 kB / 442.8 MB, free: 10.72 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009537/0.1651, allocations: 420.3 kB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.1658, allocations: 211.2 kB / 443.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1658, allocations: 4 kB / 443.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.166, allocations: 92.09 kB / 443.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1664, allocations: 35.97 kB / 443.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.1671, allocations: 360.3 kB / 443.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1674, allocations: 0.7241 MB / 444.7 MB, free: 8.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.449e-05/0.1675, allocations: 25.52 kB / 444.7 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.1676, allocations: 23.44 kB / 444.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1676, allocations: 0 / 444.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of Templates: time 0.00536/0.173, allocations: 2.689 MB / 447.4 MB, free: 6.129 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)