Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005314/0.005314, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001083/0.001083, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.565/1.565, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3678/0.3678, allocations: 37.99 MB / 307.9 MB, free: 10.18 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.002706/0.002706, allocations: 76.38 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4542, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003593/0.4579, allocations: 1.625 MB / 491.1 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.4596, allocations: 0.7948 MB / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.4597, allocations: 0 / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.4601, allocations: 65.67 kB / 492 MB, free: 18.2 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.0002622/0.4604, allocations: 68.16 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.4607, allocations: 75.42 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.4609, allocations: 94.53 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.4609, allocations: 12.97 kB / 492.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.4611, allocations: 46.92 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.4612, allocations: 44.89 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.4612, allocations: 7.469 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.4613, allocations: 34.05 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.4614, allocations: 13.77 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.4615, allocations: 32.53 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.4617, allocations: 106.1 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4617, allocations: 0 / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4617, allocations: 4 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4617, allocations: 3.938 kB / 492.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005112/0.4623, allocations: 396.3 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4623, allocations: 14.05 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.4623, allocations: 9.188 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.4626, allocations: 206.2 kB / 493.1 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4626, allocations: 1.438 kB / 493.1 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4627, allocations: 6.312 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4628, allocations: 50.36 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4628, allocations: 0 / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4628, allocations: 5.078 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4628, allocations: 0.5625 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.4629, allocations: 19.28 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.4631, allocations: 183 kB / 493.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.4633, allocations: 48.12 kB / 493.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.4634, allocations: 28.69 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4634, allocations: 1.062 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.4636, allocations: 68.23 kB / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.346e-06/0.4636, allocations: 4.969 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003101/0.4639, allocations: 95.72 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4639, allocations: 51.41 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.4642, allocations: 188.6 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.4642, allocations: 27.42 kB / 493.9 MB, free: 16.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.4642, allocations: 99.16 kB / 494 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.4643, allocations: 15 kB / 494 MB, free: 16.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.4643, allocations: 21.11 kB / 494 MB, free: 16.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.4644, allocations: 322 kB / 494.4 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.4645, allocations: 12.86 kB / 494.4 MB, free: 16.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.4645, allocations: 30.61 kB / 494.4 MB, free: 16.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.4646, allocations: 45.58 kB / 494.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4647, allocations: 1.156 kB / 494.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001672/0.4648, allocations: 88 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4649, allocations: 5.562 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4649, allocations: 1.125 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4649, allocations: 1.469 kB / 494.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.465, allocations: 19.34 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.465, allocations: 1.375 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.465, allocations: 5.219 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4651, allocations: 3.484 kB / 494.6 MB, free: 16.12 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 9.203e-05/0.4652, allocations: 125 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.4652, allocations: 8.781 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.4652, allocations: 13.98 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4652, allocations: 1.25 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4653, allocations: 3.938 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4653, allocations: 5.031 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.4654, allocations: 189.8 kB / 494.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4654, allocations: 0 / 494.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.4655, allocations: 11.56 kB / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4655, allocations: 0 / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4655, allocations: 1.156 kB / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4655, allocations: 0 / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4655, allocations: 1.312 kB / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4657, allocations: 110.5 kB / 495 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.4657, allocations: 84.12 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.4658, allocations: 2.109 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.4658, allocations: 7.562 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4658, allocations: 3.125 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.4659, allocations: 1.781 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.466, allocations: 144.4 kB / 495.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.466, allocations: 0 / 495.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.4662, allocations: 21.03 kB / 495.3 MB, free: 15.47 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.001022/0.4673, allocations: 429.4 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.4675, allocations: 40 kB / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4675, allocations: 0 / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.4675, allocations: 23.05 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4678, allocations: 34.06 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.4683, allocations: 199.3 kB / 496 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.4685, allocations: 0.6977 MB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.4685, allocations: 13.36 kB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.4686, allocations: 15.06 kB / 496.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4686, allocations: 0 / 496.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of Templates: time 0.005363/0.4739, allocations: 1.47 MB / 498.2 MB, free: 14.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)