Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006182/0.006182, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.001442/0.001442, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.495/1.495, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.325/0.325, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.002737/0.002737, allocations: 67.91 kB / 433 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4624, allocations: 56.47 MB / 489.5 MB, free: 20.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003853/0.4663, allocations: 1.672 MB / 491.2 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.4681, allocations: 0.8076 MB / 492 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.4683, allocations: 1.406 kB / 492 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.4687, allocations: 53.5 kB / 492 MB, free: 18.51 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.0003742/0.4691, allocations: 55.22 kB / 492.1 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.4695, allocations: 88.73 kB / 492.2 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.4698, allocations: 95.17 kB / 492.3 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.4699, allocations: 11.11 kB / 492.3 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.4701, allocations: 46.7 kB / 492.3 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.4702, allocations: 33.34 kB / 492.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.4702, allocations: 4.5 kB / 492.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.4704, allocations: 41.41 kB / 492.4 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.4705, allocations: 27.92 kB / 492.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.4706, allocations: 42.19 kB / 492.5 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.471, allocations: 126.6 kB / 492.6 MB, free: 18.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.471, allocations: 0.5625 kB / 492.6 MB, free: 18.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.471, allocations: 1.031 kB / 492.6 MB, free: 18.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.471, allocations: 0 / 492.6 MB, free: 18.24 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.0007655/0.4718, allocations: 451.6 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4718, allocations: 13.45 kB / 493.1 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.4719, allocations: 19.75 kB / 493.1 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.4723, allocations: 225.6 kB / 493.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4723, allocations: 2.812 kB / 493.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.4723, allocations: 10.05 kB / 493.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4725, allocations: 50.8 kB / 493.4 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.4726, allocations: 0 / 493.4 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.4726, allocations: 4.75 kB / 493.4 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4726, allocations: 9 kB / 493.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.4727, allocations: 23.09 kB / 493.4 MB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.4732, allocations: 296.8 kB / 493.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.4733, allocations: 52.91 kB / 493.7 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.4734, allocations: 18.97 kB / 493.8 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.4735, allocations: 6.266 kB / 493.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.4736, allocations: 69.72 kB / 493.8 MB, free: 17.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.4736, allocations: 0 / 493.8 MB, free: 17.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006298/0.4743, allocations: 187.5 kB / 494 MB, free: 17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.4743, allocations: 52.11 kB / 494.1 MB, free: 16.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.4746, allocations: 259.2 kB / 494.3 MB, free: 16.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.4746, allocations: 26.64 kB / 494.3 MB, free: 16.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.4747, allocations: 115 kB / 494.5 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.4747, allocations: 26.27 kB / 494.5 MB, free: 16.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.4748, allocations: 26.36 kB / 494.5 MB, free: 16.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.4749, allocations: 328.3 kB / 494.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.4749, allocations: 21.64 kB / 494.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.475, allocations: 35.75 kB / 494.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4751, allocations: 68.98 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4751, allocations: 1.094 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002098/0.4754, allocations: 97.72 kB / 495.1 MB, free: 16.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4754, allocations: 6 kB / 495.1 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4754, allocations: 1.156 kB / 495.1 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4754, allocations: 5 kB / 495.1 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4755, allocations: 15.95 kB / 495.1 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4756, allocations: 1.953 kB / 495.1 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.4756, allocations: 10.42 kB / 495.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4757, allocations: 6.719 kB / 495.1 MB, free: 16.14 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 (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 0.0001095/0.4758, allocations: 133.7 kB / 495.2 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4758, allocations: 14.38 kB / 495.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.4759, allocations: 19.03 kB / 495.3 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4759, allocations: 5.125 kB / 495.3 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4759, allocations: 1.125 kB / 495.3 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4759, allocations: 5.438 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.4765, allocations: 405.1 kB / 495.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4765, allocations: 1.094 kB / 495.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.4766, allocations: 13.38 kB / 495.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4766, allocations: 1.031 kB / 495.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4766, allocations: 13.45 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.4766, allocations: 1.812 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4766, allocations: 1.156 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.4769, allocations: 209.7 kB / 495.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.477, allocations: 94.92 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.477, allocations: 5.734 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.4771, allocations: 3 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.4772, allocations: 4.844 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4772, allocations: 4.75 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.4774, allocations: 195.5 kB / 496.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.4774, allocations: 0 / 496.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.4778, allocations: 34.59 kB / 496.2 MB, free: 15.22 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.00114/0.4789, allocations: 473.8 kB / 496.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4792, allocations: 59.8 kB / 496.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4792, allocations: 1.125 kB / 496.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.4793, allocations: 27.36 kB / 496.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4797, allocations: 38.75 kB / 496.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.4803, allocations: 281.2 kB / 497.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.4805, allocations: 0.7236 MB / 497.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.4806, allocations: 21.42 kB / 497.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.4807, allocations: 16.48 kB / 497.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4807, allocations: 0 / 497.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Templates: time 0.00639/0.4871, allocations: 1.727 MB / 499.6 MB, free: 13.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)