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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 108.7 kB / 21.1 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 195.6 kB / 24.37 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 253.1 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.91 MB / 353.2 MB, free: 11.88 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.88 kB / 496.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3223, allocations: 64.3 MB / 0.548 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003266/0.3256, allocations: 1.845 MB / 0.5498 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3271, allocations: 0.8809 MB / 0.5506 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.3271, allocations: 0 / 0.5506 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.3274, allocations: 54.64 kB / 0.5507 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.3276, allocations: 86.75 kB / 0.5508 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.328, allocations: 160.7 kB / 0.5509 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.3283, allocations: 188.2 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3284, allocations: 25.09 kB / 0.5511 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3286, allocations: 83.69 kB / 0.5512 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3287, allocations: 103.3 kB / 0.5513 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.3288, allocations: 13.69 kB / 0.5513 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.3289, allocations: 42.19 kB / 0.5513 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.3289, allocations: 49.91 kB / 0.5514 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.329, allocations: 69.72 kB / 0.5515 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3293, allocations: 179.4 kB / 0.5516 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3293, allocations: 3.984 kB / 0.5516 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3293, allocations: 4 kB / 0.5516 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3293, allocations: 0 / 0.5516 GB, free: 10.09 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.001073/0.3304, allocations: 0.5027 MB / 0.5521 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3304, allocations: 10.58 kB / 0.5521 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3305, allocations: 36.14 kB / 0.5522 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.3305, allocations: 17.31 kB / 0.5522 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3308, allocations: 175.6 kB / 0.5524 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3308, allocations: 3.125 kB / 0.5524 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.3308, allocations: 16.89 kB / 0.5524 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.3313, allocations: 135.1 kB / 0.5525 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3313, allocations: 1.219 kB / 0.5525 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3313, allocations: 4 kB / 0.5525 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3313, allocations: 5.125 kB / 0.5525 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.332, allocations: 166.5 kB / 0.5527 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.3325, allocations: 349.1 kB / 0.553 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/0.3332, allocations: 190.4 kB / 0.5532 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.3336, allocations: 90.47 kB / 0.5533 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.3336, allocations: 5.156 kB / 0.5533 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.3342, allocations: 158.8 kB / 0.5534 GB, free: 8.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.3342, allocations: 1.25 kB / 0.5534 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003365/0.3375, allocations: 0.8166 MB / 0.5542 GB, free: 8.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3376, allocations: 61.59 kB / 0.5543 GB, free: 8.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3379, allocations: 244.5 kB / 0.5545 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3379, allocations: 32.36 kB / 0.5546 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.338, allocations: 123.8 kB / 0.5547 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.338, allocations: 41.28 kB / 0.5547 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.3381, allocations: 33.86 kB / 0.5547 GB, free: 7.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3383, allocations: 330.9 kB / 0.5551 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.3389, allocations: 165.2 kB / 0.5552 GB, free: 7.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.3395, allocations: 169.5 kB / 0.5554 GB, free: 7.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.3407, allocations: 364 kB / 0.5557 GB, free: 7.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3407, allocations: 5.75 kB / 0.5557 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001419/0.3421, allocations: 457.8 kB / 0.5562 GB, free: 6.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.3422, allocations: 65.7 kB / 0.5562 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3422, allocations: 1.156 kB / 0.5562 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3422, allocations: 0 / 0.5562 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.3426, allocations: 72.16 kB / 0.5563 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3426, allocations: 5.156 kB / 0.5563 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.343, allocations: 65.25 kB / 0.5564 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.343, allocations: 8 kB / 0.5564 GB, free: 6.637 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.0001563/0.3432, allocations: 145.7 kB / 0.5565 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.3432, allocations: 19.86 kB / 0.5565 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.3446, allocations: 402.7 kB / 0.5569 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3446, allocations: 4.047 kB / 0.5569 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3446, allocations: 7.938 kB / 0.5569 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3446, allocations: 4 kB / 0.5569 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.3463, allocations: 0.6767 MB / 0.5576 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3463, allocations: 0 / 0.5576 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.3466, allocations: 75.84 kB / 0.5577 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3466, allocations: 0 / 0.5577 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3467, allocations: 7.984 kB / 0.5577 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3467, allocations: 0 / 0.5577 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3467, allocations: 0 / 0.5577 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.348, allocations: 483 kB / 0.5581 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.3481, allocations: 23.83 kB / 0.5582 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3481, allocations: 4 kB / 0.5582 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.3485, allocations: 59.91 kB / 0.5582 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.3487, allocations: 51.92 kB / 0.5583 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3487, allocations: 8 kB / 0.5583 GB, free: 4.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.3489, allocations: 180.6 kB / 0.5584 GB, free: 4.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3489, allocations: 0 / 0.5584 GB, free: 4.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.3492, allocations: 51.92 kB / 0.5585 GB, free: 4.379 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.003033/0.3522, allocations: 1.313 MB / 0.5598 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3537, allocations: 462.4 kB / 0.5602 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3537, allocations: 0 / 0.5602 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.3543, allocations: 179.8 kB / 0.5604 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3547, allocations: 39.42 kB / 0.5604 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.3604, allocations: 2.799 MB / 0.5632 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3608, allocations: 0.7279 MB / 0.5639 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.3609, allocations: 17.42 kB / 0.5639 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.361, allocations: 55.42 kB / 0.5639 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.361, allocations: 0 / 0.5639 GB, free: 14.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.389, allocations: 5.745 MB / 0.5696 GB, free: 9.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.603, allocations: 3.938 kB / 0.5696 GB, free: 9.082 MB / 414.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.388782472000457] Failed to read output from testmodel.py, exit status != 0: 8.727544802008197 8.747244125 8.41471313 Calling exit ...