Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 100.3 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.000972/0.000972, 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.276/1.276, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.2838/0.2838, allocations: 40 MB / 310.4 MB, free: 9.582 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.0005173/0.0005174, allocations: 16 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 57.96 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001927/0.1095, allocations: 1.374 MB / 438.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1106, allocations: 0.746 MB / 438.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.1106, allocations: 0 / 438.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1109, allocations: 23.84 kB / 438.9 MB, free: 152 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.1111, allocations: 55.86 kB / 439 MB, free: 96 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1113, allocations: 71.8 kB / 439 MB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1115, allocations: 63.95 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.1116, allocations: 12.22 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.1117, allocations: 39.83 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.1117, allocations: 31.86 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1118, allocations: 4 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.1118, allocations: 23.83 kB / 439.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.1119, allocations: 31.89 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1119, allocations: 41.64 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.1121, allocations: 100.1 kB / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1121, allocations: 0 / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1121, allocations: 0 / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1121, 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.0004975/0.1126, allocations: 434.5 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1126, allocations: 8.031 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1127, allocations: 11.81 kB / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1129, allocations: 210.9 kB / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.113, allocations: 0 / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.113, allocations: 7.938 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1131, allocations: 53.67 kB / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1132, allocations: 3.906 kB / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1132, allocations: 0 / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1132, allocations: 7.953 kB / 440.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.015e-05/0.1133, allocations: 23.92 kB / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.1136, allocations: 288.9 kB / 440.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1138, allocations: 62.67 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1138, allocations: 0 / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.114, allocations: 79.41 kB / 440.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.114, allocations: 0 / 440.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004814/0.1145, allocations: 177 kB / 440.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1145, allocations: 55.41 kB / 440.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1147, allocations: 254.5 kB / 441 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1148, allocations: 33.7 kB / 441.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.1148, allocations: 112 kB / 441.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1149, allocations: 27.73 kB / 441.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1149, allocations: 4 kB / 441.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.115, allocations: 330.8 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.1151, allocations: 12 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.1151, allocations: 37.7 kB / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.536e-05/0.1152, allocations: 27.98 kB / 441.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1152, allocations: 0 / 441.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001678/0.1154, allocations: 101.4 kB / 441.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1154, allocations: 15.89 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1154, allocations: 0 / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1154, allocations: 0 / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.1155, allocations: 19.92 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1155, allocations: 4.156 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1156, allocations: 4 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.1156, allocations: 4 kB / 441.7 MB, free: 13.08 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 0.0001014/0.1157, allocations: 137.9 kB / 441.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1157, allocations: 15.81 kB / 441.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1158, allocations: 29.31 kB / 441.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1158, allocations: 4 kB / 441.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1158, allocations: 0 / 441.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1158, allocations: 192 / 441.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1162, allocations: 411.2 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1162, allocations: 3.969 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1163, allocations: 12 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.1163, allocations: 0 / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1163, allocations: 4 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1163, allocations: 0 / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1163, allocations: 0 / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.1165, allocations: 221.9 kB / 442.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1166, allocations: 88.92 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1166, allocations: 8.375 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.1167, allocations: 3.984 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.1167, allocations: 4 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1168, allocations: 8 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1169, allocations: 208 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.117, allocations: 0 / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1172, allocations: 20 kB / 442.9 MB, free: 11.82 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.001006/0.1182, allocations: 464.7 kB / 443.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1184, allocations: 63.89 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1184, allocations: 4.062 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.1185, allocations: 27.92 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1188, allocations: 27.94 kB / 443.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.1192, allocations: 299 kB / 443.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1195, allocations: 0.7238 MB / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.66e-05/0.1196, allocations: 17.17 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.1196, allocations: 23.38 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1196, allocations: 0 / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Templates: time 0.004078/0.1237, allocations: 1.61 MB / 446.1 MB, free: 8.543 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) Environment - environmentSimulation: