Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, 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.001594/0.001594, allocations: 191.9 kB / 16.13 MB, free: 6.699 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.616/1.616, allocations: 205.1 MB / 222 MB, free: 4.797 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.3573/0.3573, allocations: 37.99 MB / 307.3 MB, free: 10 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.001389/0.001389, allocations: 66.62 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1491, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004074/0.1532, allocations: 1.755 MB / 432.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1547, allocations: 0.7961 MB / 433.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.1548, allocations: 0 / 433.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.1553, allocations: 107.7 kB / 433.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1555, allocations: 71.78 kB / 433.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1558, allocations: 79.84 kB / 433.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.156, allocations: 119.7 kB / 433.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1561, allocations: 11.98 kB / 434 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1562, allocations: 63.75 kB / 434 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1564, allocations: 55.83 kB / 434.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1564, allocations: 4 kB / 434.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.1565, allocations: 43.97 kB / 434.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.1566, allocations: 35.78 kB / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.1567, allocations: 47.67 kB / 434.2 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1569, allocations: 139.8 kB / 434.3 MB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1569, allocations: 3.938 kB / 434.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1569, allocations: 0 / 434.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1569, allocations: 0 / 434.3 MB, free: 3.723 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006169/0.1575, allocations: 446.8 kB / 434.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1576, allocations: 12.02 kB / 434.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.1576, allocations: 12.75 kB / 434.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1579, allocations: 231.6 kB / 435 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.158, allocations: 4.375 kB / 435 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.158, allocations: 12.12 kB / 435 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1582, allocations: 61.66 kB / 435.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1582, allocations: 0 / 435.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1582, allocations: 4 kB / 435.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1582, allocations: 4 kB / 435.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.1583, allocations: 35.91 kB / 435.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.1588, allocations: 312.7 kB / 435.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.1591, allocations: 82.75 kB / 435.5 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.1591, allocations: 28.86 kB / 435.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1592, allocations: 0 / 435.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.1595, allocations: 71.38 kB / 435.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1595, allocations: 0 / 435.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007047/0.1602, allocations: 233 kB / 435.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1602, allocations: 55.34 kB / 435.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.1605, allocations: 250.5 kB / 436.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1606, allocations: 25.7 kB / 436.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.1606, allocations: 120 kB / 436.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.1607, allocations: 35.55 kB / 436.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1607, allocations: 25.7 kB / 436.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1609, allocations: 330.8 kB / 436.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.1609, allocations: 27.98 kB / 436.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.161, allocations: 57.64 kB / 436.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1612, allocations: 77.7 kB / 436.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1612, allocations: 0 / 436.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002242/0.1614, allocations: 137.4 kB / 437 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1615, allocations: 8 kB / 437 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1615, allocations: 0 / 437 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1615, allocations: 0 / 437 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1616, allocations: 27.95 kB / 437 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1616, allocations: 7.938 kB / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.1617, allocations: 0 / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1617, allocations: 8 kB / 437 MB, free: 0.7891 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001058/0.1618, allocations: 137.8 kB / 437.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1618, allocations: 15.81 kB / 437.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.1619, allocations: 21.39 kB / 437.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1619, allocations: 0 / 437.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1619, allocations: 3.938 kB / 437.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1619, allocations: 4 kB / 437.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.1624, allocations: 447.3 kB / 437.6 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1624, allocations: 0 / 437.6 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.1625, allocations: 27.86 kB / 437.7 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1625, allocations: 0 / 437.7 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1625, allocations: 8 kB / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1625, allocations: 0 / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1625, allocations: 32 / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1628, allocations: 232.3 kB / 437.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.1629, allocations: 92.86 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1629, allocations: 7.984 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.163, allocations: 4 kB / 438 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.163, allocations: 11.92 kB / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1631, allocations: 8 kB / 438 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1632, allocations: 188.2 kB / 438.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1632, allocations: 0 / 438.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1635, allocations: 31.98 kB / 438.2 MB, free: 15.47 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 (11): * Single equations (assignments): 9 * 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.001031/0.1645, allocations: 478.1 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1648, allocations: 83.84 kB / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1648, allocations: 0 / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.1649, allocations: 43.92 kB / 438.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1652, allocations: 31.91 kB / 438.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.1658, allocations: 325.7 kB / 439.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1661, allocations: 0.7204 MB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.037e-05/0.1662, allocations: 25.06 kB / 439.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1662, allocations: 15.44 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1662, allocations: 0 / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004588/0.1708, allocations: 1.841 MB / 441.8 MB, free: 11.9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)