Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00959/0.00959, allocations: 99.45 kB / 15.73 MB, free: 6.043 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.001728/0.001728, allocations: 185.6 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.745/1.745, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.4709/0.4709, allocations: 39.94 MB / 309.8 MB, free: 9.434 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.001643/0.001643, allocations: 71.91 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.5004, allocations: 56.88 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004593/0.505, allocations: 1.786 MB / 494.5 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.5066, allocations: 0.8786 MB / 495.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.5067, allocations: 1.062 kB / 495.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.5074, allocations: 313.2 kB / 495.7 MB, free: 17.45 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.0005807/0.508, allocations: 214.7 kB / 495.9 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.5085, allocations: 139.6 kB / 496 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.509, allocations: 242.5 kB / 496.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.5091, allocations: 18.7 kB / 496.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.5094, allocations: 129.9 kB / 496.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.5098, allocations: 189.3 kB / 496.6 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.5098, allocations: 6.281 kB / 496.6 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.51, allocations: 45.38 kB / 496.6 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.5103, allocations: 135 kB / 496.8 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.5105, allocations: 159 kB / 496.9 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.5112, allocations: 363.1 kB / 497.3 MB, free: 16.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5112, allocations: 0 / 497.3 MB, free: 16.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5113, allocations: 0 / 497.3 MB, free: 16.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.5113, allocations: 1.281 kB / 497.3 MB, free: 16.82 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.001221/0.5125, allocations: 0.726 MB / 498 MB, free: 16.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.5126, allocations: 13.8 kB / 498 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.5127, allocations: 45.8 kB / 498.1 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.5135, allocations: 462 kB / 498.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.5136, allocations: 6.375 kB / 498.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.5136, allocations: 7.438 kB / 498.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.5138, allocations: 83.97 kB / 498.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5139, allocations: 0 / 498.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5139, allocations: 0 / 498.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.5139, allocations: 0.875 kB / 498.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.514, allocations: 35.39 kB / 498.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.5147, allocations: 372.4 kB / 499 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.515, allocations: 101.3 kB / 499.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.5151, allocations: 51.03 kB / 499.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.5151, allocations: 1.906 kB / 499.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.5153, allocations: 104.6 kB / 499.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.5154, allocations: 1.5 kB / 499.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005389/0.5159, allocations: 197.9 kB / 499.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.516, allocations: 83.22 kB / 499.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.5173, allocations: 1.032 MB / 0.4888 GB, free: 14.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5173, allocations: 34.7 kB / 0.4889 GB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.5175, allocations: 229.4 kB / 0.4891 GB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.5176, allocations: 34.81 kB / 0.4891 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.5177, allocations: 24.3 kB / 0.4892 GB, free: 14.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5178, allocations: 370.4 kB / 0.4895 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.5179, allocations: 32.73 kB / 0.4895 GB, free: 14.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.518, allocations: 56.31 kB / 0.4896 GB, free: 14.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.5182, allocations: 89.77 kB / 0.4897 GB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5182, allocations: 0 / 0.4897 GB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003072/0.5185, allocations: 174.5 kB / 0.4898 GB, free: 14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.5186, allocations: 5.094 kB / 0.4899 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5186, allocations: 4.562 kB / 0.4899 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.5186, allocations: 2.875 kB / 0.4899 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.5187, allocations: 23.45 kB / 0.4899 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5188, allocations: 3 kB / 0.4899 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.639e-05/0.5189, allocations: 4 kB / 0.4899 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.5189, allocations: 7.438 kB / 0.4899 GB, free: 13.99 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002128/0.5191, allocations: 234.2 kB / 0.4901 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.5192, allocations: 50.66 kB / 0.4902 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.5193, allocations: 61.58 kB / 0.4902 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5193, allocations: 2.75 kB / 0.4902 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5193, allocations: 0 / 0.4902 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5193, allocations: 1.375 kB / 0.4902 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.5196, allocations: 340.9 kB / 0.4906 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5196, allocations: 1.375 kB / 0.4906 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.5197, allocations: 14.75 kB / 0.4906 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5197, allocations: 5.375 kB / 0.4906 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5197, allocations: 4.25 kB / 0.4906 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5197, allocations: 0 / 0.4906 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5197, allocations: 1.984 kB / 0.4906 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.5201, allocations: 201.4 kB / 0.4908 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5202, allocations: 142 kB / 0.4909 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.5203, allocations: 7.688 kB / 0.4909 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.5204, allocations: 8.391 kB / 0.4909 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.5204, allocations: 8.156 kB / 0.4909 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.5205, allocations: 9.016 kB / 0.4909 GB, free: 13.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009705/0.5214, allocations: 0.7694 MB / 0.4917 GB, free: 13 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5214, allocations: 0 / 0.4917 GB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.5218, allocations: 45.19 kB / 0.4917 GB, free: 12.99 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0009786/0.5227, allocations: 413.2 kB / 0.4921 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.523, allocations: 89.22 kB / 0.4922 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.523, allocations: 0 / 0.4922 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5231, allocations: 40.08 kB / 0.4923 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.5236, allocations: 86.81 kB / 0.4923 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.5249, allocations: 0.8608 MB / 0.4932 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5253, allocations: 0.8396 MB / 0.494 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.5255, allocations: 57.02 kB / 0.494 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.5256, allocations: 31.72 kB / 0.4941 GB, free: 11.47 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5256, allocations: 1.156 kB / 0.4941 GB, free: 11.47 MB / 382.1 MB Notification: Performance of Templates: time 0.009475/0.5351, allocations: 3.834 MB / 0.4978 GB, free: 9.891 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)