Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.0008871, allocations: 99.62 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.0009971/0.0009971, 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.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.2855/0.2856, allocations: 40 MB / 310.4 MB, free: 9.75 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.0005187/0.0005188, allocations: 20 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 57.97 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001821/0.1092, allocations: 1.378 MB / 438.2 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.1102, allocations: 0.7266 MB / 438.9 MB, free: 492 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.1102, allocations: 4 kB / 438.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1105, allocations: 27.84 kB / 438.9 MB, free: 460 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1106, allocations: 47.88 kB / 439 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1109, allocations: 79.78 kB / 439 MB, free: 332 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.111, allocations: 59.86 kB / 439.1 MB, free: 272 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.1111, allocations: 12.2 kB / 439.1 MB, free: 260 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.1112, allocations: 35.84 kB / 439.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.1112, allocations: 27.86 kB / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1113, allocations: 4 kB / 439.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.1113, allocations: 35.91 kB / 439.2 MB, free: 156 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.1114, allocations: 19.92 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.1114, allocations: 37.64 kB / 439.3 MB, free: 92 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1115, allocations: 84.09 kB / 439.4 MB, free: 8 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1116, allocations: 3.938 kB / 439.4 MB, free: 4 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1116, allocations: 0 / 439.4 MB, free: 4 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1116, allocations: 0 / 439.4 MB, free: 4 kB / 366.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.0004715/0.1121, allocations: 418.7 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1121, allocations: 8.031 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.1121, allocations: 11.91 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1124, allocations: 199.6 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1124, allocations: 3.984 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1124, allocations: 4 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1125, allocations: 53.67 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1126, allocations: 3.906 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1126, allocations: 0 / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1126, allocations: 3.953 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.1127, allocations: 23.92 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.113, allocations: 292.9 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1131, allocations: 46.69 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1132, allocations: 3.984 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1133, allocations: 79.41 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1133, allocations: 4 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004807/0.1138, allocations: 169.2 kB / 440.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1139, allocations: 59.39 kB / 440.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.114, allocations: 191.3 kB / 440.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1141, allocations: 29.7 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.1141, allocations: 100.1 kB / 441 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1142, allocations: 23.7 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1142, allocations: 0 / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.1143, allocations: 330.8 kB / 441.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.1143, allocations: 19.98 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.1144, allocations: 33.7 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.1145, allocations: 24 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1145, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001644/0.1146, allocations: 101.4 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1147, allocations: 19.97 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1147, allocations: 0 / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1147, allocations: 0 / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.1148, allocations: 12 kB / 441.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1148, allocations: 8.125 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1148, allocations: 4 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1149, allocations: 19.84 kB / 441.6 MB, free: 13.53 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 8.859e-05/0.115, allocations: 121.8 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.115, allocations: 11.91 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.115, allocations: 25.34 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.115, allocations: 0 / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.115, allocations: 4 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.115, allocations: 0 / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.1154, allocations: 395.2 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1155, allocations: 0 / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.1155, allocations: 11.98 kB / 442.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1155, allocations: 4 kB / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1155, allocations: 8.031 kB / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1155, allocations: 0 / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1155, allocations: 0 / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.1157, allocations: 213.9 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.1158, allocations: 89 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.1158, allocations: 4 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1159, allocations: 8.375 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1159, allocations: 7.984 kB / 442.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.116, allocations: 8 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1161, allocations: 156.9 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1161, allocations: 0 / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1163, allocations: 23.91 kB / 442.7 MB, free: 12.34 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.0009352/0.1173, allocations: 465.5 kB / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1174, allocations: 59.91 kB / 443.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1174, allocations: 0 / 443.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.1175, allocations: 31.86 kB / 443.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1178, allocations: 28.06 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.1182, allocations: 246.4 kB / 443.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.1184, allocations: 0.7083 MB / 444.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.252e-05/0.1184, allocations: 12.88 kB / 444.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1185, allocations: 19.42 kB / 444.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1185, allocations: 0 / 444.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of Templates: time 0.003862/0.1224, allocations: 1.587 MB / 445.8 MB, free: 9.172 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) Environment - environmentSimulation: