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.001245/0.001245, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 83.72 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003355/0.1142, allocations: 2.025 MB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.116, allocations: 1.107 MB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1162, allocations: 7.938 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1165, allocations: 47.62 kB / 484.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.117, allocations: 107.5 kB / 484.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1173, allocations: 115.5 kB / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.1175, allocations: 207.4 kB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1177, allocations: 33.67 kB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1178, allocations: 79.69 kB / 485.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1179, allocations: 79.55 kB / 485.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.118, allocations: 12 kB / 485.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1181, allocations: 51.98 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.1182, allocations: 35.84 kB / 485.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.1182, allocations: 83.5 kB / 485.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1185, allocations: 195.3 kB / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1185, allocations: 0 / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1185, allocations: 0 / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1185, allocations: 0 / 485.6 MB, free: 372 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.0009063/0.1195, allocations: 0.5681 MB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1195, allocations: 8.031 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.1196, allocations: 24.75 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1199, allocations: 252.8 kB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1199, allocations: 4.375 kB / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.12, allocations: 16.12 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.1204, allocations: 150.5 kB / 486.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1204, allocations: 0 / 486.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1204, allocations: 4 kB / 486.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1204, allocations: 3.984 kB / 486.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.1208, allocations: 119.8 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.1215, allocations: 0.5438 MB / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.1221, allocations: 158.6 kB / 487.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1223, allocations: 72.8 kB / 487.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1223, allocations: 4 kB / 487.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.1227, allocations: 147.1 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.1227, allocations: 0 / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007977/0.1235, allocations: 249.3 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1236, allocations: 63.34 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1238, allocations: 229.6 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1238, allocations: 25.7 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1239, allocations: 136.2 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.124, allocations: 35.59 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.124, allocations: 37.7 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1242, allocations: 330.8 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1244, allocations: 67.94 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.1247, allocations: 115.2 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1252, allocations: 189.8 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1252, allocations: 0 / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006125/0.1258, allocations: 258.3 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.1258, allocations: 33.69 kB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1258, allocations: 4 kB / 489.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1259, allocations: 0 / 489.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.126, allocations: 35.91 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.126, allocations: 8.125 kB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1262, allocations: 31.81 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1263, allocations: 8 kB / 489.5 MB, free: 12.18 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.0001214/0.1264, allocations: 137.8 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.1264, allocations: 23.7 kB / 489.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.1265, allocations: 21.39 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1265, allocations: 7.938 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1265, allocations: 4 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1265, allocations: 7.969 kB / 489.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1267, allocations: 229.6 kB / 489.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1267, allocations: 0 / 489.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1269, allocations: 27.97 kB / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.1269, allocations: 0 / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.1269, allocations: 11.92 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1269, allocations: 3.938 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1269, allocations: 0 / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.1277, allocations: 304.6 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.1278, allocations: 96.8 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1278, allocations: 8 kB / 490.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.128, allocations: 31.97 kB / 490.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.1281, allocations: 15.97 kB / 490.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1281, allocations: 8 kB / 490.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1283, allocations: 172.5 kB / 490.6 MB, free: 11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1283, allocations: 0 / 490.6 MB, free: 11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1285, allocations: 36 kB / 490.6 MB, free: 10.96 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.0008903/0.1294, allocations: 412.6 kB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005708/0.13, allocations: 211.2 kB / 491.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.13, allocations: 0 / 491.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.1302, allocations: 80.12 kB / 491.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1306, allocations: 48.2 kB / 491.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.1312, allocations: 308.1 kB / 491.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1315, allocations: 0.7319 MB / 492.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.975e-05/0.1316, allocations: 17.55 kB / 492.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.1316, allocations: 23.44 kB / 492.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1316, allocations: 3.938 kB / 492.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of Templates: time 0.006312/0.138, allocations: 2.828 MB / 495.3 MB, free: 6.414 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)