Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006517/0.006517, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.00144/0.00144, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3624/0.3624, allocations: 38 MB / 307.9 MB, free: 9.926 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.002815/0.002815, allocations: 75.88 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4482, allocations: 56.45 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003347/0.4516, allocations: 1.636 MB / 491.1 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4531, allocations: 0.7899 MB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.4532, allocations: 1.156 kB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.4536, allocations: 64.89 kB / 492 MB, free: 18.25 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.0002841/0.4539, allocations: 64.81 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.4542, allocations: 74.66 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.4545, allocations: 98.77 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.4545, allocations: 9.562 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.4547, allocations: 43.47 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.4548, allocations: 45.05 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.4548, allocations: 6.438 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4549, allocations: 38.12 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.455, allocations: 16.78 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.4551, allocations: 33.88 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.4553, allocations: 95.08 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4554, allocations: 3.938 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4554, allocations: 0 / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4554, allocations: 1.781 kB / 492.5 MB, free: 18.01 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.0006253/0.456, allocations: 398.2 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.4561, allocations: 13.14 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.4561, allocations: 21.19 kB / 492.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.4564, allocations: 206.9 kB / 493.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4565, allocations: 384 / 493.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.4565, allocations: 6.031 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4567, allocations: 51.69 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4567, allocations: 0 / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4567, allocations: 0 / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.4567, allocations: 1.484 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.4568, allocations: 14.77 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.457, allocations: 183.5 kB / 493.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.4572, allocations: 53.22 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.4573, allocations: 22.75 kB / 493.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.4573, allocations: 1.156 kB / 493.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.4575, allocations: 73.08 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.4575, allocations: 0 / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003097/0.4578, allocations: 95.09 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.4579, allocations: 53.5 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.4581, allocations: 187.7 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4581, allocations: 30.36 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.4582, allocations: 99.14 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.4583, allocations: 11.48 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.4583, allocations: 24.06 kB / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.4584, allocations: 325.6 kB / 494.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.4585, allocations: 15.42 kB / 494.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.4585, allocations: 25.73 kB / 494.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.4586, allocations: 45.98 kB / 494.4 MB, free: 16.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4586, allocations: 0 / 494.4 MB, free: 16.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/0.4588, allocations: 88.52 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4588, allocations: 5.062 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.4588, allocations: 2.516 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4588, allocations: 3.938 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.4589, allocations: 11.36 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.459, allocations: 0.9375 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.459, allocations: 7.391 kB / 494.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.459, allocations: 2.078 kB / 494.6 MB, free: 16.17 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.497e-05/0.4591, allocations: 137.2 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.4591, allocations: 9.188 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.4592, allocations: 13.41 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4592, allocations: 1.031 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4592, allocations: 1.031 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4592, allocations: 0.7031 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.4594, allocations: 185.4 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4594, allocations: 0 / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.4594, allocations: 3.938 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4594, allocations: 1.156 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4594, allocations: 5.875 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4594, allocations: 4 kB / 494.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4594, allocations: 5.031 kB / 494.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.4596, allocations: 104.7 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.4597, allocations: 84.41 kB / 495.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.4597, allocations: 5.125 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.4598, allocations: 3.141 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.4598, allocations: 3.531 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.4598, allocations: 10.67 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.46, allocations: 143.6 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.46, allocations: 0 / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.4602, allocations: 23.39 kB / 495.3 MB, free: 15.52 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.001068/0.4613, allocations: 417 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.4615, allocations: 44.34 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4616, allocations: 0 / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.4616, allocations: 22.28 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.4619, allocations: 30.02 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.4624, allocations: 199.9 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.4627, allocations: 0.7015 MB / 496.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.4627, allocations: 13.77 kB / 496.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.4628, allocations: 22.78 kB / 496.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4628, allocations: 0 / 496.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Templates: time 0.005801/0.4686, allocations: 1.468 MB / 498.2 MB, free: 14.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)