Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008551/0.000855, allocations: 100.9 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.0008876/0.0008876, 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.307/1.307, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.3014/0.3014, allocations: 39.99 MB / 310.4 MB, free: 9.965 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.0005227/0.0005229, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 57.95 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001988/0.1079, allocations: 1.374 MB / 438.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1092, allocations: 0.7421 MB / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1094, allocations: 4 kB / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1097, allocations: 71.75 kB / 439 MB, free: 364 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.11, allocations: 63.84 kB / 439 MB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1103, allocations: 75.8 kB / 439.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1106, allocations: 71.83 kB / 439.2 MB, free: 152 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.1107, allocations: 16.22 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1108, allocations: 47.83 kB / 439.2 MB, free: 88 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.1109, allocations: 39.83 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1109, allocations: 0 / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.111, allocations: 31.92 kB / 439.3 MB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.1111, allocations: 23.91 kB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.1111, allocations: 37.64 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1113, allocations: 88.09 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1114, allocations: 0 / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1114, allocations: 4 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.1114, allocations: 0 / 439.4 MB, free: 15.86 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.0006322/0.112, allocations: 410.8 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1121, allocations: 8.031 kB / 439.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1121, allocations: 19.75 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1124, allocations: 207.6 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1124, allocations: 0 / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1125, allocations: 8 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1126, allocations: 53.67 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1126, allocations: 0 / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1127, allocations: 4 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1127, allocations: 3.953 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.1127, allocations: 19.98 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.1132, allocations: 288.8 kB / 440.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1133, allocations: 58.69 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1134, allocations: 0 / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1135, allocations: 75.41 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1135, allocations: 0 / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000494/0.114, allocations: 177.1 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1141, allocations: 55.34 kB / 440.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1143, allocations: 218.2 kB / 441 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1143, allocations: 29.7 kB / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1144, allocations: 104.1 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1144, allocations: 23.66 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1144, allocations: 4 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1145, allocations: 322.8 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.1146, allocations: 23.98 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.1147, allocations: 33.7 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/0.1147, allocations: 24 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1147, allocations: 0 / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.1149, allocations: 97.59 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1149, allocations: 15.39 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1149, allocations: 80 / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.115, allocations: 0 / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.115, allocations: 16 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1151, allocations: 11.92 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.1151, allocations: 11.92 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.1151, allocations: 4.375 kB / 441.7 MB, free: 13.36 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.94e-05/0.1152, allocations: 133.8 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.1153, allocations: 11.89 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.1153, allocations: 21.36 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1153, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1153, allocations: 4 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1153, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1158, allocations: 403.3 kB / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1158, allocations: 0 / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.1158, allocations: 8 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1158, allocations: 0 / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1158, allocations: 4 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1159, allocations: 192 / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1159, allocations: 0 / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1161, allocations: 229.8 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.1161, allocations: 93 kB / 442.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1162, allocations: 4 kB / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1163, allocations: 0 / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1163, allocations: 7.984 kB / 442.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1163, allocations: 8 kB / 442.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1164, allocations: 160.2 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1164, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1167, allocations: 23.98 kB / 442.8 MB, free: 12.16 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.0009393/0.1176, allocations: 463.2 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1178, allocations: 59.91 kB / 443.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1178, allocations: 0 / 443.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.1179, allocations: 23.94 kB / 443.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1182, allocations: 39.83 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.1186, allocations: 246.2 kB / 443.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1189, allocations: 0.716 MB / 444.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.119, allocations: 17.19 kB / 444.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.119, allocations: 23.42 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.119, allocations: 0 / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004004/0.123, allocations: 1.591 MB / 446 MB, free: 8.961 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) Environment - environmentSimulation: