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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 212.3 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2232/0.2232, allocations: 44.94 MB / 359.6 MB, free: 6.035 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 59.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3092, allocations: 65.48 MB / 0.5577 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003644/0.3129, allocations: 1.813 MB / 0.5595 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3147, allocations: 0.9635 MB / 0.5605 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.3148, allocations: 0 / 0.5605 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.315, allocations: 71.66 kB / 0.5605 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.3154, allocations: 123.4 kB / 0.5606 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.3158, allocations: 163.3 kB / 0.5608 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3161, allocations: 195.4 kB / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3162, allocations: 23.55 kB / 0.561 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3164, allocations: 83.69 kB / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.3165, allocations: 107.6 kB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.3166, allocations: 12 kB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3167, allocations: 43.98 kB / 0.5612 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3168, allocations: 51.83 kB / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.3169, allocations: 59.59 kB / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.3172, allocations: 191.2 kB / 0.5615 GB, free: 3.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3172, allocations: 0 / 0.5615 GB, free: 3.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3172, allocations: 3.984 kB / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3172, allocations: 0 / 0.5615 GB, free: 3.605 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.001185/0.3184, allocations: 0.5083 MB / 0.562 GB, free: 3.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3184, allocations: 12.03 kB / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.062e-05/0.3184, allocations: 192 / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.3185, allocations: 34.75 kB / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.3185, allocations: 20.84 kB / 0.5621 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.3188, allocations: 183.2 kB / 0.5623 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3188, allocations: 8.125 kB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.3189, allocations: 8 kB / 0.5623 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.3194, allocations: 145.5 kB / 0.5624 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3194, allocations: 0 / 0.5624 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3194, allocations: 4 kB / 0.5624 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3194, allocations: 0 / 0.5624 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.3201, allocations: 167.8 kB / 0.5626 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.3207, allocations: 319.7 kB / 0.5629 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/0.3214, allocations: 186.4 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.3218, allocations: 92.75 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3219, allocations: 3.984 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006186/0.3225, allocations: 171.2 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.3225, allocations: 0 / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003655/0.3261, allocations: 0.8166 MB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.3262, allocations: 59.41 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.3265, allocations: 256.1 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.3266, allocations: 33.69 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3267, allocations: 124.1 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.3267, allocations: 47.83 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.3268, allocations: 33.64 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.327, allocations: 330.8 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/0.3278, allocations: 227.2 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.3284, allocations: 227.2 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.3297, allocations: 355.9 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3297, allocations: 4 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001563/0.3312, allocations: 0.5062 MB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/0.3313, allocations: 63.39 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.3313, allocations: 4.109 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3313, allocations: 7.875 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.3317, allocations: 67.84 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3317, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3321, allocations: 71.89 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3322, allocations: 8 kB / 0.5665 GB, free: 14.28 MB / 414.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.0001503/0.3323, allocations: 133.8 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.3324, allocations: 23.84 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.334, allocations: 406.7 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.334, allocations: 3.938 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.334, allocations: 0 / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.334, allocations: 0 / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.3357, allocations: 0.6457 MB / 0.5676 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3357, allocations: 7.938 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.3361, allocations: 67.84 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3361, allocations: 0 / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3361, allocations: 11.98 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3361, allocations: 0.5625 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3361, allocations: 0 / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.3376, allocations: 486.7 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.3376, allocations: 19.83 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3377, allocations: 8 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.3381, allocations: 63.89 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3383, allocations: 55.88 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3383, allocations: 7.984 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.3385, allocations: 185.6 kB / 0.5685 GB, free: 12.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3385, allocations: 0 / 0.5685 GB, free: 12.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.3388, allocations: 51.88 kB / 0.5685 GB, free: 12.05 MB / 414.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.003388/0.3422, allocations: 1.33 MB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3438, allocations: 0.5095 MB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3438, allocations: 0 / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007166/0.3445, allocations: 179.7 kB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3449, allocations: 54.12 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.3511, allocations: 3.048 MB / 0.5735 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.3513, allocations: 119.3 kB / 0.5737 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.3514, allocations: 21.41 kB / 0.5737 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3515, allocations: 59.41 kB / 0.5737 GB, free: 6.703 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3515, allocations: 0 / 0.5737 GB, free: 6.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.379, allocations: 6.248 MB / 0.5798 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.08, allocations: 9.547 kB / 0.5798 GB, free: 0.5312 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.992317207041197] Failed to read output from testmodel.py, exit status != 0: 12.308202742948197 12.335298133 12.013338667 Calling exit ...