Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.206/0.206, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.66 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003194/0.1082, allocations: 2.001 MB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1097, allocations: 0.9665 MB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1098, allocations: 7.938 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1101, allocations: 43.69 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.1104, allocations: 79.48 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1107, allocations: 142.7 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.111, allocations: 203.4 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1111, allocations: 29.67 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1112, allocations: 79.62 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1113, allocations: 79.61 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.1114, allocations: 12 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1115, allocations: 47.98 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.1115, allocations: 47.78 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.1116, allocations: 67.59 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.1119, allocations: 191.7 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1119, allocations: 3.984 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1119, allocations: 3.938 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1119, allocations: 0 / 473.9 MB, free: 10.36 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.0008661/0.1128, allocations: 0.5438 MB / 474.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1128, allocations: 16.03 kB / 474.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.1129, allocations: 20.66 kB / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1132, allocations: 240.8 kB / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1132, allocations: 12.36 kB / 474.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.1132, allocations: 12.12 kB / 474.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.1137, allocations: 152.1 kB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1137, allocations: 0 / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1137, allocations: 8 kB / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1137, allocations: 0 / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.1142, allocations: 107.9 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.1148, allocations: 0.5476 MB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.1155, allocations: 162.5 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.1157, allocations: 68.8 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1158, allocations: 4 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.1162, allocations: 139.2 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1162, allocations: 0 / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009111/0.1171, allocations: 257.2 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1172, allocations: 63.33 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1174, allocations: 231.1 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1174, allocations: 25.7 kB / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1176, allocations: 120.3 kB / 476.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.1176, allocations: 39.59 kB / 476.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.1177, allocations: 37.7 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1178, allocations: 330.8 kB / 477 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.1181, allocations: 71.94 kB / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.1184, allocations: 106.8 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.1189, allocations: 197.8 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1189, allocations: 0 / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006456/0.1195, allocations: 247 kB / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.1196, allocations: 41.69 kB / 477.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1196, allocations: 0 / 477.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1196, allocations: 4 kB / 477.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1198, allocations: 43.84 kB / 477.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1198, allocations: 4.125 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.12, allocations: 35.81 kB / 477.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.12, allocations: 4 kB / 477.7 MB, free: 6.223 MB / 350.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.0001207/0.1202, allocations: 133.8 kB / 477.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1202, allocations: 15.81 kB / 477.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.1203, allocations: 21.41 kB / 477.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1203, allocations: 3.938 kB / 477.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1203, allocations: 0 / 477.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1203, allocations: 11.92 kB / 477.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1205, allocations: 241.4 kB / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1205, allocations: 0 / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1207, allocations: 23.97 kB / 478.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1207, allocations: 0 / 478.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1207, allocations: 4 kB / 478.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1207, allocations: 3.938 kB / 478.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1207, allocations: 0 / 478.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.1216, allocations: 300.7 kB / 478.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1216, allocations: 92.95 kB / 478.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.1217, allocations: 7.984 kB / 478.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.1219, allocations: 31.97 kB / 478.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.1219, allocations: 19.92 kB / 478.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.122, allocations: 4 kB / 478.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1221, allocations: 164.7 kB / 478.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1221, allocations: 0 / 478.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1224, allocations: 40 kB / 478.8 MB, free: 5.035 MB / 350.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.0009268/0.1233, allocations: 411.8 kB / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.1239, allocations: 219.2 kB / 479.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.124, allocations: 0 / 479.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.1242, allocations: 79.88 kB / 479.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1246, allocations: 48.19 kB / 479.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.1253, allocations: 349.6 kB / 479.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1256, allocations: 0.7319 MB / 480.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.1256, allocations: 23.38 kB / 480.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1256, allocations: 7.938 kB / 480.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of Templates: time 0.00455/0.1302, allocations: 2.804 MB / 483.5 MB, free: 484 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)