Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") 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: 115.3 kB / 15.34 MB, free: 0.5156 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.001764/0.001764, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.83/1.83, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3886/0.3886, allocations: 39.94 MB / 309.4 MB, free: 9.379 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.001525/0.001525, allocations: 71.89 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1451, allocations: 56.88 MB / 434 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004534/0.1496, allocations: 1.956 MB / 436 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1515, allocations: 0.8311 MB / 436.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.1518, allocations: 3.938 kB / 436.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.1523, allocations: 35.83 kB / 436.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.1527, allocations: 51.77 kB / 436.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1532, allocations: 95.77 kB / 437 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.1536, allocations: 131.6 kB / 437.1 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1537, allocations: 33.75 kB / 437.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1539, allocations: 59.7 kB / 437.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.154, allocations: 51.66 kB / 437.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1541, allocations: 8 kB / 437.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1542, allocations: 43.98 kB / 437.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.1543, allocations: 31.91 kB / 437.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.1544, allocations: 51.67 kB / 437.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.1548, allocations: 143.5 kB / 437.5 MB, free: 492 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1548, allocations: 4 kB / 437.5 MB, free: 488 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1548, allocations: 0 / 437.5 MB, free: 488 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1548, allocations: 0 / 437.5 MB, free: 488 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008207/0.1557, allocations: 484.4 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1557, allocations: 11.89 kB / 438 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.1558, allocations: 16.75 kB / 438 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1562, allocations: 220.8 kB / 438.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1562, allocations: 8.375 kB / 438.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.1562, allocations: 20.09 kB / 438.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.1565, allocations: 108 kB / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1565, allocations: 7.938 kB / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1566, allocations: 3.984 kB / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1566, allocations: 0 / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1567, allocations: 51.91 kB / 438.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.1575, allocations: 0.5086 MB / 438.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.1578, allocations: 98.53 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.1579, allocations: 36.84 kB / 439.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1579, allocations: 0 / 439.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.1581, allocations: 83.31 kB / 439.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.1581, allocations: 4 kB / 439.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003497/0.1585, allocations: 141.5 kB / 439.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1585, allocations: 55.34 kB / 439.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1587, allocations: 191.5 kB / 439.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1587, allocations: 25.7 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.1588, allocations: 119.9 kB / 439.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1589, allocations: 19.72 kB / 439.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1589, allocations: 29.7 kB / 439.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.159, allocations: 330.8 kB / 440 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.1591, allocations: 27.98 kB / 440.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.1592, allocations: 64.27 kB / 440.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1594, allocations: 104.6 kB / 440.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1594, allocations: 0 / 440.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000258/0.1597, allocations: 141.2 kB / 440.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1597, allocations: 4 kB / 440.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1597, allocations: 4 kB / 440.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1598, allocations: 4.125 kB / 440.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.1598, allocations: 27.92 kB / 440.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1599, allocations: 0 / 440.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.1599, allocations: 15.84 kB / 440.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.16, allocations: 12 kB / 440.4 MB, free: 13.27 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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001232/0.1601, allocations: 129.8 kB / 440.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1601, allocations: 11.81 kB / 440.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.1602, allocations: 13.41 kB / 440.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1602, allocations: 11.94 kB / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1602, allocations: 0 / 440.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1602, allocations: 3.984 kB / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1604, allocations: 209.6 kB / 440.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1604, allocations: 0 / 440.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.1605, allocations: 8 kB / 440.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1605, allocations: 4 kB / 440.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1605, allocations: 4 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1605, allocations: 7.875 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1605, allocations: 0 / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1608, allocations: 184.8 kB / 441 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.1609, allocations: 88.98 kB / 441.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1609, allocations: 0 / 441.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.161, allocations: 15.92 kB / 441.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.161, allocations: 4 kB / 441.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1611, allocations: 12.11 kB / 441.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1612, allocations: 141.3 kB / 441.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1612, allocations: 3.938 kB / 441.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1614, allocations: 27.98 kB / 441.3 MB, free: 12.31 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: 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 (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.000885/0.1623, allocations: 406.8 kB / 441.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1626, allocations: 87.83 kB / 441.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1626, allocations: 192 / 441.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.1627, allocations: 44.17 kB / 441.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.163, allocations: 35.83 kB / 441.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.1636, allocations: 304 kB / 442.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1639, allocations: 0.7084 MB / 442.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.907e-05/0.164, allocations: 29.34 kB / 442.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.164, allocations: 15.44 kB / 442.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1641, allocations: 0 / 442.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Templates: time 0.004687/0.1687, allocations: 1.834 MB / 444.8 MB, free: 8.844 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)