Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006735/0.006735, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001287/0.001287, allocations: 193.2 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.594/1.594, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.4134/0.4134, allocations: 38 MB / 307.9 MB, free: 9.91 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.001734/0.001734, allocations: 71.91 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4361, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003896/0.44, allocations: 1.663 MB / 491.2 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.4424, allocations: 1.42 MB / 492.6 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.4426, allocations: 1.25 kB / 492.6 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.443, allocations: 32.39 kB / 492.6 MB, free: 17.75 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.0002834/0.4433, allocations: 59.34 kB / 492.7 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.4435, allocations: 88.19 kB / 492.8 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.4438, allocations: 100.2 kB / 492.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4439, allocations: 20.5 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.444, allocations: 46.88 kB / 492.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.4442, allocations: 45.41 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.4442, allocations: 5.312 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.4444, allocations: 62.22 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.4444, allocations: 25.47 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.4445, allocations: 35.69 kB / 493.1 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.4448, allocations: 129.7 kB / 493.2 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4448, allocations: 1.281 kB / 493.2 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4448, allocations: 0 / 493.2 MB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.4448, allocations: 4 kB / 493.2 MB, free: 17.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005514/0.4454, allocations: 411 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4454, allocations: 17.17 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.4455, allocations: 10.73 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.4458, allocations: 210.4 kB / 493.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4458, allocations: 5.031 kB / 493.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.4459, allocations: 2.125 kB / 493.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.4461, allocations: 82.8 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4461, allocations: 6.125 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4461, allocations: 3.984 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4461, allocations: 1.094 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.4462, allocations: 33.39 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.4466, allocations: 287.4 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4468, allocations: 72.2 kB / 494.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.4469, allocations: 27.41 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.4469, allocations: 1.156 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.4471, allocations: 81.47 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.4471, allocations: 0 / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006159/0.4478, allocations: 197.5 kB / 494.7 MB, free: 16.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4478, allocations: 82.17 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.448, allocations: 160.5 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.448, allocations: 26.95 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.448, allocations: 94.05 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.4481, allocations: 27.41 kB / 495 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.4481, allocations: 32.7 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.4482, allocations: 320.1 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.4483, allocations: 28.39 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.4484, allocations: 52.88 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.4485, allocations: 66.91 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.4485, allocations: 0 / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002275/0.4487, allocations: 113.7 kB / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4488, allocations: 5.688 kB / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4488, allocations: 4 kB / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.4488, allocations: 6.406 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4489, allocations: 19.91 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4489, allocations: 1.641 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.449, allocations: 4.328 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.449, allocations: 3.578 kB / 495.7 MB, free: 15.36 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 (11): * Single equations (assignments): 11 * 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.132e-05/0.4491, allocations: 121.7 kB / 495.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.4491, allocations: 14.06 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.4492, allocations: 21.09 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4492, allocations: 1.062 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4492, allocations: 1.938 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4492, allocations: 0.5625 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.4497, allocations: 410 kB / 496.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4497, allocations: 1.062 kB / 496.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.4498, allocations: 15.62 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4498, allocations: 4 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4498, allocations: 7.516 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4498, allocations: 4.5 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4498, allocations: 0.9375 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.4501, allocations: 213.2 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.4501, allocations: 84.38 kB / 496.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.4501, allocations: 9.938 kB / 496.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.4502, allocations: 4.5 kB / 496.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.4503, allocations: 10.41 kB / 496.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4503, allocations: 7.469 kB / 496.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4504, allocations: 127.4 kB / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4504, allocations: 0 / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.4507, allocations: 32.5 kB / 496.8 MB, free: 14.46 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 (9): * Single equations (assignments): 7 * 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.001183/0.4519, allocations: 0.4971 MB / 497.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.4522, allocations: 74.55 kB / 497.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4522, allocations: 1.125 kB / 497.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.4523, allocations: 43.84 kB / 497.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.4526, allocations: 39.11 kB / 497.4 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.4532, allocations: 207.1 kB / 497.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.4534, allocations: 0.6982 MB / 498.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.284e-05/0.4535, allocations: 28.31 kB / 498.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.4536, allocations: 20.36 kB / 498.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4536, allocations: 0 / 498.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of Templates: time 0.006702/0.4603, allocations: 2.075 MB / 0.4887 GB, free: 12.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)