Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001404/0.001404, allocations: 183.8 kB / 18.71 MB, free: 4.344 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.226/0.226, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 63.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4943, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.005366/0.4997, allocations: 1.83 MB / 0.5207 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.5018, allocations: 0.8531 MB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.5019, allocations: 1.094 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.5023, allocations: 57.66 kB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.5028, allocations: 81.09 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.5034, allocations: 159.8 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.5039, allocations: 199.3 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.5041, allocations: 21.05 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.5043, allocations: 79.42 kB / 0.5221 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.5046, allocations: 100.1 kB / 0.5222 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.5046, allocations: 16.97 kB / 0.5222 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.5048, allocations: 49.19 kB / 0.5223 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.505, allocations: 38.88 kB / 0.5223 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.5051, allocations: 71.67 kB / 0.5224 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.5056, allocations: 176.2 kB / 0.5225 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.5056, allocations: 5.453 kB / 0.5226 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5056, allocations: 0 / 0.5226 GB, free: 1.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.5056, allocations: 0 / 0.5226 GB, free: 1.285 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.001368/0.507, allocations: 0.5592 MB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.5071, allocations: 10.16 kB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.5072, allocations: 15.91 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.5075, allocations: 229 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.5075, allocations: 2.984 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.5076, allocations: 10.42 kB / 0.5234 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.5082, allocations: 154.5 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5083, allocations: 0 / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.5083, allocations: 2.109 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.5083, allocations: 1.781 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.5093, allocations: 163.8 kB / 0.5237 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006575/0.51, allocations: 362.5 kB / 0.524 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.5111, allocations: 195.8 kB / 0.5242 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.5117, allocations: 93.39 kB / 0.5243 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.5117, allocations: 5.688 kB / 0.5243 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008109/0.5126, allocations: 157 kB / 0.5244 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.345e-06/0.5126, allocations: 0 / 0.5244 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.005433/0.518, allocations: 0.8215 MB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.5181, allocations: 58.66 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.5185, allocations: 242 kB / 0.5255 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.5186, allocations: 31.83 kB / 0.5256 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5187, allocations: 115.8 kB / 0.5257 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.5188, allocations: 40.05 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.519, allocations: 38.27 kB / 0.5257 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5192, allocations: 331.1 kB / 0.5261 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.5202, allocations: 168.5 kB / 0.5262 GB, free: 14.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/0.5212, allocations: 166.3 kB / 0.5264 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.5231, allocations: 363 kB / 0.5267 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5232, allocations: 4 kB / 0.5267 GB, free: 14.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002312/0.5255, allocations: 464.6 kB / 0.5272 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/0.5256, allocations: 62.27 kB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.5256, allocations: 1.375 kB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5256, allocations: 112 / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.5263, allocations: 73.09 kB / 0.5273 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5263, allocations: 3.938 kB / 0.5273 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.5269, allocations: 62.56 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.527, allocations: 7.438 kB / 0.5274 GB, free: 14.16 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.0002335/0.5272, allocations: 141.1 kB / 0.5275 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.5273, allocations: 15.12 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.5296, allocations: 404.3 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5296, allocations: 1.469 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5297, allocations: 5.344 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5297, allocations: 0 / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.5325, allocations: 0.7044 MB / 0.5286 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5325, allocations: 0 / 0.5286 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/0.5331, allocations: 64.47 kB / 0.5287 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5332, allocations: 3.938 kB / 0.5287 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.5332, allocations: 6.312 kB / 0.5287 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5332, allocations: 3.984 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5332, allocations: 1.25 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.5355, allocations: 478.4 kB / 0.5291 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5357, allocations: 93.17 kB / 0.5292 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.5357, allocations: 9.234 kB / 0.5292 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.5364, allocations: 65.5 kB / 0.5293 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/0.5368, allocations: 46.38 kB / 0.5293 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.5369, allocations: 3.469 kB / 0.5293 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.5372, allocations: 176.2 kB / 0.5295 GB, free: 12.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5372, allocations: 0 / 0.5295 GB, free: 12.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005719/0.5378, allocations: 44.72 kB / 0.5296 GB, free: 12.62 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.001689/0.5395, allocations: 411.4 kB / 0.5299 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.542, allocations: 472 kB / 0.5304 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.542, allocations: 0 / 0.5304 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.5431, allocations: 184.3 kB / 0.5306 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.5439, allocations: 34.03 kB / 0.5306 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.5455, allocations: 344.7 kB / 0.5309 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.5461, allocations: 0.7245 MB / 0.5316 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.5463, allocations: 15.44 kB / 0.5317 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.5464, allocations: 28.89 kB / 0.5317 GB, free: 11.05 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5464, allocations: 0 / 0.5317 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Templates: time 0.01198/0.5584, allocations: 3.625 MB / 0.5352 GB, free: 9.168 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)