Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00641/0.00641, allocations: 101 kB / 15.73 MB, free: 6.047 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.001193/0.001193, allocations: 188 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.667/1.667, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3479/0.3479, allocations: 37.99 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.002269/0.002269, allocations: 75.89 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4018, allocations: 56.45 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002764/0.4046, allocations: 1.668 MB / 491.2 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.4059, allocations: 0.8163 MB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.406, allocations: 1.062 kB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.4063, allocations: 50.48 kB / 492 MB, free: 18.27 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.0002424/0.4066, allocations: 52.47 kB / 492.1 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.4069, allocations: 84.08 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.4071, allocations: 95.89 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4072, allocations: 19.47 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.4073, allocations: 41.62 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.4074, allocations: 29.38 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.4074, allocations: 4.344 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.4075, allocations: 41.84 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.4076, allocations: 25.66 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.4076, allocations: 36.5 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.4079, allocations: 124.2 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4079, allocations: 0.9375 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4079, allocations: 1.125 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4079, allocations: 3.938 kB / 492.6 MB, free: 18 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.0005426/0.4084, allocations: 421.2 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4085, allocations: 16.5 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.4086, allocations: 13.84 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.4088, allocations: 206.2 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4088, allocations: 5.656 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4089, allocations: 7.438 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.409, allocations: 53.89 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4091, allocations: 5.578 kB / 493.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4091, allocations: 0 / 493.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4091, allocations: 5.062 kB / 493.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.4092, allocations: 21.16 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.4095, allocations: 297.8 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.4097, allocations: 57.55 kB / 493.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.4098, allocations: 22.53 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4098, allocations: 1.906 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.4099, allocations: 69.36 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.41, allocations: 0 / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000554/0.4105, allocations: 175.2 kB / 493.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.4106, allocations: 56.5 kB / 494 MB, free: 16.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4108, allocations: 219.1 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.4108, allocations: 27.11 kB / 494.2 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.4108, allocations: 109.5 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.4109, allocations: 22.03 kB / 494.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.4109, allocations: 30.77 kB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.411, allocations: 327.4 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.411, allocations: 21.44 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.4111, allocations: 35.55 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.4112, allocations: 61.16 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4112, allocations: 0 / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.4114, allocations: 109.5 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4114, allocations: 6.234 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4115, allocations: 0.9688 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4115, allocations: 0.875 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.4116, allocations: 15.31 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4116, allocations: 1.609 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.4116, allocations: 10.7 kB / 495 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.4117, allocations: 4.266 kB / 495 MB, free: 15.97 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.335e-05/0.4117, allocations: 132.5 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.4118, allocations: 14.23 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.4118, allocations: 17.39 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4118, allocations: 1.281 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4118, allocations: 4.547 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4118, allocations: 4.547 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.4122, allocations: 393.8 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4123, allocations: 1.094 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.4123, allocations: 21.02 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4123, allocations: 1.25 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4123, allocations: 10.44 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4123, allocations: 5.047 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4123, allocations: 5.078 kB / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.4125, allocations: 197.5 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.4126, allocations: 93.48 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.4126, allocations: 5.938 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.4127, allocations: 3.453 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.4127, allocations: 9.609 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4127, allocations: 8.531 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.4129, allocations: 171.1 kB / 496.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4129, allocations: 0 / 496.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.4132, allocations: 22.75 kB / 496.1 MB, free: 15.06 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.0009738/0.4141, allocations: 470.1 kB / 496.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.4143, allocations: 57.27 kB / 496.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4144, allocations: 0 / 496.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.4144, allocations: 32.98 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.4148, allocations: 34.73 kB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.4153, allocations: 264 kB / 496.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.4155, allocations: 0.7064 MB / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.4155, allocations: 25.48 kB / 497.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.4156, allocations: 16.03 kB / 497.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4156, allocations: 0 / 497.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.00696/0.4226, allocations: 1.718 MB / 499.4 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)