Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006996/0.006996, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001683/0.001683, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3585/0.3585, allocations: 38 MB / 307.9 MB, free: 10.24 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.001843/0.001843, allocations: 71.91 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4405, allocations: 56.45 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003822/0.4444, allocations: 1.623 MB / 491.1 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.4459, allocations: 0.7934 MB / 491.9 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.446, allocations: 1.062 kB / 491.9 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.4464, allocations: 57.72 kB / 492 MB, free: 18.32 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.0002495/0.4467, allocations: 55.39 kB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.4469, allocations: 78.09 kB / 492.1 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.4472, allocations: 89.56 kB / 492.2 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.4472, allocations: 12.08 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4473, allocations: 41.83 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4475, allocations: 25.55 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4475, allocations: 7.25 kB / 492.3 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.713e-05/0.4476, allocations: 33.64 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.4477, allocations: 28.55 kB / 492.4 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.4477, allocations: 36.67 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.448, allocations: 117.1 kB / 492.5 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.448, allocations: 0 / 492.5 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.448, allocations: 0 / 492.5 MB, free: 18.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.448, allocations: 0.9688 kB / 492.5 MB, free: 18.07 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.0005923/0.4486, allocations: 431.4 kB / 492.9 MB, free: 17.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4487, allocations: 14.11 kB / 492.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.4487, allocations: 18.66 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.449, allocations: 225.4 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.449, allocations: 1.75 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.4491, allocations: 5.375 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.4492, allocations: 51.03 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4492, allocations: 3.984 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4493, allocations: 5.062 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4493, allocations: 1.062 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.4494, allocations: 15.39 kB / 493.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.4496, allocations: 189.5 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.4497, allocations: 56.59 kB / 493.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.4498, allocations: 23.8 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.4498, allocations: 5.812 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.45, allocations: 59.3 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.45, allocations: 0 / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000309/0.4503, allocations: 102.5 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.4504, allocations: 52.41 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.4507, allocations: 257.8 kB / 494 MB, free: 16.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.4507, allocations: 35.14 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.4508, allocations: 110.8 kB / 494.1 MB, free: 16.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4508, allocations: 8.094 kB / 494.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.4509, allocations: 20.14 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.451, allocations: 327.6 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.4511, allocations: 14.33 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.4511, allocations: 30.31 kB / 494.5 MB, free: 16.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4512, allocations: 50.28 kB / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4513, allocations: 0 / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001602/0.4514, allocations: 90.38 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4514, allocations: 5.594 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4515, allocations: 0 / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4515, allocations: 2.5 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.4516, allocations: 13.58 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4516, allocations: 1.5 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.4517, allocations: 11 kB / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.4517, allocations: 6.938 kB / 494.7 MB, free: 16.15 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 9.597e-05/0.4518, allocations: 132.4 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.4518, allocations: 15.06 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.4519, allocations: 17.47 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4519, allocations: 1.469 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4519, allocations: 0 / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4519, allocations: 0.5625 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.452, allocations: 201.7 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.452, allocations: 4.516 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.4521, allocations: 8.109 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4521, allocations: 1.094 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4521, allocations: 1.734 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4521, allocations: 0.5625 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4521, allocations: 0 / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.4523, allocations: 120 kB / 495.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.4524, allocations: 88.23 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.4524, allocations: 5.703 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.4524, allocations: 1.641 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.4525, allocations: 8.141 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4525, allocations: 2.906 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.4527, allocations: 191.1 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4527, allocations: 0 / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.4529, allocations: 23.38 kB / 495.5 MB, free: 15.48 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.0009858/0.4539, allocations: 430.5 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.4541, allocations: 43.77 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4542, allocations: 1.406 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.839e-05/0.4542, allocations: 17.62 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.4545, allocations: 33.84 kB / 496 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.4552, allocations: 262.3 kB / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.4555, allocations: 0.7115 MB / 497 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.4556, allocations: 10.73 kB / 497 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.4556, allocations: 19.08 kB / 497 MB, free: 14.22 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4556, allocations: 0 / 497 MB, free: 14.22 MB / 382.1 MB Notification: Performance of Templates: time 0.005535/0.4611, allocations: 1.509 MB / 498.5 MB, free: 14.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)