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.001399/0.001399, allocations: 112.2 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3263, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003248/0.3296, allocations: 1.862 MB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3313, allocations: 1.008 MB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.3314, allocations: 1.375 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.3316, allocations: 63.11 kB / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.332, allocations: 127 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.3324, allocations: 160.9 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.3327, allocations: 205.9 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3329, allocations: 20.23 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.333, allocations: 82.8 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3332, allocations: 98.97 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.3332, allocations: 16.28 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.3334, allocations: 52.3 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.3335, allocations: 36.84 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.3335, allocations: 74.17 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.3339, allocations: 185.1 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3339, allocations: 0 / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3339, allocations: 0 / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3339, allocations: 0 / 0.5355 GB, free: 10.61 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.001161/0.3351, allocations: 0.5687 MB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3351, allocations: 9.719 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.3352, allocations: 20.59 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3354, allocations: 241.1 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3354, allocations: 3.125 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.3355, allocations: 9.312 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.3361, allocations: 143.2 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3361, allocations: 0 / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3361, allocations: 5.359 kB / 0.5365 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3362, allocations: 1.375 kB / 0.5365 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008165/0.337, allocations: 161.8 kB / 0.5367 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.3375, allocations: 373.3 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.3383, allocations: 188.6 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.3388, allocations: 94.45 kB / 0.5373 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3388, allocations: 6.125 kB / 0.5373 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005824/0.3394, allocations: 167.1 kB / 0.5375 GB, free: 8.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3394, allocations: 0 / 0.5375 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003967/0.3434, allocations: 0.8155 MB / 0.5383 GB, free: 8.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3435, allocations: 62.48 kB / 0.5383 GB, free: 8.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3437, allocations: 244.7 kB / 0.5386 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3438, allocations: 32.52 kB / 0.5386 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.3438, allocations: 120.7 kB / 0.5387 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.3439, allocations: 47.45 kB / 0.5387 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.344, allocations: 37.58 kB / 0.5388 GB, free: 8.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3442, allocations: 332.2 kB / 0.5391 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007733/0.345, allocations: 168.9 kB / 0.5393 GB, free: 7.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.3457, allocations: 167.4 kB / 0.5394 GB, free: 7.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.3472, allocations: 364.9 kB / 0.5398 GB, free: 7.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3472, allocations: 1.312 kB / 0.5398 GB, free: 7.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001673/0.3489, allocations: 449.4 kB / 0.5402 GB, free: 7.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.349, allocations: 70.36 kB / 0.5403 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.349, allocations: 1.469 kB / 0.5403 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.349, allocations: 0 / 0.5403 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.3495, allocations: 68.78 kB / 0.5403 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3495, allocations: 3.938 kB / 0.5403 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.3499, allocations: 67.72 kB / 0.5404 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.35, allocations: 7.047 kB / 0.5404 GB, free: 7.016 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.0001646/0.3502, allocations: 136.2 kB / 0.5405 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.3502, allocations: 25.19 kB / 0.5406 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.3519, allocations: 412.8 kB / 0.541 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3519, allocations: 0.8125 kB / 0.541 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3519, allocations: 4.906 kB / 0.541 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3519, allocations: 0 / 0.541 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.3539, allocations: 0.7015 MB / 0.5416 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3539, allocations: 0 / 0.5416 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.3543, allocations: 67.69 kB / 0.5417 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3544, allocations: 5.156 kB / 0.5417 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.3544, allocations: 9.172 kB / 0.5417 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3544, allocations: 0 / 0.5417 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3544, allocations: 1.219 kB / 0.5417 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.356, allocations: 467.4 kB / 0.5422 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3562, allocations: 101.3 kB / 0.5423 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.3562, allocations: 6.031 kB / 0.5423 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.3567, allocations: 65.78 kB / 0.5423 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.3568, allocations: 44.88 kB / 0.5424 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3569, allocations: 3.25 kB / 0.5424 GB, free: 5.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.357, allocations: 189.1 kB / 0.5426 GB, free: 5.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.357, allocations: 3.938 kB / 0.5426 GB, free: 5.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003604/0.3574, allocations: 49.2 kB / 0.5426 GB, free: 5.453 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.0009424/0.3584, allocations: 401.4 kB / 0.543 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.3601, allocations: 470.6 kB / 0.5434 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3601, allocations: 1.312 kB / 0.5434 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.3609, allocations: 181.2 kB / 0.5436 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.0004709/0.3614, allocations: 43.25 kB / 0.5437 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3624, allocations: 375.2 kB / 0.544 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3627, allocations: 0.7296 MB / 0.5447 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3629, allocations: 20.62 kB / 0.5447 GB, free: 3.836 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3629, allocations: 0 / 0.5447 GB, free: 3.836 MB / 398.1 MB Notification: Performance of Templates: time 0.00587/0.3688, allocations: 3.202 MB / 0.5479 GB, free: 0.7852 MB / 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)