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/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 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 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001165/0.001165, allocations: 179.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1996/0.1996, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 55.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4132, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00282/0.416, allocations: 1.831 MB / 0.5207 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4177, allocations: 0.8793 MB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.4178, allocations: 1.219 kB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.418, allocations: 58.73 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.4183, allocations: 86.05 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.4189, allocations: 202.5 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.4192, allocations: 202.7 kB / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.4192, allocations: 28.22 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4194, allocations: 75.61 kB / 0.5222 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.4195, allocations: 104.7 kB / 0.5223 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.4196, allocations: 13.47 kB / 0.5223 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.4197, allocations: 37.2 kB / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.4198, allocations: 44.25 kB / 0.5224 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.4198, allocations: 71.64 kB / 0.5224 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.4201, allocations: 184.2 kB / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.4201, allocations: 0 / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4201, allocations: 0 / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.4202, allocations: 0 / 0.5226 GB, free: 1.25 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008505/0.421, allocations: 0.5706 MB / 0.5232 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.523e-05/0.421, allocations: 12.75 kB / 0.5232 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.4211, allocations: 20.69 kB / 0.5232 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.4213, allocations: 239.6 kB / 0.5234 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.4213, allocations: 2.594 kB / 0.5234 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.4214, allocations: 18.31 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.4218, allocations: 145.5 kB / 0.5236 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4219, allocations: 0 / 0.5236 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4219, allocations: 9.766 kB / 0.5236 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4219, allocations: 1.062 kB / 0.5236 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.4226, allocations: 159.2 kB / 0.5238 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.4234, allocations: 431.1 kB / 0.5242 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.4242, allocations: 199.5 kB / 0.5244 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.4246, allocations: 89.25 kB / 0.5244 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.4247, allocations: 10.86 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/0.4253, allocations: 166.7 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.898e-06/0.4253, allocations: 0 / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003588/0.4289, allocations: 0.8431 MB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.4289, allocations: 58.09 kB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.4292, allocations: 233.7 kB / 0.5257 GB, free: 15.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.4292, allocations: 31.08 kB / 0.5257 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.4293, allocations: 116.4 kB / 0.5259 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.4294, allocations: 45.19 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.4295, allocations: 30.09 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4296, allocations: 332.3 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.4304, allocations: 175.2 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.4311, allocations: 172 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.4325, allocations: 384.3 kB / 0.5269 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4325, allocations: 1.312 kB / 0.5269 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001657/0.4342, allocations: 475.4 kB / 0.5274 GB, free: 14.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.4343, allocations: 62.27 kB / 0.5275 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4343, allocations: 0 / 0.5275 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4343, allocations: 5.359 kB / 0.5275 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.4347, allocations: 72.28 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4348, allocations: 3.938 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.4352, allocations: 66.5 kB / 0.5276 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.4352, allocations: 7.797 kB / 0.5276 GB, free: 14.03 MB / 398.1 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.0001909/0.4354, allocations: 137.3 kB / 0.5277 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.4355, allocations: 15.41 kB / 0.5278 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.437, allocations: 421 kB / 0.5282 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4371, allocations: 1.344 kB / 0.5282 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4371, allocations: 3.938 kB / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4371, allocations: 0 / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.4389, allocations: 0.7272 MB / 0.5289 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.439, allocations: 0 / 0.5289 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.4393, allocations: 68.19 kB / 0.5289 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4393, allocations: 3.938 kB / 0.5289 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.4394, allocations: 9.109 kB / 0.5289 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4394, allocations: 0.9375 kB / 0.5289 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4394, allocations: 1.125 kB / 0.5289 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.4409, allocations: 493.7 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.441, allocations: 93.45 kB / 0.5295 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.441, allocations: 9.359 kB / 0.5295 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.4414, allocations: 65.16 kB / 0.5296 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.4416, allocations: 45.44 kB / 0.5296 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.4416, allocations: 8.688 kB / 0.5296 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.4419, allocations: 180.6 kB / 0.5298 GB, free: 12.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4419, allocations: 0 / 0.5298 GB, free: 12.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.4423, allocations: 41.66 kB / 0.5298 GB, free: 12.46 MB / 398.1 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.001064/0.4433, allocations: 412 kB / 0.5302 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.445, allocations: 480.8 kB / 0.5307 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.445, allocations: 0 / 0.5307 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007704/0.4458, allocations: 191.7 kB / 0.5309 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.4462, allocations: 45.09 kB / 0.5309 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4473, allocations: 368.5 kB / 0.5313 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4477, allocations: 0.7305 MB / 0.532 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.4479, allocations: 33.23 kB / 0.532 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.448, allocations: 21.47 kB / 0.532 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.448, allocations: 0 / 0.532 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Templates: time 0.009477/0.4575, allocations: 3.543 MB / 0.5355 GB, free: 9.039 MB / 398.1 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)