Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006324/0.006324, allocations: 101.2 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.001337/0.001337, allocations: 195.8 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.538/1.538, 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.3347/0.3347, allocations: 37.99 MB / 307.9 MB, free: 10.06 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.001932/0.001932, allocations: 76.5 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4319, allocations: 56.45 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004611/0.4366, allocations: 1.639 MB / 491.2 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.4386, allocations: 0.796 MB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.4387, allocations: 1.156 kB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.4391, allocations: 50.22 kB / 492 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.0003161/0.4394, allocations: 58.2 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.4398, allocations: 74.62 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.44, allocations: 96.8 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.4401, allocations: 8.781 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4402, allocations: 33.66 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.4403, allocations: 29.41 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.4403, allocations: 2.344 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.4405, allocations: 38.59 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.4406, allocations: 30.62 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.4407, allocations: 35.38 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.441, allocations: 116.2 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4411, allocations: 1.062 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4411, allocations: 0 / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4411, allocations: 0 / 492.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007777/0.4419, allocations: 426.8 kB / 492.9 MB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.4419, allocations: 14.81 kB / 492.9 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.442, allocations: 14.78 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.4424, allocations: 232.2 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4424, allocations: 2.297 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.4424, allocations: 6.344 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.4426, allocations: 46.78 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4426, allocations: 0 / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4426, allocations: 1.188 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4426, allocations: 0 / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4428, allocations: 15.62 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.443, allocations: 198.3 kB / 493.4 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4432, allocations: 52.33 kB / 493.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.4433, allocations: 25.98 kB / 493.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4433, allocations: 1.094 kB / 493.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.4435, allocations: 62.14 kB / 493.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.4435, allocations: 4 kB / 493.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000369/0.4439, allocations: 102.2 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.444, allocations: 52.34 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.4443, allocations: 258.3 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4444, allocations: 25.7 kB / 494 MB, free: 16.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.4445, allocations: 111.8 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.4445, allocations: 12.14 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.4446, allocations: 23.73 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.4447, allocations: 327.4 kB / 494.5 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.4448, allocations: 14.55 kB / 494.5 MB, free: 16.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.4448, allocations: 30.27 kB / 494.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.445, allocations: 46.23 kB / 494.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.445, allocations: 0 / 494.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002268/0.4452, allocations: 91.53 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4453, allocations: 4.781 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4453, allocations: 3.938 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4453, allocations: 1.094 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4454, allocations: 19.81 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4454, allocations: 0 / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.4455, allocations: 3.219 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.4455, allocations: 2.922 kB / 494.7 MB, free: 16.09 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 0.0001147/0.4456, allocations: 141.2 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.4457, allocations: 18.5 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.4458, allocations: 17.72 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4458, allocations: 1 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4458, allocations: 0 / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4458, allocations: 0.7031 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.446, allocations: 197.2 kB / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.446, allocations: 1.766 kB / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.446, allocations: 7.984 kB / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4461, allocations: 0 / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4461, allocations: 5.984 kB / 495.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4461, allocations: 1.188 kB / 495.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4461, allocations: 4 kB / 495.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4464, allocations: 114.3 kB / 495.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.4464, allocations: 89.05 kB / 495.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4465, allocations: 5.594 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.4465, allocations: 3.266 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.4466, allocations: 3.922 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.4466, allocations: 2.797 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.4469, allocations: 198.5 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4469, allocations: 0 / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.4473, allocations: 18.97 kB / 495.5 MB, free: 15.41 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.001324/0.4486, allocations: 420.5 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.4488, allocations: 41.86 kB / 496 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4489, allocations: 0 / 496 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.4489, allocations: 18.48 kB / 496 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.4494, allocations: 41.52 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.4502, allocations: 257 kB / 496.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.4505, allocations: 0.7128 MB / 497 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.821e-05/0.4506, allocations: 18.94 kB / 497 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.4507, allocations: 13.52 kB / 497 MB, free: 14.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4507, allocations: 5.094 kB / 497 MB, free: 14.16 MB / 382.1 MB Notification: Performance of Templates: time 0.007652/0.4583, allocations: 1.525 MB / 498.5 MB, free: 13.97 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)