Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006033/0.006033, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001212/0.001213, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.765/1.765, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.4058/0.4058, allocations: 39.95 MB / 309.8 MB, free: 9.477 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.002203/0.002203, allocations: 72.45 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4832, allocations: 56.88 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004876/0.4881, allocations: 2.303 MB / 495 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.4906, allocations: 1.17 MB / 496.2 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.4908, allocations: 6.625 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008118/0.4916, allocations: 285.2 kB / 496.5 MB, free: 16.96 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.000661/0.4923, allocations: 268.9 kB / 496.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.4933, allocations: 331 kB / 497.1 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.4943, allocations: 0.5066 MB / 497.6 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.4945, allocations: 65.94 kB / 497.6 MB, free: 16.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.4949, allocations: 238.2 kB / 497.9 MB, free: 16.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.4954, allocations: 255.5 kB / 498.1 MB, free: 16.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.4955, allocations: 18.38 kB / 498.1 MB, free: 16.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.4957, allocations: 56.5 kB / 498.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.4959, allocations: 109.3 kB / 498.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.4961, allocations: 172.4 kB / 498.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.4968, allocations: 395.6 kB / 498.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4968, allocations: 1.219 kB / 498.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4968, allocations: 0 / 498.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4968, allocations: 3.938 kB / 498.9 MB, free: 15.89 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001273/0.4981, allocations: 0.7597 MB / 499.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.4982, allocations: 13.7 kB / 499.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.4983, allocations: 61.28 kB / 499.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.4989, allocations: 401.7 kB / 0.4884 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.499, allocations: 6.672 kB / 0.4884 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.499, allocations: 23.2 kB / 0.4884 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.4994, allocations: 211.7 kB / 0.4886 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.4995, allocations: 0.9375 kB / 0.4886 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.4995, allocations: 9.656 kB / 0.4886 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4995, allocations: 2.781 kB / 0.4886 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.4998, allocations: 98.64 kB / 0.4887 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.5008, allocations: 0.8564 MB / 0.4895 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.5014, allocations: 297.7 kB / 0.4898 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.5016, allocations: 97.41 kB / 0.4899 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.5017, allocations: 4.719 kB / 0.4899 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.5021, allocations: 226.6 kB / 0.4901 GB, free: 13.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.5022, allocations: 0 / 0.4901 GB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002209/0.5044, allocations: 0.9781 MB / 0.4911 GB, free: 13.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.5045, allocations: 169.5 kB / 0.4912 GB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.5053, allocations: 0.6117 MB / 0.4918 GB, free: 12.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.5054, allocations: 36.28 kB / 0.4919 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.5055, allocations: 224 kB / 0.4921 GB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5056, allocations: 115.8 kB / 0.4922 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.5058, allocations: 73.08 kB / 0.4923 GB, free: 12.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5059, allocations: 369.3 kB / 0.4926 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.5062, allocations: 103.9 kB / 0.4927 GB, free: 11.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.5065, allocations: 186.2 kB / 0.4929 GB, free: 11.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.507, allocations: 297.4 kB / 0.4932 GB, free: 11.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.507, allocations: 1.938 kB / 0.4932 GB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008279/0.5078, allocations: 403.2 kB / 0.4936 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.5078, allocations: 6.469 kB / 0.4936 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5079, allocations: 2.656 kB / 0.4936 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.5079, allocations: 4.109 kB / 0.4936 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.5083, allocations: 91.2 kB / 0.4937 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.5083, allocations: 4.891 kB / 0.4937 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.5085, allocations: 29.3 kB / 0.4937 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.5085, allocations: 18.02 kB / 0.4937 GB, free: 11.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002376/0.5088, allocations: 202.7 kB / 0.4939 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5089, allocations: 62.14 kB / 0.494 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.509, allocations: 59.16 kB / 0.494 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5091, allocations: 5.531 kB / 0.494 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.5091, allocations: 9.391 kB / 0.494 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5091, allocations: 3.906 kB / 0.494 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.511, allocations: 1.259 MB / 0.4953 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.511, allocations: 2.719 kB / 0.4953 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.5112, allocations: 50.39 kB / 0.4953 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.5112, allocations: 4.531 kB / 0.4953 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.5112, allocations: 19.42 kB / 0.4953 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.5112, allocations: 4.703 kB / 0.4954 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.5112, allocations: 5.875 kB / 0.4954 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5123, allocations: 0.8133 MB / 0.4962 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5124, allocations: 123 kB / 0.4963 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.5125, allocations: 23.19 kB / 0.4963 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5128, allocations: 20.22 kB / 0.4963 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.5129, allocations: 28.44 kB / 0.4963 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.513, allocations: 23.7 kB / 0.4964 GB, free: 9.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006772/0.5137, allocations: 453 kB / 0.4968 GB, free: 9.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5137, allocations: 3.938 kB / 0.4968 GB, free: 9.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006579/0.5143, allocations: 85.17 kB / 0.4969 GB, free: 9.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001354/0.5157, allocations: 476 kB / 0.4973 GB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.5164, allocations: 308.4 kB / 0.4976 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5164, allocations: 1.031 kB / 0.4976 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.5167, allocations: 150.2 kB / 0.4978 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5178, allocations: 156.8 kB / 0.4979 GB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.5194, allocations: 0.8501 MB / 0.4988 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.5198, allocations: 0.8505 MB / 0.4996 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.5201, allocations: 83.83 kB / 0.4997 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5203, allocations: 51.45 kB / 0.4997 GB, free: 7.258 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5203, allocations: 0 / 0.4997 GB, free: 7.258 MB / 382.1 MB Notification: Performance of Templates: time 0.01534/0.5357, allocations: 5.827 MB / 0.5054 GB, free: 4.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)