Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001878/0.001878, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.851/1.851, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.443/0.443, allocations: 39.92 MB / 309.4 MB, free: 9.637 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.001405/0.001405, allocations: 63.91 kB / 377.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1497, allocations: 56.89 MB / 434 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003685/0.1535, allocations: 1.736 MB / 435.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1548, allocations: 0.7962 MB / 436.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.155, allocations: 3.938 kB / 436.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.1554, allocations: 35.89 kB / 436.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.1557, allocations: 51.83 kB / 436.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.156, allocations: 79.78 kB / 436.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1562, allocations: 99.69 kB / 436.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1564, allocations: 12.22 kB / 436.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1565, allocations: 43.78 kB / 436.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1566, allocations: 31.8 kB / 436.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1566, allocations: 4 kB / 436.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1567, allocations: 39.97 kB / 436.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.1568, allocations: 19.92 kB / 436.9 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.1569, allocations: 43.73 kB / 437 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1571, allocations: 119.9 kB / 437.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1572, allocations: 0 / 437.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1572, allocations: 0 / 437.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1572, allocations: 0 / 437.1 MB, free: 1.148 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.0006986/0.1579, allocations: 414.8 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1579, allocations: 15.89 kB / 437.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.158, allocations: 8.844 kB / 437.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1583, allocations: 216.7 kB / 437.7 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1583, allocations: 8.375 kB / 437.8 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.1584, allocations: 8.125 kB / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1585, allocations: 53.67 kB / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1586, allocations: 0 / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1586, allocations: 0 / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1586, allocations: 0 / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.1587, allocations: 27.92 kB / 437.8 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1592, allocations: 284.9 kB / 438.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1594, allocations: 54.67 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.1595, allocations: 20.86 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1596, allocations: 3.938 kB / 438.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.1598, allocations: 67.33 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1598, allocations: 4 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007224/0.1605, allocations: 177.1 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.1606, allocations: 55.41 kB / 438.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1608, allocations: 191.3 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1609, allocations: 29.7 kB / 438.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.161, allocations: 104.1 kB / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.161, allocations: 27.69 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.1611, allocations: 21.72 kB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1613, allocations: 330.8 kB / 439.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.1614, allocations: 19.98 kB / 439.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.1614, allocations: 37.7 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1616, allocations: 61.72 kB / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1616, allocations: 0 / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.1618, allocations: 109.5 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1618, allocations: 11.94 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1618, allocations: 0 / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1618, allocations: 3.938 kB / 439.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.1619, allocations: 15.98 kB / 439.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.162, allocations: 4 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.162, allocations: 3.938 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.162, allocations: 4.375 kB / 439.5 MB, free: 14.57 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 0.0001836/0.1622, allocations: 133.6 kB / 439.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1622, allocations: 15.94 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1623, allocations: 13.41 kB / 439.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1623, allocations: 0 / 439.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.1623, allocations: 4 kB / 439.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.1623, allocations: 11.92 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.1628, allocations: 391.2 kB / 440 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1628, allocations: 4 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1629, allocations: 7.969 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1629, allocations: 8 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1629, allocations: 3.938 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1629, allocations: 0 / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1629, allocations: 4 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1632, allocations: 204.5 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1632, allocations: 84.92 kB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.1633, allocations: 15.88 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1633, allocations: 4 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1634, allocations: 7.984 kB / 440.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1634, allocations: 4 kB / 440.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1636, allocations: 160.8 kB / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1636, allocations: 0 / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1638, allocations: 24 kB / 440.5 MB, free: 13.38 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.001073/0.1649, allocations: 461.8 kB / 441 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1651, allocations: 63.89 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1651, allocations: 0 / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.1652, allocations: 31.98 kB / 441.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1656, allocations: 35.17 kB / 441.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.1661, allocations: 259.1 kB / 441.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1664, allocations: 0.708 MB / 442.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.1665, allocations: 12.88 kB / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1665, allocations: 15.44 kB / 442.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1665, allocations: 0 / 442.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Templates: time 0.004605/0.1712, allocations: 1.678 MB / 443.8 MB, free: 10.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)