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.001012/0.001012, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1143, allocations: 63.55 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002428/0.1168, allocations: 1.732 MB / 484.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1186, allocations: 1.08 MB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1188, allocations: 4 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1191, allocations: 43.75 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.1195, allocations: 87.61 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1199, allocations: 91.78 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.1203, allocations: 199.4 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1205, allocations: 21.67 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1207, allocations: 75.58 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1209, allocations: 71.61 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.1209, allocations: 8 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1211, allocations: 47.92 kB / 486.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.1212, allocations: 35.89 kB / 486.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1214, allocations: 89.19 kB / 486.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.1217, allocations: 187.6 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1218, allocations: 4 kB / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1218, allocations: 0 / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1218, allocations: 0 / 486.9 MB, free: 380 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.001231/0.123, allocations: 0.5475 MB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1231, allocations: 12.03 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.1232, allocations: 24.73 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.1236, allocations: 244.8 kB / 487.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1236, allocations: 4.375 kB / 487.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.1237, allocations: 16.12 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.1243, allocations: 170.3 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1244, allocations: 0 / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.1244, allocations: 8 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1244, allocations: 0 / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.1252, allocations: 139.8 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009254/0.1261, allocations: 0.5476 MB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1272, allocations: 186.5 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.1277, allocations: 88.8 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.1277, allocations: 7.984 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.1283, allocations: 147.2 kB / 489 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.1284, allocations: 0 / 489 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001453/0.1298, allocations: 285.3 kB / 489.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.1299, allocations: 71.28 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.1303, allocations: 229.6 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.1304, allocations: 25.7 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1305, allocations: 140.2 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.1306, allocations: 31.69 kB / 489.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.1307, allocations: 17.72 kB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1309, allocations: 334.8 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.1313, allocations: 79.94 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.1318, allocations: 116.2 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.1327, allocations: 221 kB / 490.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1327, allocations: 0 / 490.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001133/0.1338, allocations: 287 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.1339, allocations: 29.7 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1339, allocations: 11.98 kB / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.134, allocations: 0 / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.1343, allocations: 51.91 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1343, allocations: 0 / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.1346, allocations: 39.84 kB / 490.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.1347, allocations: 8 kB / 490.9 MB, free: 12 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.0001935/0.1349, allocations: 133.8 kB / 491 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.1349, allocations: 27.7 kB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.135, allocations: 17.41 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.1351, allocations: 7.938 kB / 491.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1351, allocations: 0 / 491.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1351, allocations: 3.984 kB / 491.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.1355, allocations: 229.6 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1355, allocations: 0 / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.1358, allocations: 27.97 kB / 491.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1358, allocations: 4 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.1358, allocations: 11.98 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.1358, allocations: 7.875 kB / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1358, allocations: 0 / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1373, allocations: 344.6 kB / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.1374, allocations: 92.89 kB / 491.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.1374, allocations: 4 kB / 491.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.1377, allocations: 31.91 kB / 491.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.1378, allocations: 24.03 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.1378, allocations: 4 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.138, allocations: 172.5 kB / 492 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1381, allocations: 0 / 492 MB, free: 10.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.1385, allocations: 39.98 kB / 492.1 MB, free: 10.75 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.001542/0.1401, allocations: 403.1 kB / 492.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1412, allocations: 247.3 kB / 492.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1412, allocations: 0 / 492.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.1417, allocations: 87.88 kB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.1423, allocations: 58.5 kB / 492.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1433, allocations: 360.7 kB / 493.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.1438, allocations: 0.7244 MB / 493.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.144, allocations: 29.52 kB / 494 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.1441, allocations: 15.44 kB / 494 MB, free: 8.926 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1441, allocations: 0 / 494 MB, free: 8.926 MB / 366.1 MB Notification: Performance of Templates: time 0.009311/0.1534, allocations: 2.56 MB / 496.5 MB, free: 6.383 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)