Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005896/0.005896, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001199/0.001199, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.66/1.66, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.4211/0.4211, allocations: 38 MB / 307.9 MB, free: 10.21 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.001455/0.001455, allocations: 75.91 kB / 433.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3986, allocations: 56.45 MB / 489.5 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003088/0.4017, allocations: 1.668 MB / 491.2 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.403, allocations: 0.8095 MB / 492 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.4031, allocations: 4 kB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.4035, allocations: 44.78 kB / 492 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.00023/0.4037, allocations: 47.05 kB / 492.1 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.404, allocations: 88.83 kB / 492.2 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.4042, allocations: 98.14 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4043, allocations: 19.61 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.4044, allocations: 41.08 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.4046, allocations: 31.7 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.4046, allocations: 3.219 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.4047, allocations: 43.03 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.4048, allocations: 17.17 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.4048, allocations: 37.45 kB / 492.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.4051, allocations: 111 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4051, allocations: 0 / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4051, allocations: 0 / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4051, allocations: 0 / 492.6 MB, free: 18.04 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.0005416/0.4056, allocations: 417.1 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4057, allocations: 14.36 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.4057, allocations: 9.406 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.406, allocations: 202.5 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.406, allocations: 2.719 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4061, allocations: 10.81 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.4062, allocations: 57.5 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4062, allocations: 8.453 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4063, allocations: 1.062 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4063, allocations: 0 / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.4064, allocations: 19.03 kB / 493.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.4067, allocations: 285.6 kB / 493.6 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.4069, allocations: 61.22 kB / 493.6 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.407, allocations: 23.94 kB / 493.7 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.407, allocations: 1.156 kB / 493.7 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.4071, allocations: 66.38 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.4072, allocations: 0 / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.4077, allocations: 175.7 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.4078, allocations: 53.09 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.408, allocations: 189.5 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.408, allocations: 30.86 kB / 494.2 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.408, allocations: 99.56 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.4081, allocations: 25.27 kB / 494.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.4081, allocations: 23.11 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.4082, allocations: 325.7 kB / 494.6 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.4082, allocations: 22.36 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.4083, allocations: 42.47 kB / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.4084, allocations: 57.97 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4084, allocations: 0 / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.4086, allocations: 100.7 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4087, allocations: 7.484 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4087, allocations: 0 / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4087, allocations: 0.9062 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.4088, allocations: 20.39 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4088, allocations: 0 / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.4089, allocations: 18.94 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.4089, allocations: 3.625 kB / 494.9 MB, free: 16.04 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 8.228e-05/0.409, allocations: 125.1 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.409, allocations: 9 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.409, allocations: 15.08 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.409, allocations: 1.094 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4091, allocations: 1.125 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4091, allocations: 8.828 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.4095, allocations: 386.3 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4095, allocations: 0 / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.4095, allocations: 13.28 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4095, allocations: 1.125 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4096, allocations: 6.797 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4096, allocations: 1.25 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4096, allocations: 1.062 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.4098, allocations: 224.1 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.4098, allocations: 84.34 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4099, allocations: 10.91 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.4099, allocations: 3.359 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.41, allocations: 5.469 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.41, allocations: 4.203 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4101, allocations: 147 kB / 495.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4101, allocations: 0 / 495.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.4104, allocations: 26.27 kB / 495.9 MB, free: 15.14 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.001084/0.4115, allocations: 468.5 kB / 496.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.4117, allocations: 56.83 kB / 496.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4117, allocations: 0 / 496.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.4118, allocations: 32.86 kB / 496.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.4122, allocations: 35.16 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.4126, allocations: 218.1 kB / 496.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.4129, allocations: 0.7086 MB / 497.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.233e-05/0.4129, allocations: 20.56 kB / 497.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.413, allocations: 20.64 kB / 497.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.413, allocations: 0 / 497.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Templates: time 0.005505/0.4185, allocations: 1.695 MB / 499.2 MB, free: 13.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)