Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009391/0.0009392, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2821/0.2821, allocations: 40 MB / 310.4 MB, free: 9.648 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005296/0.0005297, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 57.95 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001711/0.107, allocations: 1.382 MB / 438.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1082, allocations: 0.7383 MB / 438.9 MB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.1083, allocations: 3.938 kB / 438.9 MB, free: 164 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1085, allocations: 27.84 kB / 438.9 MB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1087, allocations: 51.88 kB / 439 MB, free: 84 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1089, allocations: 71.77 kB / 439 MB, free: 12 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1091, allocations: 59.88 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.1092, allocations: 20.19 kB / 439.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.1092, allocations: 35.84 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.1093, allocations: 27.84 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1093, allocations: 4 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.1094, allocations: 31.92 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.1094, allocations: 19.92 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1095, allocations: 41.64 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1096, allocations: 92.08 kB / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.1096, allocations: 0 / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1097, allocations: 0 / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1097, allocations: 0 / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004644/0.1101, allocations: 410.8 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1102, allocations: 8.031 kB / 439.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.1102, allocations: 23.8 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1104, allocations: 210.8 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1105, allocations: 4 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1105, allocations: 7.984 kB / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1106, allocations: 53.67 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1106, allocations: 0 / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1106, allocations: 0 / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1107, allocations: 3.953 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.1107, allocations: 19.98 kB / 440.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1111, allocations: 300.7 kB / 440.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1112, allocations: 50.67 kB / 440.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1113, allocations: 4 kB / 440.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1114, allocations: 71.41 kB / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.1114, allocations: 4 kB / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004792/0.1119, allocations: 165.3 kB / 440.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.112, allocations: 63.34 kB / 440.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1122, allocations: 218.7 kB / 441 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1122, allocations: 25.7 kB / 441 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.1123, allocations: 104 kB / 441.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1123, allocations: 31.62 kB / 441.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1123, allocations: 8 kB / 441.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1124, allocations: 326.8 kB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.1125, allocations: 19.98 kB / 441.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1125, allocations: 37.64 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.59e-05/0.1126, allocations: 24 kB / 441.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1126, allocations: 0 / 441.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.1128, allocations: 97.52 kB / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1128, allocations: 11.98 kB / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1128, allocations: 7.938 kB / 441.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1129, allocations: 0 / 441.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.1129, allocations: 16 kB / 441.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.113, allocations: 0 / 441.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.113, allocations: 7.984 kB / 441.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.113, allocations: 4 kB / 441.7 MB, free: 13.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.544e-05/0.1131, allocations: 129.8 kB / 441.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1132, allocations: 15.8 kB / 441.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.1132, allocations: 25.36 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1132, allocations: 0 / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1132, allocations: 0 / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1132, allocations: 0 / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.1136, allocations: 403.4 kB / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1136, allocations: 4.375 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.1137, allocations: 8 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1137, allocations: 0 / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1137, allocations: 8.031 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1137, allocations: 0 / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1137, allocations: 4 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1139, allocations: 225.8 kB / 442.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.114, allocations: 89.02 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.114, allocations: 0 / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1141, allocations: 11.98 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1141, allocations: 11.98 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1142, allocations: 0 / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1143, allocations: 176.3 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1143, allocations: 0 / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1146, allocations: 24 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009497/0.1155, allocations: 460.5 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1157, allocations: 59.91 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1157, allocations: 0 / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.1158, allocations: 27.92 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.116, allocations: 32.25 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.1165, allocations: 270.3 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1167, allocations: 0.7238 MB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.756e-05/0.1168, allocations: 13.19 kB / 444.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.1168, allocations: 19.42 kB / 444.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1168, allocations: 0 / 444.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Templates: time 0.003792/0.1206, allocations: 1.595 MB / 445.9 MB, free: 8.723 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) Environment - environmentSimulation: