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.001403/0.001403, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 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.2119/0.2119, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3109, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003238/0.3141, allocations: 1.863 MB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3158, allocations: 1.03 MB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.3159, allocations: 1.375 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3162, allocations: 67.03 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.3165, allocations: 123.2 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.3171, allocations: 211.4 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.3174, allocations: 208.6 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3175, allocations: 29.91 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3176, allocations: 80.75 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.3178, allocations: 106.7 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.3179, allocations: 13.03 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.318, allocations: 47.77 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.3181, allocations: 43.08 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.3182, allocations: 74.2 kB / 0.5355 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3184, allocations: 190.3 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3185, allocations: 0 / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3185, allocations: 0 / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3185, allocations: 1.031 kB / 0.5356 GB, free: 10.57 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.001057/0.3195, allocations: 0.581 MB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3196, allocations: 9.344 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.3197, allocations: 20.66 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3199, allocations: 230.4 kB / 0.5365 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.32, allocations: 10.58 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.32, allocations: 9.625 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.3205, allocations: 148.2 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3206, allocations: 8.906 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3206, allocations: 0 / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3206, allocations: 2.312 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.3213, allocations: 167.6 kB / 0.5368 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.3222, allocations: 424.2 kB / 0.5372 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.323, allocations: 203.7 kB / 0.5374 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.3234, allocations: 96.34 kB / 0.5375 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3234, allocations: 1.312 kB / 0.5375 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/0.324, allocations: 167.9 kB / 0.5376 GB, free: 8.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.324, allocations: 1.188 kB / 0.5376 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003888/0.3279, allocations: 0.826 MB / 0.5384 GB, free: 8.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.328, allocations: 62.28 kB / 0.5385 GB, free: 8.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3282, allocations: 244.4 kB / 0.5387 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.3283, allocations: 36.25 kB / 0.5388 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.3284, allocations: 129.4 kB / 0.5389 GB, free: 8.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.3284, allocations: 35.72 kB / 0.5389 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.3285, allocations: 37.98 kB / 0.539 GB, free: 8.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3286, allocations: 332.5 kB / 0.5393 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.3294, allocations: 171.5 kB / 0.5394 GB, free: 7.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.3301, allocations: 176.5 kB / 0.5396 GB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.3316, allocations: 386.9 kB / 0.54 GB, free: 7.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3316, allocations: 1.156 kB / 0.54 GB, free: 7.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001669/0.3333, allocations: 468 kB / 0.5404 GB, free: 7.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.3333, allocations: 58.06 kB / 0.5405 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3333, allocations: 0 / 0.5405 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.3334, allocations: 5.109 kB / 0.5405 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.3338, allocations: 72.66 kB / 0.5406 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3339, allocations: 4.047 kB / 0.5406 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.3343, allocations: 63.75 kB / 0.5406 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3343, allocations: 7.5 kB / 0.5406 GB, free: 6.906 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.0001641/0.3345, allocations: 145.2 kB / 0.5408 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.3346, allocations: 20.75 kB / 0.5408 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.3362, allocations: 415.5 kB / 0.5412 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3362, allocations: 2.156 kB / 0.5412 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3362, allocations: 3.938 kB / 0.5412 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3362, allocations: 3.984 kB / 0.5412 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.3381, allocations: 0.7234 MB / 0.5419 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3381, allocations: 0 / 0.5419 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.3385, allocations: 63.66 kB / 0.542 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3386, allocations: 9.062 kB / 0.542 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3386, allocations: 5.156 kB / 0.542 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3386, allocations: 1.125 kB / 0.542 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3386, allocations: 4 kB / 0.542 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.3401, allocations: 498.1 kB / 0.5425 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.3402, allocations: 92.52 kB / 0.5425 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.3403, allocations: 6.281 kB / 0.5426 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.3407, allocations: 62.33 kB / 0.5426 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.3409, allocations: 45.11 kB / 0.5427 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3409, allocations: 7.422 kB / 0.5427 GB, free: 5.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.3411, allocations: 188.6 kB / 0.5428 GB, free: 5.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3411, allocations: 0 / 0.5428 GB, free: 5.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.3414, allocations: 41.94 kB / 0.5429 GB, free: 5.324 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.0009621/0.3424, allocations: 392.4 kB / 0.5433 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.344, allocations: 0.4896 MB / 0.5437 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3441, allocations: 0 / 0.5437 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.3449, allocations: 186.1 kB / 0.5439 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.3453, allocations: 54.8 kB / 0.544 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3463, allocations: 376.7 kB / 0.5443 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3466, allocations: 0.7328 MB / 0.545 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3467, allocations: 19.44 kB / 0.5451 GB, free: 3.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3467, allocations: 0 / 0.5451 GB, free: 3.672 MB / 398.1 MB Notification: Performance of Templates: time 0.005704/0.3525, allocations: 3.3 MB / 0.5483 GB, free: 384 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)