Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, 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.001797/0.001797, allocations: 190.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.616/1.616, allocations: 205.1 MB / 222 MB, free: 4.73 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.3655/0.3655, allocations: 37.98 MB / 307.3 MB, free: 10.02 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.001357/0.001357, allocations: 60.92 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1451, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003422/0.1486, allocations: 1.817 MB / 432.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1501, allocations: 0.8818 MB / 433.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1502, allocations: 3.938 kB / 433.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.1508, allocations: 299.4 kB / 434 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.1513, allocations: 203.5 kB / 434.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.1517, allocations: 131.8 kB / 434.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.152, allocations: 227.4 kB / 434.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.396e-05/0.1521, allocations: 13.55 kB / 434.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1523, allocations: 123.5 kB / 434.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1525, allocations: 187.5 kB / 434.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1525, allocations: 4 kB / 434.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1527, allocations: 39.98 kB / 434.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.1528, allocations: 131.6 kB / 435.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.153, allocations: 142.8 kB / 435.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.1534, allocations: 355 kB / 435.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.1535, allocations: 15.92 kB / 435.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1535, allocations: 0 / 435.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1535, allocations: 0 / 435.6 MB, free: 2.492 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001/0.1545, allocations: 0.7153 MB / 436.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1545, allocations: 12.03 kB / 436.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.1546, allocations: 52.27 kB / 436.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.1552, allocations: 443.9 kB / 436.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1552, allocations: 4.375 kB / 436.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1553, allocations: 12.12 kB / 436.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1555, allocations: 91.23 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1555, allocations: 0 / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1555, allocations: 0 / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1555, allocations: 0 / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1557, allocations: 31.97 kB / 436.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.1561, allocations: 382.4 kB / 437.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1563, allocations: 105.2 kB / 437.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.1565, allocations: 45.64 kB / 437.4 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1565, allocations: 4 kB / 437.4 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.1568, allocations: 116.8 kB / 437.6 MB, free: 312 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1568, allocations: 0 / 437.6 MB, free: 312 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005091/0.1574, allocations: 193 kB / 437.7 MB, free: 112 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.1574, allocations: 77.11 kB / 437.8 MB, free: 16 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.1585, allocations: 1.042 MB / 438.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1586, allocations: 25.7 kB / 438.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1588, allocations: 236.1 kB / 439.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.1588, allocations: 31.55 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.1589, allocations: 25.72 kB / 439.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.1591, allocations: 366.8 kB / 439.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.1592, allocations: 27.98 kB / 439.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.1593, allocations: 63.34 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1595, allocations: 83.42 kB / 439.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1595, allocations: 3.938 kB / 439.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002908/0.1598, allocations: 173.6 kB / 439.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1598, allocations: 4 kB / 439.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1598, allocations: 0 / 439.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1599, allocations: 4 kB / 439.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.16, allocations: 19.98 kB / 439.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.16, allocations: 3.938 kB / 439.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.1601, allocations: 23.84 kB / 439.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1601, allocations: 4 kB / 439.9 MB, free: 13.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.000235/0.1604, allocations: 225.6 kB / 440.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.1605, allocations: 55.38 kB / 440.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-05/0.1606, allocations: 60 kB / 440.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1606, allocations: 0 / 440.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1606, allocations: 0 / 440.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1606, allocations: 7.922 kB / 440.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.1609, allocations: 341.4 kB / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.161, allocations: 0 / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.161, allocations: 11.98 kB / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.161, allocations: 0 / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.161, allocations: 4 kB / 440.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.161, allocations: 7.938 kB / 440.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.161, allocations: 3.984 kB / 440.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1614, allocations: 205.2 kB / 440.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.1615, allocations: 132.6 kB / 441 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.1616, allocations: 11.92 kB / 441 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1617, allocations: 4 kB / 441 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.1618, allocations: 15.98 kB / 441 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1618, allocations: 4 kB / 441 MB, free: 12.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007826/0.1626, allocations: 0.7721 MB / 441.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1626, allocations: 0 / 441.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1629, allocations: 44 kB / 441.8 MB, free: 11.85 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001038/0.1639, allocations: 414.4 kB / 442.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1642, allocations: 87.89 kB / 442.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1642, allocations: 0 / 442.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1643, allocations: 47.86 kB / 442.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1648, allocations: 66.06 kB / 442.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.166, allocations: 0.9543 MB / 443.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1664, allocations: 0.8391 MB / 444.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1665, allocations: 59.44 kB / 444.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.1666, allocations: 27.44 kB / 444.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1666, allocations: 0 / 444.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of Templates: time 0.007732/0.1743, allocations: 3.575 MB / 447.9 MB, free: 5.762 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)