Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001841/0.001841, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2293/0.2293, allocations: 46.93 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 79.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3354, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003206/0.3386, allocations: 1.873 MB / 0.5634 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3403, allocations: 1.041 MB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.3403, allocations: 0 / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.3406, allocations: 67.72 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3409, allocations: 119.4 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.3413, allocations: 167.5 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.3416, allocations: 199.4 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.3417, allocations: 15.7 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3418, allocations: 91.67 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.342, allocations: 103.6 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.342, allocations: 12 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.3421, allocations: 51.92 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.3422, allocations: 39.89 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.638e-05/0.3423, allocations: 75.53 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.3425, allocations: 191.2 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3425, allocations: 0 / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3425, allocations: 3.938 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3425, allocations: 0 / 0.5655 GB, free: 272 kB / 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.001037/0.3436, allocations: 0.5083 MB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3436, allocations: 12.03 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.3437, allocations: 34.73 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.3437, allocations: 16.84 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.344, allocations: 179.3 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.344, allocations: 4.375 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.344, allocations: 8.375 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.3445, allocations: 157.5 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3445, allocations: 0 / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3445, allocations: 0 / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3445, allocations: 4 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.3452, allocations: 159.8 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.3457, allocations: 343.7 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.3464, allocations: 194.3 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.3467, allocations: 92.75 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3467, allocations: 4 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005333/0.3473, allocations: 159.2 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.3473, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003519/0.3508, allocations: 0.832 MB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.3509, allocations: 55.41 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3511, allocations: 260.8 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.3512, allocations: 25.7 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.3513, allocations: 128.1 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.3513, allocations: 43.7 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.3514, allocations: 33.7 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3515, allocations: 330.8 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.3522, allocations: 171.8 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.3529, allocations: 163.9 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3541, allocations: 363.8 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3541, allocations: 4 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001406/0.3555, allocations: 466.9 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.3555, allocations: 63.41 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3555, allocations: 0 / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3556, allocations: 0 / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.3559, allocations: 63.91 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3559, allocations: 0 / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.3564, allocations: 75.83 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3564, allocations: 8 kB / 0.5702 GB, free: 11.13 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.0001519/0.3565, allocations: 142.6 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.3566, allocations: 23.84 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.358, allocations: 402.7 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.358, allocations: 0.5625 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.358, allocations: 0 / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.358, allocations: 3.938 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.3599, allocations: 0.6885 MB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3599, allocations: 3.984 kB / 0.5714 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.3603, allocations: 63.91 kB / 0.5715 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.3603, allocations: 3.938 kB / 0.5715 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3603, allocations: 3.938 kB / 0.5715 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3603, allocations: 0 / 0.5715 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3603, allocations: 4 kB / 0.5715 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3617, allocations: 487 kB / 0.572 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.3618, allocations: 15.91 kB / 0.572 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.3618, allocations: 7.922 kB / 0.572 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.3622, allocations: 67.91 kB / 0.5721 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.3623, allocations: 47.92 kB / 0.5721 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3624, allocations: 4 kB / 0.5721 GB, free: 9.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.3626, allocations: 181.8 kB / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3626, allocations: 0 / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.3629, allocations: 51.92 kB / 0.5723 GB, free: 8.875 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.003199/0.3661, allocations: 1.309 MB / 0.5736 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.3676, allocations: 462.4 kB / 0.5741 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3676, allocations: 0 / 0.5741 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007524/0.3684, allocations: 179.7 kB / 0.5742 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3688, allocations: 36.02 kB / 0.5743 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005835/0.3746, allocations: 2.828 MB / 0.577 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3749, allocations: 0.7241 MB / 0.5777 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.3751, allocations: 29.39 kB / 0.5778 GB, free: 3.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3752, allocations: 59.34 kB / 0.5778 GB, free: 3.238 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3752, allocations: 4 kB / 0.5778 GB, free: 3.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.4067, allocations: 5.885 MB / 0.5836 GB, free: 13.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.895, allocations: 14.2 kB / 0.5836 GB, free: 13.35 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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.00279441 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.15586564084515] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 9.038723238743842 9.065231938 8.717785012 Calling exit ...