Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006994/0.006995, allocations: 102 kB / 15.73 MB, free: 6.039 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.001176/0.001176, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3958/0.3958, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001679/0.001679, allocations: 75.91 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4352, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003951/0.4392, allocations: 1.673 MB / 491.2 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.441, allocations: 0.8098 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.697e-05/0.4411, allocations: 1.188 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.4415, allocations: 40.61 kB / 492 MB, free: 18.21 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.0002469/0.4418, allocations: 51.12 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.4421, allocations: 84.61 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.4423, allocations: 103.1 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.4424, allocations: 11.89 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.4425, allocations: 40.28 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.931e-05/0.4427, allocations: 26.42 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.4427, allocations: 7.422 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.4428, allocations: 42.11 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.4429, allocations: 23.55 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.443, allocations: 34.11 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.4432, allocations: 116.2 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4432, allocations: 4.562 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4433, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4433, allocations: 1.156 kB / 492.6 MB, free: 17.95 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.0006196/0.4439, allocations: 419.1 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.444, allocations: 12.89 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.444, allocations: 13.94 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.4443, allocations: 211.8 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.4444, allocations: 5.531 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.4444, allocations: 11.38 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4446, allocations: 58.19 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4446, allocations: 0 / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4446, allocations: 1.062 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4446, allocations: 1.125 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.4447, allocations: 18.11 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.4451, allocations: 284 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.4453, allocations: 63.72 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.4454, allocations: 20.56 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.4454, allocations: 1.219 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.4456, allocations: 69.52 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4456, allocations: 0 / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000622/0.4463, allocations: 176.5 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.4463, allocations: 52.95 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.4466, allocations: 198.3 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4466, allocations: 26.8 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.4467, allocations: 104.8 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.4467, allocations: 25.78 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.4467, allocations: 26.42 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.4468, allocations: 330.3 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.4469, allocations: 21.25 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.447, allocations: 39.17 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.4471, allocations: 58.05 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4471, allocations: 0 / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.4473, allocations: 98.72 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4474, allocations: 9.469 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4474, allocations: 3.938 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4474, allocations: 2.75 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4475, allocations: 19.73 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4475, allocations: 0 / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.4476, allocations: 11.2 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4476, allocations: 2.438 kB / 494.9 MB, free: 15.93 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 0.0001165/0.4477, allocations: 127.5 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4478, allocations: 13.31 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.4478, allocations: 19.81 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4478, allocations: 1.031 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4478, allocations: 1.672 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4479, allocations: 3.938 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.4483, allocations: 391.6 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4483, allocations: 0.8125 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.4484, allocations: 9.25 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4484, allocations: 0 / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.4484, allocations: 15.41 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4484, allocations: 0.7031 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4484, allocations: 1.344 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.4487, allocations: 205.7 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.4487, allocations: 92.69 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4488, allocations: 5.922 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.4488, allocations: 2.859 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.4489, allocations: 10.17 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4489, allocations: 3.375 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.4491, allocations: 155.4 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4491, allocations: 1 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000281/0.4494, allocations: 21.69 kB / 496 MB, free: 15.04 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.00114/0.4505, allocations: 479.5 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.4508, allocations: 57.44 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4508, allocations: 0 / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.4509, allocations: 27.97 kB / 496.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.4512, allocations: 34.75 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.4518, allocations: 241.7 kB / 496.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.4521, allocations: 0.703 MB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.447e-05/0.4521, allocations: 16.89 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.4522, allocations: 16.67 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4522, allocations: 4 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.00576/0.458, allocations: 1.7 MB / 499.2 MB, free: 13.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)