Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006963/0.006963, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001367/0.001367, allocations: 194.9 kB / 16.67 MB, free: 5.949 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.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.391/0.391, allocations: 39.95 MB / 309.8 MB, free: 9.355 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.2. 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.001922/0.001922, allocations: 76.45 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4603, allocations: 56.87 MB / 492.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00407/0.4644, allocations: 1.707 MB / 494.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.4661, allocations: 0.8222 MB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4663, allocations: 1.375 kB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.4667, allocations: 36.25 kB / 495.3 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.0003035/0.467, allocations: 60.22 kB / 495.3 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.4673, allocations: 84.22 kB / 495.4 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.4676, allocations: 97 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.4677, allocations: 11.78 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.4679, allocations: 45.98 kB / 495.6 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.468, allocations: 41.77 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.468, allocations: 4.656 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.4682, allocations: 69.44 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.4683, allocations: 14.91 kB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.4684, allocations: 30.75 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.4687, allocations: 135.7 kB / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4688, allocations: 0 / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4688, allocations: 1.312 kB / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4688, allocations: 0 / 495.9 MB, free: 17.46 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.000666/0.4694, allocations: 407.5 kB / 496.3 MB, free: 17.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4695, allocations: 13.64 kB / 496.3 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.4696, allocations: 14.17 kB / 496.3 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.4699, allocations: 206 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4699, allocations: 1.688 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.4699, allocations: 16.55 kB / 496.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.4701, allocations: 69.5 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.4702, allocations: 0 / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4702, allocations: 5.062 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4702, allocations: 1.125 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.4703, allocations: 26.59 kB / 496.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.4708, allocations: 294.2 kB / 496.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.4709, allocations: 56.81 kB / 497 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.471, allocations: 21.41 kB / 497 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4711, allocations: 5.688 kB / 497 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.4712, allocations: 77 kB / 497.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.4713, allocations: 0 / 497.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006156/0.4719, allocations: 181.5 kB / 497.2 MB, free: 16.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.4719, allocations: 79.42 kB / 497.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4721, allocations: 147.2 kB / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4721, allocations: 26.77 kB / 497.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.4722, allocations: 98.89 kB / 497.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.4722, allocations: 30.52 kB / 497.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.4723, allocations: 26.03 kB / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.4724, allocations: 328.7 kB / 498 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.4725, allocations: 23.78 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.4726, allocations: 50.48 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.4727, allocations: 64.67 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4727, allocations: 4.031 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002066/0.4729, allocations: 104.8 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4729, allocations: 7 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.473, allocations: 4 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.473, allocations: 2.438 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4731, allocations: 20.36 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4731, allocations: 1.5 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.4732, allocations: 10.66 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.4732, allocations: 2.719 kB / 498.2 MB, free: 15.4 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.112e-05/0.4733, allocations: 123.1 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.4733, allocations: 8.625 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.4734, allocations: 12.94 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4734, allocations: 1.469 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4734, allocations: 0.7969 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4734, allocations: 5.031 kB / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.4739, allocations: 402.9 kB / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4739, allocations: 5.312 kB / 498.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.474, allocations: 13.94 kB / 498.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.474, allocations: 0.9375 kB / 498.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.474, allocations: 7.625 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.474, allocations: 1.188 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.474, allocations: 0 / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4743, allocations: 208.7 kB / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.4743, allocations: 89.25 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.4744, allocations: 10.12 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.4744, allocations: 3.141 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.4745, allocations: 10.94 kB / 499.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4745, allocations: 7.906 kB / 499.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4746, allocations: 115.7 kB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4746, allocations: 0 / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.4749, allocations: 32.62 kB / 499.3 MB, free: 14.52 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.001241/0.4762, allocations: 0.508 MB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.4764, allocations: 60.41 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4764, allocations: 0 / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.4765, allocations: 35.67 kB / 499.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.4769, allocations: 41.94 kB / 499.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.4774, allocations: 205.8 kB / 0.4884 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4776, allocations: 0.6967 MB / 0.4891 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.177e-05/0.4777, allocations: 18.27 kB / 0.4891 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.4778, allocations: 19.2 kB / 0.4891 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4778, allocations: 0 / 0.4891 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.00653/0.4843, allocations: 2.075 MB / 0.4911 GB, free: 12.94 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)