Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 79.62 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1501, allocations: 62.45 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00471/0.1549, allocations: 2.09 MB / 481.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1572, allocations: 1.091 MB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1574, allocations: 7.938 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.1579, allocations: 43.83 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.1582, allocations: 95.55 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1586, allocations: 99.77 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.1589, allocations: 199.5 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.159, allocations: 25.67 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1592, allocations: 87.58 kB / 483.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1593, allocations: 79.61 kB / 483.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.1593, allocations: 12 kB / 483.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1595, allocations: 55.97 kB / 483.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.1595, allocations: 35.84 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.924e-05/0.1596, allocations: 71.55 kB / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.1599, allocations: 199.6 kB / 483.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.16, allocations: 0 / 483.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.16, allocations: 0 / 483.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.16, allocations: 4 kB / 483.7 MB, free: 1.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001013/0.161, allocations: 0.5604 MB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.161, allocations: 8.031 kB / 484.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.1611, allocations: 20.75 kB / 484.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1614, allocations: 252.8 kB / 484.5 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1614, allocations: 4.375 kB / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1615, allocations: 20.12 kB / 484.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.1619, allocations: 148.1 kB / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1619, allocations: 0 / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.162, allocations: 3.938 kB / 484.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.162, allocations: 11.92 kB / 484.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.1624, allocations: 115.9 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.1631, allocations: 0.5438 MB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.1638, allocations: 162.5 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.164, allocations: 76.8 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1641, allocations: 4 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004641/0.1645, allocations: 131.2 kB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.1646, allocations: 0 / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008643/0.1654, allocations: 265.2 kB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1655, allocations: 59.34 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1657, allocations: 229.6 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1658, allocations: 25.7 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.187e-05/0.1659, allocations: 128.3 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1659, allocations: 39.59 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.166, allocations: 37.7 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1661, allocations: 326.8 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1664, allocations: 67.92 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.1666, allocations: 106.5 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.1671, allocations: 193.8 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1672, allocations: 0 / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006209/0.1678, allocations: 262.4 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.1678, allocations: 29.7 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1679, allocations: 0 / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1679, allocations: 4 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1681, allocations: 43.84 kB / 487.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1681, allocations: 7.984 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1683, allocations: 23.83 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1683, allocations: 15.98 kB / 487.5 MB, free: 13.23 MB / 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000141/0.1684, allocations: 129.9 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.1685, allocations: 19.72 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.1685, allocations: 21.39 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1686, allocations: 11.88 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1686, allocations: 0 / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1686, allocations: 0 / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1688, allocations: 241.5 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1688, allocations: 3.938 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.169, allocations: 27.97 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.169, allocations: 0 / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.169, allocations: 0 / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.169, allocations: 7.938 kB / 488 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.169, allocations: 3.938 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.1699, allocations: 301.1 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.1699, allocations: 104.8 kB / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.17, allocations: 0 / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1702, allocations: 27.84 kB / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.1702, allocations: 15.98 kB / 488.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1703, allocations: 8 kB / 488.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1704, allocations: 180.5 kB / 488.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1704, allocations: 0 / 488.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1707, allocations: 35.98 kB / 488.7 MB, free: 12.02 MB / 366.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009632/0.1717, allocations: 402.4 kB / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.1723, allocations: 231.3 kB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1723, allocations: 3.938 kB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.1726, allocations: 75.88 kB / 489.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.173, allocations: 51.27 kB / 489.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.1737, allocations: 360.2 kB / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.174, allocations: 0.7202 MB / 490.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1741, allocations: 25.53 kB / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.1742, allocations: 23.38 kB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1742, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Templates: time 0.006377/0.1805, allocations: 2.691 MB / 493.2 MB, free: 7.562 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)