Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007358/0.0007358, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007611/0.0007612, allocations: 172.7 kB / 15.95 MB, free: 208 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.283/1.283, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.283/0.283, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.1. 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.0005459/0.0005459, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1042, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001919/0.1061, allocations: 1.37 MB / 435.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1079, allocations: 1.321 MB / 436.7 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.108, allocations: 0 / 436.7 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1082, allocations: 35.84 kB / 436.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1084, allocations: 47.81 kB / 436.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1086, allocations: 71.86 kB / 436.8 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1088, allocations: 95.67 kB / 436.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.1089, allocations: 12.22 kB / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.1089, allocations: 31.86 kB / 436.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1091, allocations: 39.77 kB / 437 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1091, allocations: 4 kB / 437 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1092, allocations: 51.98 kB / 437 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.1093, allocations: 27.84 kB / 437.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1093, allocations: 33.7 kB / 437.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1094, allocations: 96.06 kB / 437.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1094, allocations: 0 / 437.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1095, allocations: 0 / 437.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1095, allocations: 3.938 kB / 437.2 MB, free: 2.289 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004369/0.1099, allocations: 402.9 kB / 437.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.1099, allocations: 12.03 kB / 437.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.11, allocations: 11.86 kB / 437.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.1102, allocations: 203.5 kB / 437.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1102, allocations: 3.984 kB / 437.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1102, allocations: 8 kB / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1104, allocations: 71.33 kB / 437.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1104, allocations: 3.938 kB / 437.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1104, allocations: 4 kB / 437.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1104, allocations: 0 / 437.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.1105, allocations: 39.92 kB / 437.9 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1109, allocations: 292.8 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1111, allocations: 70.61 kB / 438.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.1111, allocations: 24.86 kB / 438.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.1112, allocations: 4 kB / 438.3 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.1113, allocations: 75.38 kB / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1113, allocations: 0 / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005153/0.1118, allocations: 197.2 kB / 438.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.1119, allocations: 81.11 kB / 438.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1121, allocations: 155 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1121, allocations: 33.7 kB / 438.9 MB, free: 424 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.1121, allocations: 96.12 kB / 439 MB, free: 324 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1122, allocations: 27.66 kB / 439 MB, free: 296 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1122, allocations: 0 / 439 MB, free: 296 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1123, allocations: 326.8 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.1124, allocations: 23.98 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.1125, allocations: 50.5 kB / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.1125, allocations: 32.02 kB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1125, allocations: 0 / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001825/0.1127, allocations: 113.4 kB / 439.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1127, allocations: 7.953 kB / 439.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1128, allocations: 0 / 439.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1128, allocations: 0 / 439.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.1129, allocations: 24.11 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1129, allocations: 0 / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.1129, allocations: 7.938 kB / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.113, allocations: 12.5 kB / 439.6 MB, free: 15.68 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 (11): * Single equations (assignments): 11 * 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.165e-05/0.113, allocations: 122.9 kB / 439.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.1131, allocations: 7.906 kB / 439.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.1131, allocations: 16.67 kB / 439.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1131, allocations: 3.984 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1131, allocations: 0 / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1131, allocations: 4 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1136, allocations: 419.2 kB / 440.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1136, allocations: 0 / 440.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.1136, allocations: 8 kB / 440.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1136, allocations: 4 kB / 440.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1137, allocations: 3.984 kB / 440.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1137, allocations: 3.938 kB / 440.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1137, allocations: 4 kB / 440.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1139, allocations: 212.2 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.114, allocations: 96.95 kB / 440.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.114, allocations: 4 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1141, allocations: 4 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.1141, allocations: 7.984 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1141, allocations: 4 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.594e-05/0.1142, allocations: 124.5 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1142, allocations: 0 / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1145, allocations: 43.92 kB / 440.6 MB, free: 14.5 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 (9): * Single equations (assignments): 7 * 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.0009971/0.1155, allocations: 0.4969 MB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1157, allocations: 67.91 kB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1157, allocations: 0 / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.1158, allocations: 39.92 kB / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1161, allocations: 23.98 kB / 441.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.1164, allocations: 218.2 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1167, allocations: 0.7043 MB / 442.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.1168, allocations: 24.78 kB / 442.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.1168, allocations: 27.42 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1168, allocations: 0 / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of Templates: time 0.004034/0.1209, allocations: 1.917 MB / 444.1 MB, free: 10.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) Environment - environmentSimulation: