Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006773/0.006773, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001282/0.001282, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.1876/0.1876, allocations: 38 MB / 307.9 MB, free: 5.984 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.001479/0.001479, allocations: 72.47 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1062, allocations: 56.47 MB / 489.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002637/0.1089, allocations: 1.668 MB / 491.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.11, allocations: 0.8013 MB / 492 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.1101, allocations: 4 kB / 492 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1104, allocations: 35.77 kB / 492 MB, free: 3.297 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.0002009/0.1106, allocations: 51.75 kB / 492.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1108, allocations: 87.7 kB / 492.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.111, allocations: 95.69 kB / 492.3 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.1111, allocations: 20.22 kB / 492.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.1112, allocations: 43.83 kB / 492.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.1112, allocations: 27.8 kB / 492.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1113, allocations: 4 kB / 492.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.1114, allocations: 43.98 kB / 492.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.1114, allocations: 27.84 kB / 492.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.1115, allocations: 31.75 kB / 492.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1117, allocations: 107.7 kB / 492.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1117, allocations: 0 / 492.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1117, allocations: 4 kB / 492.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1117, allocations: 0 / 492.6 MB, free: 2.762 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.0005655/0.1123, allocations: 411 kB / 493 MB, free: 2.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1123, allocations: 15.89 kB / 493 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1124, allocations: 12.84 kB / 493 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1126, allocations: 212 kB / 493.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1127, allocations: 384 / 493.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1127, allocations: 8.031 kB / 493.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1129, allocations: 69.61 kB / 493.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1129, allocations: 0 / 493.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1129, allocations: 0 / 493.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1129, allocations: 0 / 493.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.113, allocations: 19.98 kB / 493.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1133, allocations: 284.9 kB / 493.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1135, allocations: 70.59 kB / 493.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.1136, allocations: 16.86 kB / 493.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1136, allocations: 0 / 493.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.1138, allocations: 67.39 kB / 493.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1138, allocations: 0 / 493.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005259/0.1143, allocations: 173.1 kB / 493.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1144, allocations: 55.41 kB / 493.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1145, allocations: 182.2 kB / 494.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1146, allocations: 29.7 kB / 494.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.1146, allocations: 104.1 kB / 494.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1147, allocations: 23.66 kB / 494.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1147, allocations: 25.7 kB / 494.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1149, allocations: 326.7 kB / 494.6 MB, free: 492 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.1149, allocations: 20 kB / 494.6 MB, free: 472 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.115, allocations: 45.64 kB / 494.7 MB, free: 420 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1151, allocations: 61.75 kB / 494.7 MB, free: 352 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1151, allocations: 0 / 494.7 MB, free: 352 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.1153, allocations: 97.53 kB / 494.8 MB, free: 248 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1153, allocations: 8.188 kB / 494.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.1154, allocations: 3.984 kB / 494.9 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1154, allocations: 7.969 kB / 494.9 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.1155, allocations: 16 kB / 494.9 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1155, allocations: 0 / 494.9 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.1155, allocations: 8.219 kB / 494.9 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1155, allocations: 8 kB / 494.9 MB, free: 196 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 ($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 (10): * Single equations (assignments): 10 * 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 9.377e-05/0.1156, allocations: 133.5 kB / 495 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1157, allocations: 11.91 kB / 495 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.1157, allocations: 16.7 kB / 495 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1157, allocations: 4 kB / 495.1 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1157, allocations: 4 kB / 495.1 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1157, allocations: 3.938 kB / 495.1 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.1161, allocations: 391.3 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1161, allocations: 0 / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.1162, allocations: 8 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1162, allocations: 0 / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1162, allocations: 7.922 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1162, allocations: 4 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1162, allocations: 0 / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1164, allocations: 208.2 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.1165, allocations: 85.02 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1165, allocations: 3.938 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.1166, allocations: 4 kB / 495.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1166, allocations: 7.984 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1167, allocations: 8 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1168, allocations: 148 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1168, allocations: 3.938 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.117, allocations: 24 kB / 495.9 MB, free: 15.04 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 (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.001008/0.1181, allocations: 458.5 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1182, allocations: 59.91 kB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1183, allocations: 0 / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1183, allocations: 32.08 kB / 496.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1187, allocations: 35.98 kB / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.1191, allocations: 227.3 kB / 496.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1194, allocations: 0.7002 MB / 497.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.1194, allocations: 8.891 kB / 497.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1195, allocations: 19.42 kB / 497.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1195, allocations: 0 / 497.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of Templates: time 0.00426/0.1238, allocations: 1.708 MB / 499.2 MB, free: 11.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)