Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009008/0.0009011, allocations: 100.1 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.00106/0.00106, 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.295/1.295, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2776/0.2776, allocations: 39.99 MB / 310.4 MB, free: 9.613 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.0005248/0.0005248, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002034/0.1082, allocations: 1.378 MB / 438.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1094, allocations: 0.7344 MB / 438.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.1095, allocations: 0 / 438.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1097, allocations: 35.83 kB / 438.9 MB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1099, allocations: 39.89 kB / 439 MB, free: 100 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1102, allocations: 79.78 kB / 439 MB, free: 20 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1103, allocations: 59.86 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.356e-05/0.1104, allocations: 8.219 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.1105, allocations: 39.83 kB / 439.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.1106, allocations: 19.88 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1106, allocations: 8 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.1107, allocations: 31.91 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.1107, allocations: 19.92 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.1108, allocations: 33.7 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1109, allocations: 84.03 kB / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.1109, allocations: 0 / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1109, allocations: 0 / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1109, allocations: 0 / 439.3 MB, free: 15.71 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.0004546/0.1114, allocations: 398.9 kB / 439.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1114, allocations: 15.97 kB / 439.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.1115, allocations: 7.906 kB / 439.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1117, allocations: 191.5 kB / 439.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1117, allocations: 8 kB / 439.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.1118, allocations: 0 / 439.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1119, allocations: 57.61 kB / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1119, allocations: 0 / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1119, allocations: 4 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1119, allocations: 3.953 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.112, allocations: 15.98 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1124, allocations: 288.8 kB / 440.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1125, allocations: 58.61 kB / 440.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1125, allocations: 0 / 440.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.1127, allocations: 79.47 kB / 440.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1127, allocations: 0 / 440.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004769/0.1132, allocations: 169.3 kB / 440.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1133, allocations: 55.41 kB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1134, allocations: 155 kB / 440.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1134, allocations: 25.7 kB / 440.8 MB, free: 14.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.1135, allocations: 96.14 kB / 440.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1135, allocations: 27.64 kB / 441 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.1135, allocations: 8 kB / 441 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1136, allocations: 322.8 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.1137, allocations: 19.98 kB / 441.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.1138, allocations: 29.72 kB / 441.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.1138, allocations: 31.92 kB / 441.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1138, allocations: 0 / 441.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/0.114, allocations: 97.52 kB / 441.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.114, allocations: 15.95 kB / 441.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.114, allocations: 0 / 441.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1141, allocations: 0 / 441.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.1142, allocations: 23.91 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1142, allocations: 7.938 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.1142, allocations: 4 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1142, allocations: 4 kB / 441.5 MB, free: 13.31 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 9.479e-05/0.1143, allocations: 121.8 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1144, allocations: 12.09 kB / 441.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.1144, allocations: 16.67 kB / 441.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1144, allocations: 3.938 kB / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1144, allocations: 0 / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1144, allocations: 3.984 kB / 441.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1148, allocations: 383.3 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1148, allocations: 3.984 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.1149, allocations: 8 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1149, allocations: 8.031 kB / 442.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1149, allocations: 0 / 442.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1149, allocations: 3.938 kB / 442.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1149, allocations: 0 / 442.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1151, allocations: 218.2 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.1152, allocations: 92.91 kB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1152, allocations: 12 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1153, allocations: 384 / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1154, allocations: 7.984 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1154, allocations: 8 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.782e-05/0.1155, allocations: 124.5 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1155, allocations: 0 / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1157, allocations: 20 kB / 442.5 MB, free: 12.18 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.0009489/0.1167, allocations: 476.6 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.1168, allocations: 47.98 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1169, allocations: 0 / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.1169, allocations: 36.05 kB / 443.1 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.0002314/0.1172, allocations: 31.88 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1175, allocations: 221.8 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1178, allocations: 0.7043 MB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.013e-05/0.1178, allocations: 17.17 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.1179, allocations: 19.42 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1179, allocations: 0 / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Templates: time 0.003938/0.1218, allocations: 1.567 MB / 445.6 MB, free: 9.039 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: