Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, 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.001275/0.001275, allocations: 194.1 kB / 16.14 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.651/1.651, allocations: 205.1 MB / 222 MB, free: 4.727 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.3432/0.3432, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.001517/0.001517, allocations: 71.89 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1427, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00409/0.1468, allocations: 1.728 MB / 432.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1484, allocations: 0.8077 MB / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.1485, allocations: 0 / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1489, allocations: 43.88 kB / 433.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1491, allocations: 47.77 kB / 433.6 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1494, allocations: 75.86 kB / 433.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1496, allocations: 87.69 kB / 433.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1497, allocations: 20.2 kB / 433.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.1498, allocations: 39.8 kB / 433.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.1499, allocations: 31.84 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1499, allocations: 4 kB / 433.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1501, allocations: 35.98 kB / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.1501, allocations: 19.92 kB / 434 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.1502, allocations: 35.67 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1505, allocations: 115.9 kB / 434.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1505, allocations: 4 kB / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1505, allocations: 0 / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1505, allocations: 0 / 434.1 MB, free: 3.961 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.0007286/0.1512, allocations: 411 kB / 434.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.1513, allocations: 12.03 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.1514, allocations: 8.844 kB / 434.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1517, allocations: 216.7 kB / 434.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1518, allocations: 384 / 434.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1518, allocations: 12.06 kB / 434.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.152, allocations: 53.67 kB / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.152, allocations: 0 / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1521, allocations: 4 kB / 434.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1521, allocations: 0 / 434.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.1522, allocations: 19.98 kB / 434.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.1527, allocations: 292.8 kB / 435.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.153, allocations: 58.61 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.153, allocations: 20.86 kB / 435.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1531, allocations: 4 kB / 435.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.1533, allocations: 67.38 kB / 435.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1534, allocations: 0 / 435.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006416/0.154, allocations: 177.1 kB / 435.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1541, allocations: 55.41 kB / 435.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1543, allocations: 195.3 kB / 435.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.1543, allocations: 29.7 kB / 435.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.1544, allocations: 100.1 kB / 435.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1545, allocations: 27.64 kB / 435.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.1545, allocations: 21.72 kB / 435.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1547, allocations: 330.8 kB / 436.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.1548, allocations: 23.92 kB / 436.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/0.1548, allocations: 37.7 kB / 436.2 MB, free: 1.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.155, allocations: 61.7 kB / 436.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.155, allocations: 0 / 436.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001998/0.1552, allocations: 105.6 kB / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1552, allocations: 4 kB / 436.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1552, allocations: 4 kB / 436.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1552, allocations: 0 / 436.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1553, allocations: 15.98 kB / 436.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1554, allocations: 4.031 kB / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1554, allocations: 11.84 kB / 436.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1554, allocations: 4 kB / 436.4 MB, free: 1.387 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 (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.0001373/0.1556, allocations: 133.7 kB / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1556, allocations: 15.84 kB / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.1557, allocations: 13.41 kB / 436.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1557, allocations: 0 / 436.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1557, allocations: 0 / 436.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1557, allocations: 7.922 kB / 436.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.1562, allocations: 395.3 kB / 437 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1562, allocations: 0 / 437 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.1562, allocations: 8.375 kB / 437 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1562, allocations: 4 kB / 437 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1563, allocations: 3.938 kB / 437 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.1563, allocations: 4 kB / 437 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1563, allocations: 3.984 kB / 437 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1566, allocations: 212.2 kB / 437.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1566, allocations: 85.02 kB / 437.3 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1567, allocations: 7.938 kB / 437.3 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1567, allocations: 8 kB / 437.3 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.1568, allocations: 7.984 kB / 437.3 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1568, allocations: 4 kB / 437.3 MB, free: 392 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.157, allocations: 160.9 kB / 437.5 MB, free: 232 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.157, allocations: 0 / 437.5 MB, free: 232 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1573, allocations: 20.19 kB / 437.5 MB, free: 212 kB / 366.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.001165/0.1584, allocations: 469.2 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1586, allocations: 59.92 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1586, allocations: 0 / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.1587, allocations: 27.92 kB / 438.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1591, allocations: 28.3 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.1595, allocations: 253 kB / 438.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1598, allocations: 0.7082 MB / 439 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.1599, allocations: 16.88 kB / 439.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1599, allocations: 15.44 kB / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1599, allocations: 0 / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Templates: time 0.004675/0.1646, allocations: 1.655 MB / 440.7 MB, free: 12.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)