Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005474/0.005474, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001977/0.001977, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3782/0.3782, allocations: 38.01 MB / 307.9 MB, free: 10.35 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.001594/0.001594, allocations: 67.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4357, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004512/0.4402, allocations: 1.626 MB / 491.1 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.4423, allocations: 0.7914 MB / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.4424, allocations: 5.25 kB / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.443, allocations: 84.86 kB / 492 MB, free: 18.19 MB / 382.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.0004087/0.4434, allocations: 78.42 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.4438, allocations: 78 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.4441, allocations: 102.1 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.421e-05/0.4442, allocations: 10.48 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.4444, allocations: 48.22 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.4446, allocations: 54.77 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.4447, allocations: 3.75 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4448, allocations: 29.84 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.4449, allocations: 19.58 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.445, allocations: 36.97 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.4453, allocations: 98.5 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.4453, allocations: 4.906 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4453, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4454, allocations: 0 / 492.6 MB, free: 17.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007283/0.4461, allocations: 421.6 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.4462, allocations: 14.84 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.4462, allocations: 8.625 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.4466, allocations: 211.8 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4467, allocations: 1.5 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.4467, allocations: 6.219 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.4469, allocations: 46.83 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4469, allocations: 3.938 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.447, allocations: 4.703 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.447, allocations: 1.344 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4471, allocations: 18.31 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.4474, allocations: 184.3 kB / 493.5 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4476, allocations: 53.39 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.4477, allocations: 24.12 kB / 493.5 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.4477, allocations: 5.094 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.448, allocations: 64.48 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.913e-06/0.448, allocations: 0 / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004548/0.4485, allocations: 92.36 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4485, allocations: 53.61 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.4488, allocations: 214 kB / 494 MB, free: 16.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4489, allocations: 30.95 kB / 494 MB, free: 16.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.449, allocations: 103.8 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.449, allocations: 15.55 kB / 494.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.4491, allocations: 24.62 kB / 494.1 MB, free: 16.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.4492, allocations: 322.4 kB / 494.5 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.4493, allocations: 13.17 kB / 494.5 MB, free: 16.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.4494, allocations: 31.3 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4495, allocations: 55.56 kB / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4496, allocations: 0 / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002513/0.4498, allocations: 84.12 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4499, allocations: 5.75 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4499, allocations: 1.094 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4499, allocations: 5.109 kB / 494.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.45, allocations: 10.2 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4501, allocations: 1.156 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.4502, allocations: 11.61 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4502, allocations: 2.625 kB / 494.7 MB, free: 16.07 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 (7): * Single equations (assignments): 7 * 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.0001266/0.4503, allocations: 135.7 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.4504, allocations: 9.656 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.4504, allocations: 11.52 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4504, allocations: 1.344 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4505, allocations: 0 / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4505, allocations: 0.7969 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4507, allocations: 196 kB / 495 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4507, allocations: 5.125 kB / 495 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.4507, allocations: 6.875 kB / 495 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4508, allocations: 1.125 kB / 495 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4508, allocations: 1.844 kB / 495 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4508, allocations: 0.6562 kB / 495 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4508, allocations: 5.031 kB / 495 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.4511, allocations: 108.9 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.4511, allocations: 84.45 kB / 495.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.4512, allocations: 10.11 kB / 495.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.4513, allocations: 6.625 kB / 495.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4513, allocations: 3.109 kB / 495.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.4514, allocations: 3.547 kB / 495.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.4516, allocations: 156.6 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4516, allocations: 0 / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.452, allocations: 17.64 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001638/0.4536, allocations: 417.6 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.4539, allocations: 44.72 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.454, allocations: 1.188 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.4541, allocations: 22.16 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.4546, allocations: 34.86 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.4554, allocations: 216.2 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.4557, allocations: 0.705 MB / 496.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.4558, allocations: 11.12 kB / 496.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.4559, allocations: 18.05 kB / 496.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.52e-07/0.4559, allocations: 0 / 496.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of Templates: time 0.007371/0.4633, allocations: 1.488 MB / 498.4 MB, free: 14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)