Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001645, allocations: 79.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4724, allocations: 62.43 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004935/0.4774, allocations: 1.865 MB / 0.5328 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.4808, allocations: 1.041 MB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.4811, allocations: 5.312 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.4816, allocations: 54.98 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008049/0.4825, allocations: 124.5 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4837, allocations: 215.1 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.4842, allocations: 204.4 kB / 0.5344 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4844, allocations: 29.88 kB / 0.5345 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.4846, allocations: 79.56 kB / 0.5345 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.4849, allocations: 107.2 kB / 0.5346 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.485, allocations: 13.5 kB / 0.5346 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.4852, allocations: 42.89 kB / 0.5347 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.4853, allocations: 42.55 kB / 0.5347 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.4855, allocations: 78.45 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.486, allocations: 187.6 kB / 0.535 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.486, allocations: 1.375 kB / 0.535 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.486, allocations: 0 / 0.535 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4861, allocations: 0 / 0.535 GB, free: 10.8 MB / 398.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.001717/0.4878, allocations: 0.5868 MB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4878, allocations: 9.281 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.488, allocations: 16.88 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.4884, allocations: 242.6 kB / 0.5358 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4884, allocations: 2.812 kB / 0.5358 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.4884, allocations: 12.69 kB / 0.5358 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007207/0.4892, allocations: 141.6 kB / 0.536 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4892, allocations: 3.938 kB / 0.536 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.4892, allocations: 9.453 kB / 0.536 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4893, allocations: 0.6875 kB / 0.536 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.4904, allocations: 164.4 kB / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4917, allocations: 436.3 kB / 0.5365 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.493, allocations: 194.8 kB / 0.5367 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.4937, allocations: 96.5 kB / 0.5368 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.4937, allocations: 5.078 kB / 0.5368 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007982/0.4945, allocations: 169.1 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.025e-06/0.4945, allocations: 0 / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.005676/0.5002, allocations: 0.831 MB / 0.5378 GB, free: 8.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.5003, allocations: 66.34 kB / 0.5379 GB, free: 8.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.5008, allocations: 251.9 kB / 0.5381 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.5009, allocations: 31.95 kB / 0.5381 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.501, allocations: 120.9 kB / 0.5383 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.5011, allocations: 36.56 kB / 0.5383 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.5013, allocations: 33.95 kB / 0.5383 GB, free: 8.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5015, allocations: 328.5 kB / 0.5386 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.5028, allocations: 175.6 kB / 0.5388 GB, free: 7.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.504, allocations: 176.2 kB / 0.539 GB, free: 7.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.5063, allocations: 376.9 kB / 0.5393 GB, free: 7.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5064, allocations: 4 kB / 0.5393 GB, free: 7.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002724/0.5091, allocations: 468.8 kB / 0.5398 GB, free: 7.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/0.5092, allocations: 65.23 kB / 0.5398 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5092, allocations: 5.344 kB / 0.5398 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.5093, allocations: 0 / 0.5398 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.51, allocations: 69.38 kB / 0.5399 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.51, allocations: 4.047 kB / 0.5399 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.5107, allocations: 67.38 kB / 0.54 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.5107, allocations: 3.938 kB / 0.54 GB, free: 7.129 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.0002197/0.511, allocations: 144.8 kB / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.5111, allocations: 16.69 kB / 0.5401 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.5137, allocations: 427.4 kB / 0.5405 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5138, allocations: 1.406 kB / 0.5405 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.5138, allocations: 4.875 kB / 0.5406 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5138, allocations: 7.984 kB / 0.5406 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.517, allocations: 0.7205 MB / 0.5413 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.5171, allocations: 0 / 0.5413 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.5177, allocations: 75.66 kB / 0.5413 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.5178, allocations: 5.219 kB / 0.5413 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.5178, allocations: 1.219 kB / 0.5413 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.5178, allocations: 1.25 kB / 0.5413 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5179, allocations: 0 / 0.5413 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.5205, allocations: 497.6 kB / 0.5418 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.5207, allocations: 92.86 kB / 0.5419 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.5208, allocations: 2.156 kB / 0.5419 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.5215, allocations: 65.55 kB / 0.542 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.5217, allocations: 54.62 kB / 0.542 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.5218, allocations: 2.625 kB / 0.542 GB, free: 5.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.5221, allocations: 185.1 kB / 0.5422 GB, free: 5.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5221, allocations: 3.938 kB / 0.5422 GB, free: 5.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.5227, allocations: 45.39 kB / 0.5422 GB, free: 5.535 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.001524/0.5242, allocations: 405 kB / 0.5426 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.5265, allocations: 488.9 kB / 0.5431 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5266, allocations: 0 / 0.5431 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.5277, allocations: 186.3 kB / 0.5433 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.5284, allocations: 42.14 kB / 0.5433 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.5299, allocations: 375 kB / 0.5437 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.5304, allocations: 0.7279 MB / 0.5444 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.5307, allocations: 33.39 kB / 0.5444 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.5308, allocations: 19.42 kB / 0.5444 GB, free: 3.809 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5308, allocations: 4 kB / 0.5444 GB, free: 3.805 MB / 398.1 MB Notification: Performance of Templates: time 0.009405/0.5403, allocations: 3.612 MB / 0.548 GB, free: 216 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)