Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008557, allocations: 99.47 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.0009887/0.0009884, 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.29/1.29, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.2891/0.2891, allocations: 39.99 MB / 310.4 MB, free: 9.629 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.0005242/0.0005243, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 57.96 MB / 436.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001863/0.1053, allocations: 1.382 MB / 438.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1064, allocations: 0.7266 MB / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.1065, allocations: 3.938 kB / 438.9 MB, free: 168 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1068, allocations: 27.84 kB / 438.9 MB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.107, allocations: 43.88 kB / 439 MB, free: 96 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1072, allocations: 83.77 kB / 439 MB, free: 12 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1074, allocations: 55.88 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.1075, allocations: 8.219 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.1076, allocations: 47.77 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.1077, allocations: 27.84 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1077, allocations: 4 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1078, allocations: 23.94 kB / 439.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.1079, allocations: 19.92 kB / 439.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.1079, allocations: 41.64 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1081, allocations: 84.08 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1081, allocations: 4 kB / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1081, allocations: 0 / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1081, allocations: 0 / 439.4 MB, free: 15.7 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.0004591/0.1086, allocations: 402.8 kB / 439.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1086, allocations: 8.031 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1086, allocations: 7.906 kB / 439.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1089, allocations: 206.9 kB / 440 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1089, allocations: 4 kB / 440 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1089, allocations: 4 kB / 440 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1091, allocations: 57.61 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1091, allocations: 0 / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.1091, allocations: 0 / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1091, allocations: 7.953 kB / 440 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.1092, allocations: 15.98 kB / 440 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.1095, allocations: 281 kB / 440.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1097, allocations: 62.61 kB / 440.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1097, allocations: 0 / 440.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.1099, allocations: 79.38 kB / 440.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1099, allocations: 0 / 440.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004947/0.1104, allocations: 169.3 kB / 440.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1104, allocations: 51.41 kB / 440.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1106, allocations: 186.1 kB / 440.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1106, allocations: 25.7 kB / 440.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.1107, allocations: 108.1 kB / 441 MB, free: 13.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1107, allocations: 23.7 kB / 441 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.1107, allocations: 0 / 441 MB, free: 13.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.1108, allocations: 322.8 kB / 441.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.1109, allocations: 23.98 kB / 441.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.111, allocations: 41.64 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.111, allocations: 24.17 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.111, allocations: 0 / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001665/0.1112, allocations: 97.53 kB / 441.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1112, allocations: 7.953 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1112, allocations: 0 / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1113, allocations: 15.91 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.1113, allocations: 19.97 kB / 441.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1114, allocations: 0 / 441.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.1114, allocations: 4 kB / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1114, allocations: 4 kB / 441.6 MB, free: 13.26 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.605e-05/0.1115, allocations: 125.8 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.1115, allocations: 7.906 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.1116, allocations: 20.66 kB / 441.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1116, allocations: 4 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1116, allocations: 4 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1116, allocations: 0 / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.112, allocations: 395.2 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.112, allocations: 0 / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1121, allocations: 11.94 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1121, allocations: 4 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1121, allocations: 0 / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1121, allocations: 3.984 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1121, allocations: 4.031 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.1123, allocations: 210.2 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.1124, allocations: 88.92 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1124, allocations: 8 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.1125, allocations: 3.984 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1125, allocations: 8 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1126, allocations: 4.375 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1127, allocations: 144 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.1127, allocations: 0 / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.113, allocations: 27.94 kB / 442.6 MB, free: 12.09 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.0009487/0.114, allocations: 483.9 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1141, allocations: 47.98 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1142, allocations: 0 / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.1142, allocations: 39.91 kB / 443.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1145, allocations: 27.88 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.1149, allocations: 234.5 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1151, allocations: 0.7083 MB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.894e-05/0.1152, allocations: 17.12 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.1152, allocations: 15.44 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1152, allocations: 0 / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Templates: time 0.003943/0.1192, allocations: 1.583 MB / 445.8 MB, free: 8.922 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) Environment - environmentSimulation: