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.0007396/0.0007396, allocations: 94.14 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009365/0.0009365, allocations: 205.2 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 46.19 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002842, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002467/0.1218, allocations: 1.732 MB / 485.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1236, allocations: 1.091 MB / 486.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1238, allocations: 0 / 486.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1241, allocations: 39.78 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1244, allocations: 95.53 kB / 486.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1247, allocations: 91.84 kB / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.125, allocations: 195.4 kB / 487 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1251, allocations: 21.69 kB / 487 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1253, allocations: 71.64 kB / 487.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1254, allocations: 71.61 kB / 487.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1255, allocations: 15.94 kB / 487.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1256, allocations: 43.98 kB / 487.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.1257, allocations: 31.89 kB / 487.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.681e-05/0.1258, allocations: 89.23 kB / 487.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.126, allocations: 143.9 kB / 487.5 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.126, allocations: 0 / 487.5 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.126, allocations: 0 / 487.5 MB, free: 428 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.126, allocations: 0 / 487.5 MB, free: 428 kB / 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.0009037/0.1269, allocations: 0.5566 MB / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1269, allocations: 8.031 kB / 488 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.127, allocations: 24.75 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1273, allocations: 244.8 kB / 488.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1273, allocations: 16.36 kB / 488.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.1274, allocations: 12.12 kB / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.1278, allocations: 164.1 kB / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1278, allocations: 0 / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1278, allocations: 4 kB / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1279, allocations: 4 kB / 488.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.1284, allocations: 134.6 kB / 488.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.129, allocations: 0.5476 MB / 489.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.1297, allocations: 190.5 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.13, allocations: 84.8 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.13, allocations: 3.984 kB / 489.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.1305, allocations: 155.2 kB / 489.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 3.777e-06/0.1305, allocations: 0 / 489.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000946/0.1314, allocations: 293.2 kB / 489.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1315, allocations: 55.34 kB / 489.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1317, allocations: 229.6 kB / 490.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1318, allocations: 37.64 kB / 490.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.1319, allocations: 124.2 kB / 490.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.1319, allocations: 39.67 kB / 490.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.132, allocations: 21.72 kB / 490.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1321, allocations: 334.8 kB / 490.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.1324, allocations: 79.94 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.1327, allocations: 116.2 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.1332, allocations: 225.3 kB / 491.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1333, allocations: 0 / 491.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006974/0.134, allocations: 274.9 kB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.134, allocations: 37.69 kB / 491.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.134, allocations: 0 / 491.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.134, allocations: 4 kB / 491.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.1342, allocations: 51.97 kB / 491.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1343, allocations: 4 kB / 491.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.1344, allocations: 31.91 kB / 491.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1345, allocations: 8 kB / 491.5 MB, free: 12.05 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.0001286/0.1346, allocations: 137.8 kB / 491.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.1346, allocations: 19.72 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.1347, allocations: 25.39 kB / 491.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1347, allocations: 7.875 kB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1347, allocations: 0 / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1347, allocations: 4 kB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1349, allocations: 229.6 kB / 491.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.135, allocations: 0 / 491.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1351, allocations: 31.98 kB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1351, allocations: 3.984 kB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1352, allocations: 0 / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.1352, allocations: 7.938 kB / 492 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1352, allocations: 0 / 492 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.1362, allocations: 348.5 kB / 492.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.1362, allocations: 96.89 kB / 492.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.1363, allocations: 11.98 kB / 492.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1365, allocations: 35.97 kB / 492.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.1365, allocations: 11.98 kB / 492.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1366, allocations: 7.984 kB / 492.5 MB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1367, allocations: 168.5 kB / 492.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1367, allocations: 0 / 492.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.137, allocations: 35.98 kB / 492.7 MB, free: 10.8 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.0009284/0.1379, allocations: 406.5 kB / 493.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006583/0.1386, allocations: 243.3 kB / 493.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1386, allocations: 0 / 493.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.1389, allocations: 87.86 kB / 493.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1393, allocations: 56.73 kB / 493.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.14, allocations: 394.3 kB / 493.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1403, allocations: 0.7283 MB / 494.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.1403, allocations: 19.38 kB / 494.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1403, allocations: 0 / 494.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of Templates: time 0.005089/0.1454, allocations: 2.8 MB / 497.4 MB, free: 6.164 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)