Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, 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.002065/0.002066, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.761/1.761, allocations: 205.1 MB / 222 MB, free: 4.984 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.3399/0.3399, allocations: 39.93 MB / 309.3 MB, free: 9.559 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.001387/0.001387, allocations: 67.91 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 56.88 MB / 433.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003379/0.1488, allocations: 1.759 MB / 435.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1502, allocations: 0.7845 MB / 436.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.1503, allocations: 0 / 436.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1507, allocations: 47.81 kB / 436.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1509, allocations: 47.83 kB / 436.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1512, allocations: 83.78 kB / 436.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1514, allocations: 87.77 kB / 436.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1515, allocations: 16.14 kB / 436.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.1516, allocations: 39.78 kB / 436.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.1517, allocations: 35.84 kB / 436.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1517, allocations: 4 kB / 436.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.1518, allocations: 39.92 kB / 436.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.1519, allocations: 19.97 kB / 436.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1519, allocations: 35.69 kB / 436.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1521, allocations: 115.9 kB / 436.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1522, allocations: 0 / 436.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1522, allocations: 0 / 436.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1522, allocations: 0 / 436.9 MB, free: 1.359 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005816/0.1528, allocations: 414.9 kB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1528, allocations: 16.03 kB / 437.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.1529, allocations: 8.844 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1531, allocations: 216.6 kB / 437.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1531, allocations: 4.375 kB / 437.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1531, allocations: 8.125 kB / 437.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1533, allocations: 57.61 kB / 437.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1533, allocations: 0 / 437.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1533, allocations: 0 / 437.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1533, allocations: 0 / 437.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.399e-05/0.1534, allocations: 23.98 kB / 437.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1538, allocations: 280.9 kB / 437.9 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.154, allocations: 66.61 kB / 438 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.154, allocations: 16.86 kB / 438 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1541, allocations: 4 kB / 438 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1543, allocations: 71.38 kB / 438.1 MB, free: 32 kB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1543, allocations: 0 / 438.1 MB, free: 32 kB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005747/0.1549, allocations: 169.2 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1549, allocations: 55.41 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.1552, allocations: 195.3 kB / 438.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1552, allocations: 29.69 kB / 438.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.1553, allocations: 112.1 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1553, allocations: 27.69 kB / 438.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.1554, allocations: 17.72 kB / 438.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1555, allocations: 326.8 kB / 439 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.1555, allocations: 23.98 kB / 439 MB, free: 15.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.1556, allocations: 37.64 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1557, allocations: 65.7 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1558, allocations: 0 / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.1559, allocations: 101.4 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.156, allocations: 8 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.156, allocations: 0 / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.156, allocations: 0 / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.1561, allocations: 15.98 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1561, allocations: 4 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1561, allocations: 7.938 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1562, allocations: 8.031 kB / 439.3 MB, free: 14.78 MB / 382.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 (10): * Single equations (assignments): 10 * 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 9.81e-05/0.1563, allocations: 129.7 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1563, allocations: 11.91 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.1563, allocations: 13.59 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1564, allocations: 3.984 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1564, allocations: 3.938 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1564, allocations: 7.938 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1568, allocations: 399.4 kB / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1568, allocations: 0 / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.1569, allocations: 8 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1569, allocations: 4.375 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1569, allocations: 7.938 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1569, allocations: 7.984 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1569, allocations: 0 / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1571, allocations: 204.3 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.1572, allocations: 88.92 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1572, allocations: 7.938 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.1573, allocations: 4 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1573, allocations: 11.97 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1573, allocations: 4 kB / 440.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1575, allocations: 156.9 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1575, allocations: 3.938 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1577, allocations: 28 kB / 440.3 MB, free: 13.59 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 (8): * Single equations (assignments): 6 * 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.0009956/0.1587, allocations: 457.2 kB / 440.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1589, allocations: 59.91 kB / 440.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1589, allocations: 0 / 440.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.159, allocations: 35.92 kB / 440.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1594, allocations: 23.92 kB / 440.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.1598, allocations: 261 kB / 441.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1601, allocations: 0.7004 MB / 441.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.1602, allocations: 21.17 kB / 441.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1602, allocations: 15.44 kB / 441.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1602, allocations: 4 kB / 441.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of Templates: time 0.004414/0.1646, allocations: 1.638 MB / 443.5 MB, free: 10.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)