Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001326/0.001326, allocations: 189.7 kB / 16.14 MB, free: 6.738 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.572/1.572, allocations: 205.1 MB / 222 MB, free: 4.996 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.3678/0.3678, allocations: 37.98 MB / 307.3 MB, free: 9.836 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.002487/0.002488, allocations: 64.48 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1499, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00388/0.1538, allocations: 1.697 MB / 432.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1552, allocations: 0.7766 MB / 433.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.1553, allocations: 0 / 433.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.1557, allocations: 63.86 kB / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.156, allocations: 51.81 kB / 433.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1562, allocations: 75.84 kB / 433.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1565, allocations: 95.69 kB / 433.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.1565, allocations: 15.95 kB / 433.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1566, allocations: 43.72 kB / 433.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1568, allocations: 43.83 kB / 433.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1568, allocations: 8 kB / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.1569, allocations: 20 kB / 433.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.157, allocations: 19.92 kB / 433.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.1571, allocations: 27.8 kB / 434 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1573, allocations: 99.92 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.1573, allocations: 3.938 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1573, allocations: 0 / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1573, allocations: 0 / 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.0007043/0.158, allocations: 395.1 kB / 434.4 MB, free: 3.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.1581, allocations: 8.031 kB / 434.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.1582, allocations: 20.83 kB / 434.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.1585, allocations: 204.1 kB / 434.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1586, allocations: 384 / 434.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1586, allocations: 8.125 kB / 434.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1588, allocations: 45.67 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1588, allocations: 0 / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1589, allocations: 0 / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.1589, allocations: 7.938 kB / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.159, allocations: 15.98 kB / 434.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.1593, allocations: 189.5 kB / 434.9 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1595, allocations: 50.61 kB / 435 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.1595, allocations: 20.8 kB / 435 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.1596, allocations: 0 / 435 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.1599, allocations: 71.33 kB / 435.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1599, allocations: 4 kB / 435.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003626/0.1603, allocations: 93.56 kB / 435.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1604, allocations: 51.41 kB / 435.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1606, allocations: 178.2 kB / 435.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1606, allocations: 29.7 kB / 435.4 MB, free: 2.453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.1606, allocations: 100.1 kB / 435.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.1607, allocations: 11.81 kB / 435.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.1608, allocations: 33.64 kB / 435.6 MB, free: 2.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1609, allocations: 322.8 kB / 435.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.1609, allocations: 8 kB / 435.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.161, allocations: 33.64 kB / 435.9 MB, free: 1.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.1611, allocations: 41.95 kB / 436 MB, free: 1.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1611, allocations: 4 kB / 436 MB, free: 1.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001538/0.1613, allocations: 89.47 kB / 436 MB, free: 1.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1613, allocations: 4 kB / 436.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1613, allocations: 0 / 436.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1613, allocations: 4 kB / 436.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.1614, allocations: 8 kB / 436.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1614, allocations: 160 / 436.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1615, allocations: 11.98 kB / 436.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1615, allocations: 3.984 kB / 436.1 MB, free: 1.754 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 8.939e-05/0.1616, allocations: 129.8 kB / 436.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.1616, allocations: 7.906 kB / 436.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.1617, allocations: 20.3 kB / 436.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1617, allocations: 7.922 kB / 436.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1617, allocations: 0 / 436.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1617, allocations: 0 / 436.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.1619, allocations: 193.4 kB / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1619, allocations: 0 / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.1619, allocations: 7.984 kB / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1619, allocations: 0 / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1619, allocations: 3.938 kB / 436.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1619, allocations: 4 kB / 436.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1619, allocations: 0 / 436.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1621, allocations: 109 kB / 436.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.1622, allocations: 85.02 kB / 436.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1622, allocations: 0 / 436.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.1622, allocations: 4 kB / 436.6 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1623, allocations: 3.984 kB / 436.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1623, allocations: 12.12 kB / 436.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.1624, allocations: 144 kB / 436.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1624, allocations: 0 / 436.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.1626, allocations: 23.98 kB / 436.8 MB, free: 0.918 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.0008879/0.1635, allocations: 407.6 kB / 437.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1637, allocations: 39.98 kB / 437.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1637, allocations: 0 / 437.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.1638, allocations: 27.98 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.0002764/0.1641, 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.000529/0.1646, 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.0003069/0.1649, allocations: 0.7004 MB / 438.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.165, allocations: 20.66 kB / 438.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.165, allocations: 15.44 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.165, allocations: 0 / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of Templates: time 0.003929/0.169, allocations: 1.42 MB / 439.7 MB, free: 14.03 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)