Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007475/0.0007475, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007768/0.0007768, allocations: 168.7 kB / 15.95 MB, free: 204 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.313/1.313, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.2795/0.2795, allocations: 38.03 MB / 308.4 MB, free: 10.3 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.0005488/0.0005489, allocations: 24 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1025, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001847/0.1044, allocations: 1.374 MB / 435.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1055, allocations: 0.742 MB / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.1056, allocations: 3.938 kB / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1059, allocations: 99.8 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1061, allocations: 71.78 kB / 436.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1063, allocations: 79.83 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1065, allocations: 91.69 kB / 436.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.005e-05/0.1065, allocations: 12.22 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.1066, allocations: 55.75 kB / 436.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.1067, allocations: 51.81 kB / 436.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1068, allocations: 4 kB / 436.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.1069, allocations: 32 kB / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.1069, allocations: 23.91 kB / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.107, allocations: 37.64 kB / 436.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1071, allocations: 88.09 kB / 436.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1071, allocations: 7.938 kB / 436.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1071, allocations: 7.984 kB / 436.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1071, allocations: 0 / 436.7 MB, free: 2.758 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004374/0.1076, allocations: 414.8 kB / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1076, allocations: 11.97 kB / 437.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1077, allocations: 15.77 kB / 437.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1079, allocations: 211.6 kB / 437.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1079, allocations: 0 / 437.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.1079, allocations: 4 kB / 437.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.108, allocations: 57.67 kB / 437.4 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1081, allocations: 7.922 kB / 437.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1081, allocations: 4 kB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1081, allocations: 0 / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.1082, allocations: 23.94 kB / 437.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.1085, allocations: 288.8 kB / 437.8 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1087, allocations: 58.67 kB / 437.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.1087, allocations: 24.8 kB / 437.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1087, allocations: 0 / 437.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.1089, allocations: 63.39 kB / 437.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1089, allocations: 0 / 437.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004664/0.1094, allocations: 189 kB / 438.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1094, allocations: 51.41 kB / 438.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1096, allocations: 246.1 kB / 438.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1097, allocations: 29.7 kB / 438.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.1097, allocations: 108.1 kB / 438.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1098, allocations: 19.72 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.1098, allocations: 4 kB / 438.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1099, allocations: 326.8 kB / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.187e-05/0.1099, allocations: 23.98 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.11, allocations: 37.7 kB / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.1101, allocations: 23.94 kB / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1101, allocations: 0 / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.1102, allocations: 97.48 kB / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1103, allocations: 11.95 kB / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1103, allocations: 0 / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1103, allocations: 3.938 kB / 439 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.1104, allocations: 27.95 kB / 439.1 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1104, allocations: 4 kB / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.1104, allocations: 0 / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1105, allocations: 4 kB / 439.1 MB, free: 188 kB / 366.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 9.063e-05/0.1106, allocations: 131 kB / 439.2 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1106, allocations: 16.19 kB / 439.2 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.1106, allocations: 29.28 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1106, allocations: 0 / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1106, allocations: 4 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1106, allocations: 80 / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.1111, allocations: 399.5 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.1111, allocations: 3.953 kB / 439.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.1111, allocations: 15.98 kB / 439.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1111, allocations: 0 / 439.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1111, allocations: 4 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1111, allocations: 3.938 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1112, allocations: 0 / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1114, allocations: 216.2 kB / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1114, allocations: 92.95 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1114, allocations: 4 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.1115, allocations: 0 / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.1115, allocations: 11.98 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1116, allocations: 8 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1117, allocations: 180.3 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1117, allocations: 0 / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.112, allocations: 20 kB / 440.2 MB, free: 14.96 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.0009143/0.1129, allocations: 476.8 kB / 440.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.113, allocations: 51.97 kB / 440.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1131, allocations: 0 / 440.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.1131, allocations: 35.92 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1134, allocations: 28.11 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.1139, allocations: 282.6 kB / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1141, allocations: 0.7199 MB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1142, allocations: 17.17 kB / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.1142, allocations: 15.44 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1142, allocations: 0 / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Templates: time 0.003675/0.1179, allocations: 1.617 MB / 443.4 MB, free: 11.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) Environment - environmentSimulation: