Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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 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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001028/0.001032, allocations: 99.86 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.0009923/0.0009924, allocations: 177.3 kB / 15.94 MB, free: 228 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.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.2892/0.2892, allocations: 40 MB / 310.4 MB, free: 10.04 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.0006013/0.0006018, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002179/0.1105, allocations: 1.656 MB / 438.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1118, allocations: 0.82 MB / 439.2 MB, free: 76 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1119, allocations: 7.938 kB / 439.3 MB, free: 68 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1122, allocations: 31.83 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.1124, allocations: 63.91 kB / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1128, allocations: 99.73 kB / 439.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.113, allocations: 119.7 kB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1131, allocations: 25.67 kB / 439.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1133, allocations: 75.69 kB / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1134, allocations: 67.67 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1134, allocations: 4 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1135, allocations: 31.98 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1136, allocations: 23.91 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.1137, allocations: 49.58 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1139, allocations: 147.8 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1139, allocations: 0 / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1139, allocations: 0 / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1139, allocations: 0 / 440 MB, free: 15.34 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008619/0.1148, allocations: 0.5448 MB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1148, allocations: 12.03 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.1149, allocations: 15.81 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1152, allocations: 239.5 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1152, allocations: 8 kB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1153, allocations: 12 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.1157, allocations: 164.1 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1157, allocations: 0 / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1157, allocations: 0 / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1157, allocations: 7.953 kB / 441 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.1162, allocations: 135.8 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.1168, allocations: 0.5438 MB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.1175, allocations: 190.6 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1175, allocations: 192 / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/0.118, allocations: 155.2 kB / 442 MB, free: 13.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.118, allocations: 3.938 kB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008571/0.1188, allocations: 289.7 kB / 442.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1189, allocations: 55.41 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1191, allocations: 223.1 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1191, allocations: 33.7 kB / 442.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.1192, allocations: 128.2 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1192, allocations: 31.69 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.1193, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1194, allocations: 334.8 kB / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.1196, allocations: 75.94 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.1199, allocations: 120.2 kB / 443.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1202, allocations: 109.6 kB / 443.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1202, allocations: 0 / 443.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006268/0.1208, allocations: 274.9 kB / 443.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.1209, allocations: 37.69 kB / 443.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1209, allocations: 0 / 443.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1209, allocations: 8.125 kB / 443.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1211, allocations: 43.91 kB / 443.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1211, allocations: 4 kB / 443.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1213, allocations: 35.91 kB / 443.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1213, allocations: 8 kB / 443.8 MB, free: 11.26 MB / 382.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.1215, allocations: 142.5 kB / 443.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1215, allocations: 23.7 kB / 443.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.1215, allocations: 21.41 kB / 443.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1216, allocations: 0 / 443.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1216, allocations: 0 / 443.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1216, allocations: 0 / 443.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1218, allocations: 241.4 kB / 444.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1218, allocations: 0 / 444.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.122, allocations: 39.91 kB / 444.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.122, allocations: 4 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.122, allocations: 0 / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.122, allocations: 0 / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.122, allocations: 0 / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.1228, allocations: 344.7 kB / 444.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1229, allocations: 104.9 kB / 444.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.123, allocations: 0 / 444.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.1231, allocations: 36.03 kB / 444.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.1232, allocations: 11.97 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1232, allocations: 8 kB / 444.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1234, allocations: 164.6 kB / 444.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1234, allocations: 3.938 kB / 444.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1237, allocations: 43.84 kB / 444.9 MB, free: 9.996 MB / 382.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 (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.0008685/0.1245, allocations: 417.6 kB / 445.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000609/0.1252, allocations: 243.3 kB / 445.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1252, allocations: 4 kB / 445.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.1254, allocations: 83.88 kB / 445.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1258, allocations: 44.03 kB / 445.7 MB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.1264, allocations: 350 kB / 446 MB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1267, allocations: 0.7283 MB / 446.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.306e-05/0.1268, allocations: 25.53 kB / 446.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.1269, allocations: 23.42 kB / 446.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1269, allocations: 4 kB / 446.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of Templates: time 0.005434/0.1323, allocations: 2.485 MB / 449.3 MB, free: 5.586 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: