Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.000957, allocations: 98.88 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3897/0.3897, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 51.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4111, allocations: 60.8 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003249/0.4144, allocations: 1.875 MB / 0.5082 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.4158, allocations: 0.8787 MB / 0.5091 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.4158, allocations: 2.781 kB / 0.5091 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.4161, allocations: 58.69 kB / 0.5091 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.4163, allocations: 65.06 kB / 0.5092 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.4169, allocations: 196.7 kB / 0.5094 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.4171, allocations: 175.6 kB / 0.5096 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.4172, allocations: 29.72 kB / 0.5096 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4173, allocations: 77.36 kB / 0.5097 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.4175, allocations: 102.5 kB / 0.5098 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.4175, allocations: 5.688 kB / 0.5098 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.4176, allocations: 29.06 kB / 0.5098 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.4177, allocations: 37.59 kB / 0.5098 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.4178, allocations: 71.45 kB / 0.5099 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.418, allocations: 185.9 kB / 0.5101 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.418, allocations: 0 / 0.5101 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.418, allocations: 0 / 0.5101 GB, free: 36.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.418, allocations: 0 / 0.5101 GB, free: 36.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001084/0.4191, allocations: 0.556 MB / 0.5106 GB, free: 35.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4192, allocations: 12.19 kB / 0.5106 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.4193, allocations: 16.59 kB / 0.5106 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.4195, allocations: 228.3 kB / 0.5109 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4195, allocations: 7.594 kB / 0.5109 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.4196, allocations: 9.469 kB / 0.5109 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.4201, allocations: 150.5 kB / 0.511 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4201, allocations: 7.906 kB / 0.511 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4201, allocations: 0 / 0.511 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4201, allocations: 0 / 0.511 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.4208, allocations: 162.1 kB / 0.5112 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.4216, allocations: 426.3 kB / 0.5116 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.4224, allocations: 201 kB / 0.5118 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.4228, allocations: 98.06 kB / 0.5119 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.4228, allocations: 0 / 0.5119 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.4234, allocations: 163.9 kB / 0.512 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.4234, allocations: 4 kB / 0.512 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.003688/0.4271, allocations: 0.8323 MB / 0.5128 GB, free: 34.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4272, allocations: 62.53 kB / 0.5129 GB, free: 34.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.4274, allocations: 237.4 kB / 0.5131 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4274, allocations: 27.92 kB / 0.5132 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.4275, allocations: 135.2 kB / 0.5133 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.4275, allocations: 36.02 kB / 0.5133 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.4276, allocations: 36.81 kB / 0.5134 GB, free: 34.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.4277, allocations: 331.1 kB / 0.5137 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.4284, allocations: 170.8 kB / 0.5138 GB, free: 33.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.429, allocations: 177 kB / 0.514 GB, free: 33.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.4303, allocations: 380.2 kB / 0.5144 GB, free: 33.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4304, allocations: 3.938 kB / 0.5144 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001589/0.432, allocations: 473.5 kB / 0.5148 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.432, allocations: 63.89 kB / 0.5149 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.432, allocations: 4 kB / 0.5149 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4321, allocations: 1.438 kB / 0.5149 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.4325, allocations: 64.62 kB / 0.5149 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4325, allocations: 5.062 kB / 0.515 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.433, allocations: 66.78 kB / 0.515 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.433, allocations: 8.656 kB / 0.515 GB, free: 33.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.000147/0.4332, allocations: 141.3 kB / 0.5152 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.4332, allocations: 19.06 kB / 0.5152 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.4349, allocations: 417.4 kB / 0.5156 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4349, allocations: 1.062 kB / 0.5156 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4349, allocations: 3.938 kB / 0.5156 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.435, allocations: 1.125 kB / 0.5156 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4367, allocations: 0.7264 MB / 0.5163 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4367, allocations: 0 / 0.5163 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.4371, allocations: 62.17 kB / 0.5163 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4371, allocations: 3.938 kB / 0.5164 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.4371, allocations: 13.73 kB / 0.5164 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4371, allocations: 0 / 0.5164 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4372, allocations: 0 / 0.5164 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.4395, allocations: 1.251 MB / 0.5176 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.4395, allocations: 87.77 kB / 0.5177 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.4396, allocations: 2.562 kB / 0.5177 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.44, allocations: 64.66 kB / 0.5177 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.4402, allocations: 55.64 kB / 0.5178 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.4402, allocations: 6.531 kB / 0.5178 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.4403, allocations: 176.5 kB / 0.518 GB, free: 31.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4403, allocations: 0 / 0.518 GB, free: 31.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.4407, allocations: 46.19 kB / 0.518 GB, free: 31.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009668/0.4417, allocations: 423.3 kB / 0.5184 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.4432, allocations: 478 kB / 0.5189 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4432, allocations: 2.938 kB / 0.5189 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.4439, allocations: 185.8 kB / 0.519 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4443, allocations: 35.52 kB / 0.5191 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009521/0.4453, allocations: 0.5487 MB / 0.5196 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4455, allocations: 0.7321 MB / 0.5203 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.4456, allocations: 25.94 kB / 0.5204 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.4457, allocations: 19.59 kB / 0.5204 GB, free: 30.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4457, allocations: 4 kB / 0.5204 GB, free: 30.16 MB / 378.7 MB Notification: Performance of Templates: time 0.006273/0.452, allocations: 3.258 MB / 0.5236 GB, free: 29.89 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)