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.001621/0.001621, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.4 MB / 246.9 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2696/0.2696, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.0019, allocations: 75.77 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004912/0.1501, allocations: 2.09 MB / 482 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.1525, allocations: 1.102 MB / 483.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.1527, allocations: 7.938 kB / 483.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1531, allocations: 43.77 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.1536, allocations: 87.61 kB / 483.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.154, allocations: 95.77 kB / 483.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.1544, allocations: 191.5 kB / 483.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1545, allocations: 25.67 kB / 483.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1547, allocations: 79.58 kB / 483.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1549, allocations: 79.59 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.1549, allocations: 8 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.1552, allocations: 43.98 kB / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.1552, allocations: 39.77 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1554, allocations: 63.61 kB / 483.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1557, allocations: 143.9 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1557, allocations: 4 kB / 484 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1557, allocations: 4 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1557, allocations: 0 / 484 MB, free: 1.578 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.001143/0.1569, allocations: 0.5526 MB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1569, allocations: 8.031 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.157, allocations: 20.75 kB / 484.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.1574, allocations: 252.8 kB / 484.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1575, allocations: 12.38 kB / 484.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.1575, allocations: 12.12 kB / 484.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.158, allocations: 148.1 kB / 485 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.158, allocations: 0 / 485 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.158, allocations: 7.984 kB / 485 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1581, allocations: 4 kB / 485 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.1585, allocations: 111.9 kB / 485.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.1594, allocations: 0.5516 MB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.1601, allocations: 158.5 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.1604, allocations: 72.8 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1605, allocations: 11.94 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004973/0.161, allocations: 135.2 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.635e-06/0.161, allocations: 0 / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009606/0.162, allocations: 253.3 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.162, allocations: 59.34 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.1623, allocations: 233.5 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.1624, allocations: 33.7 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1625, allocations: 124.3 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.1625, allocations: 43.59 kB / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.1626, allocations: 37.64 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1628, allocations: 334.8 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.1631, allocations: 63.94 kB / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.1634, allocations: 106.6 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.1639, allocations: 197.5 kB / 487.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1639, allocations: 0 / 487.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000708/0.1646, allocations: 259 kB / 487.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.1647, allocations: 33.69 kB / 487.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1647, allocations: 0 / 487.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1647, allocations: 4 kB / 487.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.1649, allocations: 39.84 kB / 487.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.165, allocations: 4 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1652, allocations: 31.81 kB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.1652, allocations: 8.062 kB / 487.9 MB, free: 13.4 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.0001596/0.1654, allocations: 137.8 kB / 488 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1654, allocations: 19.72 kB / 488.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.1655, allocations: 21.34 kB / 488.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1655, allocations: 7.938 kB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1656, allocations: 3.984 kB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1656, allocations: 4 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.1658, allocations: 225.6 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1659, allocations: 3.984 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.166, allocations: 23.98 kB / 488.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1661, allocations: 0 / 488.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1661, allocations: 7.984 kB / 488.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1661, allocations: 3.938 kB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1661, allocations: 4 kB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.1671, allocations: 301.1 kB / 488.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.1671, allocations: 96.8 kB / 488.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.1672, allocations: 7.938 kB / 488.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1674, allocations: 23.91 kB / 488.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.1675, allocations: 19.97 kB / 488.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.1675, allocations: 8.062 kB / 488.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.1677, allocations: 172.5 kB / 489 MB, free: 12.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1677, allocations: 0 / 489 MB, free: 12.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000304/0.168, allocations: 32 kB / 489 MB, free: 12.21 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.001235/0.1693, allocations: 419.2 kB / 489.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.17, allocations: 219.3 kB / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.17, allocations: 0 / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.1703, allocations: 75.88 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1707, allocations: 40.64 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009751/0.1717, allocations: 395.8 kB / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.1721, allocations: 0.7205 MB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.1722, allocations: 23.42 kB / 490.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1722, allocations: 0 / 490.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Templates: time 0.006416/0.1786, allocations: 2.827 MB / 493.7 MB, free: 7.586 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)