Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, 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.001036/0.001036, allocations: 190.5 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.549/1.549, allocations: 205.1 MB / 222 MB, free: 4.762 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.3178/0.3178, allocations: 37.97 MB / 307.3 MB, free: 10.04 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.001602/0.001601, allocations: 71.89 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1501, allocations: 56.46 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003593/0.1538, allocations: 1.732 MB / 432.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1553, allocations: 0.7999 MB / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.1554, allocations: 4 kB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1557, allocations: 103.8 kB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.1559, allocations: 75.72 kB / 433.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1562, allocations: 83.78 kB / 433.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1563, allocations: 115.7 kB / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.1564, allocations: 12.2 kB / 433.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.271e-05/0.1565, allocations: 51.78 kB / 434 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1566, allocations: 63.8 kB / 434.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1567, allocations: 4 kB / 434.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1568, allocations: 39.98 kB / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.1569, allocations: 31.84 kB / 434.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1569, allocations: 43.66 kB / 434.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1571, allocations: 135.8 kB / 434.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1571, allocations: 0 / 434.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1572, allocations: 0 / 434.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1572, allocations: 0 / 434.3 MB, free: 3.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005541/0.1577, allocations: 438.8 kB / 434.7 MB, free: 3.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1578, allocations: 12.03 kB / 434.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.1578, allocations: 12.75 kB / 434.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1581, allocations: 231.7 kB / 435 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1581, allocations: 4.312 kB / 435 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1582, allocations: 12.12 kB / 435 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1583, allocations: 57.67 kB / 435.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1584, allocations: 4 kB / 435.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1584, allocations: 0 / 435.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1584, allocations: 0 / 435.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1585, allocations: 27.97 kB / 435.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1589, allocations: 304.8 kB / 435.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1592, allocations: 74.61 kB / 435.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.1592, allocations: 28.84 kB / 435.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1593, allocations: 0 / 435.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1595, allocations: 67.39 kB / 435.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1595, allocations: 0 / 435.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006358/0.1602, allocations: 216.9 kB / 435.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1602, allocations: 63.27 kB / 435.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.1604, allocations: 242.6 kB / 436.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1605, allocations: 29.7 kB / 436.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.1605, allocations: 112.1 kB / 436.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1606, allocations: 31.7 kB / 436.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1606, allocations: 21.72 kB / 436.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1608, allocations: 338.8 kB / 436.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.1608, allocations: 20 kB / 436.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.1609, allocations: 45.7 kB / 436.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1611, allocations: 69.64 kB / 436.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1611, allocations: 0 / 436.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002147/0.1613, allocations: 117.4 kB / 436.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1613, allocations: 12.03 kB / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1613, allocations: 0 / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1613, allocations: 0 / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.1614, allocations: 19.98 kB / 436.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1615, allocations: 0 / 436.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1615, allocations: 7.938 kB / 436.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1615, allocations: 4 kB / 436.9 MB, free: 0.9453 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 (11): * Single equations (assignments): 11 * 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.0001143/0.1617, allocations: 137.8 kB / 437 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1617, allocations: 15.81 kB / 437 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.1617, allocations: 29.58 kB / 437 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1618, allocations: 0 / 437 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1618, allocations: 3.938 kB / 437.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1618, allocations: 3.938 kB / 437.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1622, allocations: 419.3 kB / 437.5 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1623, allocations: 4 kB / 437.5 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.1623, allocations: 8 kB / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1623, allocations: 0 / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1624, allocations: 15.91 kB / 437.5 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1624, allocations: 0 / 437.5 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1624, allocations: 0 / 437.5 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1626, allocations: 216.1 kB / 437.7 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1628, allocations: 92.91 kB / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.1628, allocations: 11.94 kB / 437.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1629, allocations: 0 / 437.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1629, allocations: 11.98 kB / 437.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1629, allocations: 8 kB / 437.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1631, allocations: 184.2 kB / 438 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1631, allocations: 0 / 438 MB, free: 15.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1634, allocations: 27.98 kB / 438 MB, free: 15.68 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 (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.0009658/0.1643, allocations: 467.7 kB / 438.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1646, allocations: 71.84 kB / 438.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1646, allocations: 0 / 438.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.1646, allocations: 35.92 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.165, allocations: 27.98 kB / 438.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.1655, allocations: 317.5 kB / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1658, allocations: 0.716 MB / 439.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.095e-05/0.1659, allocations: 16.64 kB / 439.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.1659, allocations: 23.42 kB / 439.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1659, allocations: 0 / 439.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Templates: time 0.004925/0.1709, allocations: 1.756 MB / 441.4 MB, free: 12.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)