Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00619/0.00619, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001271/0.001271, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3695/0.3695, allocations: 38.01 MB / 307.9 MB, free: 10.05 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.002002/0.002002, allocations: 75.89 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4363, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003271/0.4396, allocations: 1.628 MB / 491.1 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.4413, allocations: 0.7968 MB / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.4414, allocations: 0 / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.4418, allocations: 58.16 kB / 492 MB, free: 18.19 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.0002845/0.4421, allocations: 55.61 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.4424, allocations: 78.27 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.4426, allocations: 88.44 kB / 492.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.4427, allocations: 13.52 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.4428, allocations: 41.14 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.4429, allocations: 30.02 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.443, allocations: 2.25 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.4431, allocations: 34.42 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.4432, allocations: 31 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.4432, allocations: 33.83 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4435, allocations: 118 kB / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4435, allocations: 0 / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4435, allocations: 0 / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4435, allocations: 4 kB / 492.5 MB, free: 17.93 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.0005922/0.4441, allocations: 433.7 kB / 492.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4442, allocations: 13.17 kB / 492.9 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.4442, allocations: 14.31 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.4445, allocations: 216.3 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4446, allocations: 6.469 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.4446, allocations: 5.094 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4447, allocations: 51.14 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4448, allocations: 0 / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4448, allocations: 1 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4448, allocations: 0.875 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.655e-05/0.4449, allocations: 19.7 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.4451, allocations: 193.1 kB / 493.4 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.4453, allocations: 52.8 kB / 493.5 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.4453, allocations: 27.47 kB / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4453, allocations: 1.281 kB / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.4455, allocations: 64.59 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.4455, allocations: 1.219 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003127/0.4458, allocations: 100.8 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.4459, allocations: 52.41 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.4462, allocations: 262.1 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.4462, allocations: 27.33 kB / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.4462, allocations: 110.4 kB / 494.1 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.4463, allocations: 11.52 kB / 494.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.4463, allocations: 19.94 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.4464, allocations: 324.3 kB / 494.5 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.4465, allocations: 13.77 kB / 494.5 MB, free: 16.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.4465, allocations: 30.72 kB / 494.5 MB, free: 16.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.23e-05/0.4466, allocations: 46.27 kB / 494.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4466, allocations: 0 / 494.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/0.4468, allocations: 94.78 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4468, allocations: 5.219 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4468, allocations: 4.719 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4469, allocations: 1.062 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.447, allocations: 17.98 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.447, allocations: 1.766 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.447, allocations: 2.922 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.447, allocations: 3.906 kB / 494.7 MB, free: 16.03 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 8.983e-05/0.4471, allocations: 136.9 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.4472, allocations: 14.86 kB / 494.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.4472, allocations: 21.69 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4472, allocations: 1.25 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4472, allocations: 0.5625 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4472, allocations: 5.031 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.4474, allocations: 201.4 kB / 495.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4474, allocations: 1.25 kB / 495.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.4474, allocations: 3.578 kB / 495.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4474, allocations: 5.281 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4474, allocations: 1.031 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4474, allocations: 1.031 kB / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4474, allocations: 0 / 495.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.4476, allocations: 119.2 kB / 495.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.4476, allocations: 88.09 kB / 495.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.4477, allocations: 1.969 kB / 495.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.4477, allocations: 10.05 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.4478, allocations: 3.578 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4478, allocations: 3.281 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.448, allocations: 191.3 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.448, allocations: 0 / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.4482, allocations: 23.17 kB / 495.5 MB, free: 15.35 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.0009294/0.4491, allocations: 416.8 kB / 495.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.4493, allocations: 46.09 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4493, allocations: 0 / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.4494, allocations: 17.8 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.4497, allocations: 40.64 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.4501, allocations: 259.1 kB / 496.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.4503, allocations: 0.7164 MB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.4504, allocations: 14.52 kB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.4504, allocations: 15.53 kB / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4504, allocations: 0 / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.005387/0.4558, allocations: 1.511 MB / 498.5 MB, free: 13.92 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)