Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006358/0.006358, allocations: 100.9 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.001243/0.001243, allocations: 190 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.613/1.613, 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.3617/0.3617, allocations: 38 MB / 307.9 MB, free: 10.08 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.001533/0.001534, allocations: 67.91 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3922, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003599/0.3959, allocations: 1.623 MB / 491.1 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3974, allocations: 0.7944 MB / 491.9 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.3975, allocations: 0 / 491.9 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.3981, allocations: 69.72 kB / 492 MB, free: 18.26 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.0004261/0.3985, allocations: 64.16 kB / 492.1 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.3989, allocations: 70.88 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.3992, allocations: 98.62 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.3993, allocations: 13.48 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3995, allocations: 47.33 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3997, allocations: 40.41 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.3997, allocations: 7.344 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.3999, allocations: 29.38 kB / 492.4 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.054e-05/0.3999, allocations: 22.5 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.4, allocations: 32.78 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.4003, allocations: 98.95 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4004, allocations: 1 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4004, allocations: 7.938 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4004, allocations: 0 / 492.5 MB, free: 18.02 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.0007981/0.4012, allocations: 394.5 kB / 492.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.4013, allocations: 13.7 kB / 492.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.4013, allocations: 13.62 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.4018, allocations: 205 kB / 493.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4018, allocations: 2.281 kB / 493.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.4019, allocations: 9.453 kB / 493.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.4021, allocations: 50.98 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4021, allocations: 0 / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.4022, allocations: 1.422 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.4022, allocations: 0 / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4023, allocations: 15.95 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.4026, allocations: 183.2 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.4028, allocations: 56.39 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.4029, allocations: 26.86 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.403, allocations: 1.125 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.4032, allocations: 69.59 kB / 493.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4032, allocations: 0 / 493.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003772/0.4036, allocations: 95.42 kB / 493.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4036, allocations: 53.38 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.4038, allocations: 188.6 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.4039, allocations: 29.64 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.4039, allocations: 99.72 kB / 494 MB, free: 16.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.404, allocations: 19.41 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.404, allocations: 20.67 kB / 494 MB, free: 16.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.4041, allocations: 320.9 kB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.4041, allocations: 14.02 kB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.4042, allocations: 30.22 kB / 494.4 MB, free: 16.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.4043, allocations: 45.78 kB / 494.4 MB, free: 16.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4043, allocations: 2.344 kB / 494.4 MB, free: 16.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.4045, allocations: 86.7 kB / 494.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4045, allocations: 5.406 kB / 494.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4045, allocations: 1.594 kB / 494.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.4046, allocations: 5.219 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.4047, allocations: 14.69 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4047, allocations: 0.9062 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.4047, allocations: 3.078 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4047, allocations: 2.922 kB / 494.6 MB, free: 16.18 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.398e-05/0.4048, allocations: 126 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4049, allocations: 8.891 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.4049, allocations: 14.05 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4049, allocations: 1.641 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4049, allocations: 0 / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.405, allocations: 4.844 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.4051, allocations: 189.3 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4051, allocations: 0.8438 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.4051, allocations: 3.719 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4052, allocations: 1.875 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.4052, allocations: 1.672 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4052, allocations: 4 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4052, allocations: 5.094 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.4054, allocations: 112.5 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.4054, allocations: 84.75 kB / 495.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.4055, allocations: 1.922 kB / 495.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.4055, allocations: 5.484 kB / 495.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.4055, allocations: 7.75 kB / 495.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4056, allocations: 7.078 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.4057, allocations: 147 kB / 495.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4057, allocations: 0 / 495.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.406, allocations: 18.36 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.0009745/0.4069, allocations: 422.2 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.4071, allocations: 40.11 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4072, allocations: 1.188 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.4072, allocations: 17.23 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.4075, allocations: 37.73 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.408, allocations: 203.5 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.4082, allocations: 0.6971 MB / 496.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.757e-05/0.4083, allocations: 15.84 kB / 496.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.4083, allocations: 14.41 kB / 496.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4083, allocations: 0 / 496.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Templates: time 0.005181/0.4135, allocations: 1.467 MB / 498.2 MB, free: 14.13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)