Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001388/0.001388, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.001733/0.001733, allocations: 210.2 kB / 23.48 MB, free: 5.227 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.429/1.429, allocations: 230.2 MB / 256.8 MB, free: 8.551 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.2216/0.2216, allocations: 46.89 MB / 360 MB, free: 4.684 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002261/0.002261, allocations: 79.86 kB / 0.4951 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2978, allocations: 65.99 MB / 0.5595 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003832/0.3016, allocations: 1.881 MB / 0.5614 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.304, allocations: 1.068 MB / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3041, allocations: 0 / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.3045, allocations: 67.66 kB / 0.5625 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.305, allocations: 115.5 kB / 0.5626 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.3058, allocations: 206.8 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.3063, allocations: 199.4 kB / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.3064, allocations: 23.38 kB / 0.563 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.3066, allocations: 87.67 kB / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3068, allocations: 103.6 kB / 0.5632 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.3069, allocations: 16 kB / 0.5632 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.307, allocations: 39.92 kB / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3072, allocations: 47.83 kB / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3073, allocations: 71.58 kB / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.3078, allocations: 203.1 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3078, allocations: 0 / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3078, allocations: 0 / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3078, allocations: 7.938 kB / 0.5636 GB, free: 0.8125 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.001545/0.3093, allocations: 0.5836 MB / 0.5641 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3094, allocations: 8.031 kB / 0.5641 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.3094, allocations: 38.75 kB / 0.5642 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.3095, allocations: 16.84 kB / 0.5642 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.31, allocations: 245.6 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.31, allocations: 4.375 kB / 0.5644 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.3101, allocations: 8.375 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.3108, allocations: 153.5 kB / 0.5646 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3108, allocations: 0 / 0.5646 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3108, allocations: 4 kB / 0.5646 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3109, allocations: 11.94 kB / 0.5646 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3119, allocations: 159.8 kB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.3132, allocations: 436.5 kB / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3144, allocations: 198.3 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.315, allocations: 88.75 kB / 0.5654 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.315, allocations: 4 kB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008812/0.3159, allocations: 171.2 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.105e-06/0.3159, allocations: 0 / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.005593/0.3215, allocations: 0.8361 MB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.3216, allocations: 59.39 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.322, allocations: 256.9 kB / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.3221, allocations: 33.7 kB / 0.5668 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3222, allocations: 124.1 kB / 0.5669 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.3223, allocations: 43.83 kB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3224, allocations: 37.7 kB / 0.567 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3226, allocations: 334.8 kB / 0.5673 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.3238, allocations: 171.8 kB / 0.5674 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.3248, allocations: 171.8 kB / 0.5676 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.3268, allocations: 378.1 kB / 0.568 GB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3268, allocations: 0 / 0.568 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002722/0.3295, allocations: 476.4 kB / 0.5684 GB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.3296, allocations: 59.41 kB / 0.5685 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3296, allocations: 4 kB / 0.5685 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.3296, allocations: 112 / 0.5685 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.3303, allocations: 71.84 kB / 0.5685 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3303, allocations: 4.562 kB / 0.5686 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.3311, allocations: 75.83 kB / 0.5686 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.3311, allocations: 4 kB / 0.5686 GB, free: 11.33 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.0002576/0.3314, allocations: 133.8 kB / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.3314, allocations: 23.89 kB / 0.5688 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.3343, allocations: 431 kB / 0.5692 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3343, allocations: 3.938 kB / 0.5692 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3343, allocations: 0 / 0.5692 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3343, allocations: 7.938 kB / 0.5692 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.3377, allocations: 0.7167 MB / 0.5699 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3377, allocations: 8 kB / 0.5699 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.3383, allocations: 67.91 kB / 0.57 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3383, allocations: 4 kB / 0.57 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.3384, allocations: 3.938 kB / 0.57 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3384, allocations: 0 / 0.57 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3384, allocations: 0 / 0.57 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.3412, allocations: 0.4907 MB / 0.5705 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.3413, allocations: 92.97 kB / 0.5705 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.3414, allocations: 15.92 kB / 0.5706 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.3421, allocations: 59.91 kB / 0.5706 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.3424, allocations: 51.94 kB / 0.5707 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.3424, allocations: 4 kB / 0.5707 GB, free: 9.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.3428, allocations: 188.5 kB / 0.5709 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3428, allocations: 0 / 0.5709 GB, free: 8.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005747/0.3433, allocations: 44 kB / 0.5709 GB, free: 8.906 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.005454/0.3488, allocations: 1.326 MB / 0.5722 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.3517, allocations: 470.4 kB / 0.5726 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3517, allocations: 4 kB / 0.5726 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.3531, allocations: 183.7 kB / 0.5728 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.3538, allocations: 34.67 kB / 0.5729 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.3647, allocations: 2.901 MB / 0.5757 GB, free: 4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.3653, allocations: 0.728 MB / 0.5764 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.3656, allocations: 37.39 kB / 0.5764 GB, free: 3.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.3658, allocations: 55.41 kB / 0.5765 GB, free: 3.156 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3658, allocations: 0 / 0.5765 GB, free: 3.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/0.4079, allocations: 5.875 MB / 0.5822 GB, free: 13.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.78, allocations: 7.875 kB / 0.5822 GB, free: 13.29 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.602899836027063] Failed to read output from testmodel.py, exit status != 0: 8.908896730048582 8.938487267 8.625307423 Calling exit ...