Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00132/0.00132, allocations: 189 kB / 16.13 MB, free: 6.652 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.638/1.638, 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.4301/0.4301, allocations: 37.97 MB / 307.3 MB, free: 10.07 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.001587/0.001587, allocations: 68.53 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1571, allocations: 56.48 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004465/0.1616, allocations: 1.936 MB / 433 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1632, allocations: 0.8389 MB / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1634, allocations: 0 / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.1638, allocations: 39.77 kB / 433.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1641, allocations: 39.84 kB / 433.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1645, allocations: 103.8 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1647, allocations: 127.6 kB / 434.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1648, allocations: 33.73 kB / 434.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.165, allocations: 47.73 kB / 434.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1651, allocations: 55.64 kB / 434.2 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1651, allocations: 4 kB / 434.2 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1652, allocations: 43.97 kB / 434.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.1653, allocations: 23.86 kB / 434.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.1654, allocations: 47.67 kB / 434.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1657, allocations: 139.5 kB / 434.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1657, allocations: 0 / 434.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1657, allocations: 0 / 434.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1657, allocations: 0 / 434.5 MB, free: 3.562 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007915/0.1665, allocations: 476.5 kB / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1666, allocations: 16.03 kB / 435 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.1666, allocations: 16.75 kB / 435 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1669, allocations: 228.7 kB / 435.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.167, allocations: 4.375 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.167, allocations: 8.125 kB / 435.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.1673, allocations: 108.2 kB / 435.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1673, allocations: 0 / 435.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1673, allocations: 0 / 435.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1674, allocations: 11.94 kB / 435.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1675, allocations: 47.97 kB / 435.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.1682, allocations: 0.5126 MB / 435.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.1686, allocations: 86.67 kB / 436 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.1687, allocations: 36.83 kB / 436 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1687, allocations: 7.984 kB / 436 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.169, allocations: 87.31 kB / 436.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.1691, allocations: 0 / 436.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004388/0.1695, allocations: 141.4 kB / 436.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.1696, allocations: 59.34 kB / 436.3 MB, free: 1.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1697, allocations: 187.8 kB / 436.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1698, allocations: 25.7 kB / 436.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.1699, allocations: 124 kB / 436.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1699, allocations: 27.61 kB / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.17, allocations: 33.64 kB / 436.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1701, allocations: 330.8 kB / 437 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.1702, allocations: 27.98 kB / 437.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1703, allocations: 64.2 kB / 437.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1705, allocations: 96.22 kB / 437.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1705, allocations: 0 / 437.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002828/0.1708, allocations: 141.3 kB / 437.3 MB, free: 440 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1708, allocations: 4 kB / 437.4 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1708, allocations: 4 kB / 437.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1709, allocations: 4 kB / 437.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.171, allocations: 27.86 kB / 437.4 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.171, allocations: 4 kB / 437.4 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.1711, allocations: 15.92 kB / 437.4 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1711, allocations: 4 kB / 437.4 MB, free: 376 kB / 366.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.0001094/0.1712, allocations: 126 kB / 437.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1712, allocations: 15.81 kB / 437.5 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1713, allocations: 17.39 kB / 437.6 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1713, allocations: 3.938 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1713, allocations: 0 / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1713, allocations: 4 kB / 437.6 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1715, allocations: 209.6 kB / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1715, allocations: 0 / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.1716, allocations: 15.92 kB / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1716, allocations: 0 / 437.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1717, allocations: 12 kB / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1717, allocations: 3.938 kB / 437.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1717, allocations: 4.078 kB / 437.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.1721, allocations: 180.8 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1722, allocations: 96.88 kB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.1722, allocations: 0 / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.1723, allocations: 16 kB / 438.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.1724, allocations: 7.984 kB / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1724, allocations: 4 kB / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1726, allocations: 137.2 kB / 438.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1726, allocations: 0 / 438.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1728, allocations: 24 kB / 438.3 MB, free: 15.41 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.001137/0.174, allocations: 418.3 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.1743, allocations: 87.83 kB / 438.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1743, allocations: 0 / 438.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1744, allocations: 39.97 kB / 438.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1748, allocations: 31.97 kB / 438.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.1754, allocations: 301.8 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1757, allocations: 0.7123 MB / 439.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.946e-05/0.1758, allocations: 21.41 kB / 439.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.1759, allocations: 23.42 kB / 439.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1759, allocations: 0 / 439.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Templates: time 0.005272/0.1812, allocations: 1.78 MB / 441.7 MB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)