Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008538/0.008538, allocations: 98.14 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.001754/0.001754, allocations: 199.8 kB / 16.68 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.614/1.614, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3729/0.3729, allocations: 38 MB / 307.9 MB, free: 10.02 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.001322/0.001322, allocations: 71.91 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4404, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003848/0.4443, allocations: 1.674 MB / 491.2 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.4459, allocations: 0.8064 MB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.446, allocations: 8.938 kB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.4465, allocations: 90.23 kB / 492.1 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.0003369/0.4468, allocations: 75.81 kB / 492.2 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.4472, allocations: 87.36 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.4475, allocations: 104.6 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4476, allocations: 18.97 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.4478, allocations: 53.67 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.4479, allocations: 62.45 kB / 492.5 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4479, allocations: 3.281 kB / 492.5 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.4481, allocations: 42.94 kB / 492.5 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.275e-05/0.4482, allocations: 29.08 kB / 492.6 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.4482, allocations: 38.94 kB / 492.6 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.4485, allocations: 118.4 kB / 492.7 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4485, allocations: 1.891 kB / 492.7 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4485, allocations: 0 / 492.7 MB, free: 17.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.4486, allocations: 0 / 492.7 MB, free: 17.97 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.0006738/0.4492, allocations: 425.4 kB / 493.1 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4493, allocations: 13.8 kB / 493.1 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.4494, allocations: 15.12 kB / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4497, allocations: 219.5 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4498, allocations: 1.75 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.4498, allocations: 6.484 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.45, allocations: 53.97 kB / 493.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.45, allocations: 1.125 kB / 493.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.45, allocations: 0.6562 kB / 493.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.45, allocations: 9.156 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.4501, allocations: 18.08 kB / 493.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.4506, allocations: 289.5 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4508, allocations: 60.3 kB / 493.8 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.4509, allocations: 24.02 kB / 493.8 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.4509, allocations: 1.188 kB / 493.8 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.4511, allocations: 66.02 kB / 493.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4511, allocations: 0 / 493.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006419/0.4517, allocations: 182.3 kB / 494.1 MB, free: 16.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4518, allocations: 52.88 kB / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.452, allocations: 215.6 kB / 494.3 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4521, allocations: 34.77 kB / 494.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.4522, allocations: 113.3 kB / 494.5 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.4522, allocations: 25.67 kB / 494.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.4523, allocations: 22.25 kB / 494.5 MB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.4524, allocations: 330.8 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.4524, allocations: 17.98 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.4525, allocations: 35.06 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.4526, allocations: 61.3 kB / 495 MB, free: 16.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4527, allocations: 1.594 kB / 495 MB, free: 16.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.4529, allocations: 106 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.4529, allocations: 5.406 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4529, allocations: 1.094 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4529, allocations: 5.219 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4531, allocations: 19.23 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4531, allocations: 1.312 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.4531, allocations: 11.31 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.4531, allocations: 2.75 kB / 495.1 MB, free: 15.93 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.0001212/0.4533, allocations: 128.6 kB / 495.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.4533, allocations: 14.58 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.4534, allocations: 24.88 kB / 495.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4534, allocations: 1.312 kB / 495.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4534, allocations: 0.6562 kB / 495.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4534, allocations: 6.172 kB / 495.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.4539, allocations: 396.5 kB / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4539, allocations: 0.5156 kB / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.4539, allocations: 10.12 kB / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4539, allocations: 0 / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.454, allocations: 15.95 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.454, allocations: 0 / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.454, allocations: 1.875 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.4542, allocations: 204.8 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4543, allocations: 84.66 kB / 496 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4543, allocations: 10.11 kB / 496 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.4544, allocations: 4.016 kB / 496 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.4545, allocations: 10.27 kB / 496 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4545, allocations: 3.703 kB / 496 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.4547, allocations: 170.8 kB / 496.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4547, allocations: 4 kB / 496.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.455, allocations: 21.36 kB / 496.2 MB, free: 15.03 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.001224/0.4562, allocations: 465.8 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.4564, allocations: 63.89 kB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4565, allocations: 0 / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/0.4565, allocations: 33.53 kB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4569, allocations: 30.53 kB / 496.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.4574, allocations: 256.1 kB / 497 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.4577, allocations: 0.7137 MB / 497.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.4577, allocations: 17.83 kB / 497.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.4578, allocations: 15.92 kB / 497.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4578, allocations: 0 / 497.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.006186/0.464, allocations: 1.72 MB / 499.5 MB, free: 13.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)