Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 118.8 kB / 17.79 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.001508/0.001508, allocations: 198 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.825/1.825, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 79.86 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3843, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004531/0.3889, allocations: 1.852 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3914, allocations: 1.008 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3915, allocations: 5.438 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.3919, allocations: 67.34 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.3924, allocations: 122.7 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.3931, allocations: 160.2 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000405/0.3935, allocations: 209.5 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3937, allocations: 20.3 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.3939, allocations: 86.67 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.3941, allocations: 99.2 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.3942, allocations: 12.69 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.3943, allocations: 47.2 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3945, allocations: 37.52 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3946, allocations: 70.72 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.395, allocations: 188 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.395, allocations: 1.375 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.395, allocations: 0 / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.395, allocations: 0 / 0.5349 GB, free: 10.64 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.001353/0.3964, allocations: 0.5819 MB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.3964, allocations: 9.344 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3966, allocations: 25.58 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.3969, allocations: 236.5 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.397, allocations: 11.66 kB / 0.5357 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.397, allocations: 12.25 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.3977, allocations: 134.9 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3978, allocations: 1.156 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.3978, allocations: 5.062 kB / 0.5359 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3978, allocations: 5.141 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/0.3987, allocations: 158.2 kB / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.3995, allocations: 368.3 kB / 0.5364 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4005, allocations: 194.4 kB / 0.5366 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.4011, allocations: 94.56 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.4011, allocations: 1.125 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007735/0.4019, allocations: 175 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.4019, allocations: 0 / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00484/0.4068, allocations: 0.8095 MB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.4068, allocations: 66.23 kB / 0.5377 GB, free: 8.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.4073, allocations: 244.9 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.4073, allocations: 35.98 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4074, allocations: 121.1 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.4075, allocations: 40.41 kB / 0.5381 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.4077, allocations: 37.48 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4078, allocations: 331.9 kB / 0.5384 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007505/0.4086, allocations: 164 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.4093, allocations: 174.3 kB / 0.5388 GB, free: 7.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.4107, allocations: 366.5 kB / 0.5391 GB, free: 7.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4107, allocations: 0 / 0.5391 GB, free: 7.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001537/0.4122, allocations: 453.4 kB / 0.5396 GB, free: 7.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.4123, allocations: 66.39 kB / 0.5396 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4123, allocations: 0 / 0.5396 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4124, allocations: 1.75 kB / 0.5396 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.4128, allocations: 68.03 kB / 0.5397 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.4128, allocations: 5.375 kB / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.4132, allocations: 66.88 kB / 0.5397 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.4133, allocations: 11.33 kB / 0.5398 GB, free: 7.023 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.0001844/0.4135, allocations: 135.8 kB / 0.5399 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.4135, allocations: 20.7 kB / 0.5399 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.4152, allocations: 408.4 kB / 0.5403 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.4153, allocations: 1.5 kB / 0.5403 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.4153, allocations: 5.156 kB / 0.5403 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4153, allocations: 3.938 kB / 0.5403 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.4178, allocations: 0.7016 MB / 0.541 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4178, allocations: 0 / 0.541 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.4183, allocations: 67.22 kB / 0.5411 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.4184, allocations: 9.094 kB / 0.5411 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.4184, allocations: 5.109 kB / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.4184, allocations: 1.25 kB / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4184, allocations: 3.938 kB / 0.5411 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.4206, allocations: 481.7 kB / 0.5415 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.4207, allocations: 100.6 kB / 0.5416 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.4208, allocations: 2.312 kB / 0.5416 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.4214, allocations: 66.31 kB / 0.5417 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.4216, allocations: 44.97 kB / 0.5417 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.4216, allocations: 3.375 kB / 0.5417 GB, free: 5.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.4219, allocations: 191.2 kB / 0.5419 GB, free: 5.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4219, allocations: 1.094 kB / 0.5419 GB, free: 5.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.4224, allocations: 44.89 kB / 0.542 GB, free: 5.457 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.001416/0.4239, allocations: 408 kB / 0.5424 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.4261, allocations: 471.6 kB / 0.5428 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4261, allocations: 0 / 0.5428 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4272, allocations: 179.4 kB / 0.543 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.4277, allocations: 39.2 kB / 0.543 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.4291, allocations: 354.8 kB / 0.5434 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.4295, allocations: 0.7256 MB / 0.5441 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.4297, allocations: 18.27 kB / 0.5441 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4299, allocations: 21.38 kB / 0.5441 GB, free: 3.855 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4299, allocations: 0 / 0.5441 GB, free: 3.855 MB / 398.1 MB Notification: Performance of Templates: time 0.01198/0.4419, allocations: 3.592 MB / 0.5476 GB, free: 416 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)