Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, 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.001483/0.001483, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.669/1.669, allocations: 205.1 MB / 222.1 MB, free: 4.934 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.4583/0.4583, allocations: 39.93 MB / 309.4 MB, free: 9.527 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.001438/0.001437, allocations: 67.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.152, allocations: 56.89 MB / 434 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003666/0.1557, allocations: 1.744 MB / 435.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1571, allocations: 0.7962 MB / 436.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.1572, allocations: 3.938 kB / 436.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1576, allocations: 35.89 kB / 436.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1579, allocations: 43.83 kB / 436.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1581, allocations: 79.84 kB / 436.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1583, allocations: 91.7 kB / 436.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1584, allocations: 20.2 kB / 436.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.1585, allocations: 43.78 kB / 436.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.1586, allocations: 31.8 kB / 436.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1586, allocations: 4 kB / 436.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1587, allocations: 43.97 kB / 436.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.1588, allocations: 19.92 kB / 437 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.1589, allocations: 35.73 kB / 437 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1591, allocations: 107.9 kB / 437.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1591, allocations: 8 kB / 437.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1591, allocations: 0 / 437.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1591, allocations: 0 / 437.1 MB, free: 1.188 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.0005796/0.1597, allocations: 414.9 kB / 437.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1597, allocations: 11.89 kB / 437.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1598, allocations: 8.844 kB / 437.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.16, allocations: 212.1 kB / 437.7 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.16, allocations: 384 / 437.7 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1601, allocations: 8.125 kB / 437.7 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1603, allocations: 61.67 kB / 437.8 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1603, allocations: 0 / 437.8 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1603, allocations: 3.938 kB / 437.8 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1603, allocations: 4 kB / 437.8 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.1604, allocations: 19.92 kB / 437.8 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.1608, allocations: 288.8 kB / 438.1 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.161, allocations: 62.72 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.161, allocations: 24.84 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1611, allocations: 0 / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.1612, allocations: 71.23 kB / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1612, allocations: 0 / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005279/0.1618, allocations: 169.3 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1618, allocations: 55.41 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.162, allocations: 182.2 kB / 438.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.162, allocations: 25.7 kB / 438.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.1621, allocations: 112.1 kB / 438.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.1622, allocations: 27.69 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1622, allocations: 17.72 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1623, allocations: 326.8 kB / 439.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.1624, allocations: 27.98 kB / 439.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.1625, allocations: 33.7 kB / 439.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1626, allocations: 57.66 kB / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1626, allocations: 0 / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001655/0.1628, allocations: 97.58 kB / 439.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1628, allocations: 4 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1628, allocations: 8.031 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1628, allocations: 3.938 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.1629, allocations: 15.98 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1629, allocations: 0 / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.163, allocations: 7.938 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.163, allocations: 8 kB / 439.4 MB, free: 14.62 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.0001029/0.1631, allocations: 121.8 kB / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1631, allocations: 7.906 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1632, allocations: 12.72 kB / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1632, allocations: 8 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1632, allocations: 4 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1632, allocations: 3.938 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1636, allocations: 395.2 kB / 440 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1636, allocations: 4.188 kB / 440 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.1637, allocations: 11.94 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1637, allocations: 3.938 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1637, allocations: 7.875 kB / 440 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1637, allocations: 4.031 kB / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1637, allocations: 4 kB / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.164, allocations: 196.5 kB / 440.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.164, allocations: 85 kB / 440.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1641, allocations: 11.94 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.1641, allocations: 0 / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1642, allocations: 11.98 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1642, allocations: 4 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1643, allocations: 140.1 kB / 440.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1643, allocations: 0 / 440.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1646, allocations: 27.92 kB / 440.5 MB, free: 13.48 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.001046/0.1656, allocations: 478.6 kB / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1658, allocations: 71.89 kB / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1658, allocations: 0 / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.1659, allocations: 23.94 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1663, allocations: 31.97 kB / 441.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.1667, allocations: 243.2 kB / 441.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.167, allocations: 0.7041 MB / 442 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.122e-05/0.1671, allocations: 21.17 kB / 442 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1671, allocations: 11.44 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1671, allocations: 7.938 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of Templates: time 0.004311/0.1715, allocations: 1.685 MB / 443.7 MB, free: 10.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)