Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00911/0.00911, allocations: 102 kB / 15.73 MB, free: 6.043 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.00193/0.001929, allocations: 195 kB / 16.67 MB, free: 5.965 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.741/1.741, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.396/0.396, allocations: 38 MB / 307.9 MB, free: 10.01 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.00155/0.001551, allocations: 71.89 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3625, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00288/0.3654, allocations: 1.671 MB / 491.2 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3668, allocations: 0.8055 MB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.3669, allocations: 4.594 kB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.3673, allocations: 82.75 kB / 492.1 MB, free: 18.3 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.0003244/0.3676, allocations: 77.34 kB / 492.2 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.368, allocations: 80.41 kB / 492.2 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3683, allocations: 106.3 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3684, allocations: 19.83 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3685, allocations: 46.38 kB / 492.4 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3687, allocations: 62.91 kB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.3687, allocations: 2.406 kB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3689, allocations: 43.77 kB / 492.5 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.3689, allocations: 26.95 kB / 492.5 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.369, allocations: 34.38 kB / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.3693, allocations: 115.1 kB / 492.7 MB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3693, allocations: 0 / 492.7 MB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3693, allocations: 0 / 492.7 MB, free: 18.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3693, allocations: 0.9062 kB / 492.7 MB, free: 18.03 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.0005724/0.3699, allocations: 423.8 kB / 493.1 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3699, allocations: 12.86 kB / 493.1 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.37, allocations: 10.78 kB / 493.1 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3703, allocations: 219.2 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3703, allocations: 1.438 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.3704, allocations: 11.61 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3705, allocations: 58.5 kB / 493.4 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3706, allocations: 0 / 493.4 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3706, allocations: 1.031 kB / 493.4 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3706, allocations: 5.344 kB / 493.4 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.3707, allocations: 16.98 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.371, allocations: 288.6 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3712, allocations: 56.39 kB / 493.8 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.3713, allocations: 21.02 kB / 493.8 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3713, allocations: 9.125 kB / 493.8 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.3715, allocations: 62.42 kB / 493.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.3715, allocations: 3.984 kB / 493.9 MB, free: 16.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006111/0.3721, allocations: 180.5 kB / 494 MB, free: 16.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3721, allocations: 53.41 kB / 494.1 MB, free: 16.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.3724, allocations: 218 kB / 494.3 MB, free: 16.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3724, allocations: 31.72 kB / 494.3 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.3725, allocations: 104.4 kB / 494.4 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3725, allocations: 29.88 kB / 494.5 MB, free: 16.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3726, allocations: 22.34 kB / 494.5 MB, free: 16.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.3726, allocations: 331.3 kB / 494.8 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.3727, allocations: 17.45 kB / 494.8 MB, free: 16.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-05/0.3728, allocations: 34.61 kB / 494.9 MB, free: 16.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3729, allocations: 66.59 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3729, allocations: 0 / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.3731, allocations: 102.3 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3731, allocations: 5.078 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3731, allocations: 1.5 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3732, allocations: 1.469 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3733, allocations: 15.72 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3733, allocations: 3.938 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.3734, allocations: 11.67 kB / 495.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3734, allocations: 2.906 kB / 495.1 MB, free: 15.99 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.0001098/0.3735, allocations: 128 kB / 495.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3735, allocations: 14.38 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.3736, allocations: 15.23 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3736, allocations: 1.281 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3736, allocations: 2.297 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3736, allocations: 3.938 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.374, allocations: 404.1 kB / 495.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3741, allocations: 5.938 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.3741, allocations: 8.344 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3741, allocations: 1.125 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3741, allocations: 6.141 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3741, allocations: 0.9062 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3741, allocations: 1.438 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3744, allocations: 209.1 kB / 495.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.3744, allocations: 85.83 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3745, allocations: 9.672 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.3745, allocations: 3.328 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3746, allocations: 5.641 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3746, allocations: 8.328 kB / 496 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.3748, allocations: 160.6 kB / 496.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3748, allocations: 4 kB / 496.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3751, allocations: 23.08 kB / 496.1 MB, free: 15.09 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.001089/0.3761, allocations: 465.5 kB / 496.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3764, allocations: 61.05 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3764, allocations: 1.125 kB / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.756e-05/0.3765, allocations: 35.73 kB / 496.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3768, allocations: 30.64 kB / 496.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.3773, allocations: 237.7 kB / 496.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.3775, allocations: 0.7168 MB / 497.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.3776, allocations: 13.5 kB / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.3776, allocations: 16.67 kB / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3776, allocations: 0 / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Templates: time 0.005547/0.3832, allocations: 1.72 MB / 499.4 MB, free: 13.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)