Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008944/0.008944, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001581/0.00158, allocations: 188.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1977/0.1977, allocations: 38.01 MB / 307.9 MB, free: 5.969 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.00163/0.001629, allocations: 67.91 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1147, allocations: 56.47 MB / 489.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003085/0.1178, allocations: 1.695 MB / 491.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1192, allocations: 0.8089 MB / 492 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.1193, allocations: 0 / 492 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.1197, allocations: 111.7 kB / 492.1 MB, free: 3.18 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.12, allocations: 75.72 kB / 492.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1203, allocations: 95.69 kB / 492.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1205, allocations: 123.7 kB / 492.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1206, allocations: 23.97 kB / 492.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1207, allocations: 59.77 kB / 492.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1209, allocations: 67.8 kB / 492.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1209, allocations: 4 kB / 492.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.121, allocations: 43.98 kB / 492.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1211, allocations: 31.86 kB / 492.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.1211, allocations: 51.66 kB / 492.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1214, allocations: 131.5 kB / 492.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1214, allocations: 0 / 492.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1214, allocations: 0 / 492.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1214, allocations: 4 kB / 492.8 MB, free: 2.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005784/0.122, allocations: 450.7 kB / 493.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.122, allocations: 11.89 kB / 493.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.1221, allocations: 16.75 kB / 493.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1224, allocations: 223.8 kB / 493.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1224, allocations: 384 / 493.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.1224, allocations: 12.12 kB / 493.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1226, allocations: 69.53 kB / 493.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1226, allocations: 8 kB / 493.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1227, allocations: 0 / 493.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1227, allocations: 0 / 493.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1228, allocations: 31.97 kB / 493.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.1232, allocations: 320.7 kB / 493.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1234, allocations: 78.72 kB / 494 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.1235, allocations: 28.84 kB / 494 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1235, allocations: 0 / 494 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.1237, allocations: 83.31 kB / 494.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1237, allocations: 0 / 494.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006452/0.1243, allocations: 229 kB / 494.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1244, allocations: 55.41 kB / 494.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1246, allocations: 250.5 kB / 494.7 MB, free: 464 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.1247, allocations: 25.7 kB / 494.7 MB, free: 432 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1247, allocations: 119.9 kB / 494.8 MB, free: 308 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.1248, allocations: 39.45 kB / 494.8 MB, free: 268 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.1249, allocations: 25.72 kB / 494.9 MB, free: 236 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.125, allocations: 326.8 kB / 495.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.1251, allocations: 31.98 kB / 495.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.1252, allocations: 53.69 kB / 495.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1253, allocations: 81.7 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1253, allocations: 0 / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002265/0.1256, allocations: 133.4 kB / 495.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1256, allocations: 4 kB / 495.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1256, allocations: 0 / 495.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1256, allocations: 3.938 kB / 495.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1257, allocations: 28.02 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1258, allocations: 3.938 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.1258, allocations: 8 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1258, allocations: 8 kB / 495.5 MB, free: 15.54 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.1259, allocations: 141.7 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.126, allocations: 15.81 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.126, allocations: 17.41 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1261, allocations: 0 / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1261, allocations: 7.938 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1261, allocations: 3.938 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.1266, allocations: 451.2 kB / 496.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1266, allocations: 0 / 496.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.1267, allocations: 19.92 kB / 496.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1267, allocations: 0 / 496.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1267, allocations: 8 kB / 496.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1267, allocations: 0 / 496.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.1267, allocations: 0 / 496.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.127, allocations: 240.1 kB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.1271, allocations: 92.86 kB / 496.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1271, allocations: 4 kB / 496.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.1272, allocations: 4 kB / 496.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1272, allocations: 7.984 kB / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1273, allocations: 8 kB / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.1274, allocations: 188.2 kB / 496.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1274, allocations: 0 / 496.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1277, allocations: 35.98 kB / 496.7 MB, free: 14.21 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.1289, allocations: 463.1 kB / 497.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1291, allocations: 83.91 kB / 497.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1291, allocations: 0 / 497.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.1292, allocations: 39.92 kB / 497.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1296, allocations: 39.7 kB / 497.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.1302, allocations: 295.9 kB / 497.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1305, allocations: 0.7162 MB / 498.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.434e-05/0.1306, allocations: 25.06 kB / 498.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.1307, allocations: 23.42 kB / 498.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1307, allocations: 0 / 498.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of Templates: time 0.005502/0.1362, allocations: 1.915 MB / 0.4886 GB, free: 10.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)