Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01042/0.01042, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001845/0.001845, allocations: 199.2 kB / 16.68 MB, free: 5.91 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.515/1.515, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.3591/0.3591, allocations: 39.94 MB / 309.8 MB, free: 9.375 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.001447/0.001447, allocations: 71.89 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4532, allocations: 56.87 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.005188/0.4585, allocations: 1.782 MB / 494.5 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.4623, allocations: 1.486 MB / 496 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.4625, allocations: 5.188 kB / 496 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.4631, allocations: 52.39 kB / 496 MB, free: 17.06 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.0005412/0.4637, allocations: 89.06 kB / 496.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.4644, allocations: 147.9 kB / 496.3 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.4649, allocations: 176.8 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.465, allocations: 14.3 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.4653, allocations: 77.56 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.4657, allocations: 76.09 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.4657, allocations: 11 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.4661, allocations: 61.77 kB / 496.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.4662, allocations: 34.39 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4664, allocations: 51.91 kB / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.4669, allocations: 172.6 kB / 496.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4669, allocations: 5.156 kB / 496.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.4669, allocations: 0 / 496.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.467, allocations: 0.7969 kB / 496.9 MB, free: 16.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001075/0.4681, allocations: 469.7 kB / 497.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.826e-05/0.4682, allocations: 13.61 kB / 497.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.4683, allocations: 16.55 kB / 497.4 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.469, allocations: 243.6 kB / 497.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.469, allocations: 7.391 kB / 497.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.4691, allocations: 7.453 kB / 497.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.4695, allocations: 98.02 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4696, allocations: 0 / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.4696, allocations: 2.406 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4696, allocations: 1.656 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.4699, allocations: 32.72 kB / 497.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4703, allocations: 208.9 kB / 498 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.4707, allocations: 110.5 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.4709, allocations: 46.66 kB / 498.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.471, allocations: 1.828 kB / 498.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.4714, allocations: 112.7 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.4714, allocations: 0 / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008003/0.4722, allocations: 160 kB / 498.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.4723, allocations: 140.4 kB / 498.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.4727, allocations: 217.4 kB / 498.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4727, allocations: 31.19 kB / 498.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.4728, allocations: 115.1 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.4729, allocations: 26.16 kB / 498.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.473, allocations: 34.58 kB / 499 MB, free: 14.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4731, allocations: 328.2 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4733, allocations: 27.36 kB / 499.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.4734, allocations: 68.81 kB / 499.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.4738, allocations: 97.14 kB / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4738, allocations: 0 / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004595/0.4743, allocations: 133.9 kB / 499.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.4743, allocations: 5.469 kB / 499.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4743, allocations: 2.203 kB / 499.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.4744, allocations: 5.281 kB / 499.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.4746, allocations: 25.02 kB / 499.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4746, allocations: 1.406 kB / 499.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.4748, allocations: 19.25 kB / 499.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4748, allocations: 2.875 kB / 499.7 MB, free: 14.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001537/0.475, allocations: 131.3 kB / 499.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.4751, allocations: 16.56 kB / 499.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.4751, allocations: 17.09 kB / 499.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4752, allocations: 6.203 kB / 499.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4752, allocations: 1.344 kB / 499.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4752, allocations: 0.6094 kB / 499.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.4755, allocations: 215.2 kB / 0.4883 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4755, allocations: 3.938 kB / 0.4883 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.4756, allocations: 7.922 kB / 0.4884 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4756, allocations: 1.094 kB / 0.4884 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4756, allocations: 8.344 kB / 0.4884 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4756, allocations: 4 kB / 0.4884 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4756, allocations: 1.406 kB / 0.4884 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.4762, allocations: 171.4 kB / 0.4885 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.4762, allocations: 90.34 kB / 0.4886 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.4763, allocations: 7.047 kB / 0.4886 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.4764, allocations: 6.766 kB / 0.4886 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.4765, allocations: 9.297 kB / 0.4886 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.4766, allocations: 7.156 kB / 0.4886 GB, free: 13.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.4768, allocations: 169 kB / 0.4888 GB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4768, allocations: 0 / 0.4888 GB, free: 13.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004895/0.4773, allocations: 37.81 kB / 0.4888 GB, free: 13.62 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002012/0.4794, allocations: 453.2 kB / 0.4893 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.48, allocations: 88.75 kB / 0.4894 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4801, allocations: 1.062 kB / 0.4894 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.4803, allocations: 39.19 kB / 0.4894 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.481, allocations: 60.55 kB / 0.4895 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4821, allocations: 269.3 kB / 0.4897 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.4824, allocations: 0.7171 MB / 0.4904 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.4826, allocations: 28.7 kB / 0.4904 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4828, allocations: 28.7 kB / 0.4905 GB, free: 12.29 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4828, allocations: 4 kB / 0.4905 GB, free: 12.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01273/0.4955, allocations: 2.641 MB / 0.493 GB, free: 11.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)