Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001842/0.001842, allocations: 110.5 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.00232/0.00232, allocations: 211.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.539/1.539, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2394/0.2394, allocations: 46.92 MB / 361.6 MB, free: 4.199 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",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.003948/0.003948, allocations: 83.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3766, allocations: 66.09 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003523/0.3801, allocations: 2.063 MB / 0.5635 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3821, allocations: 1.142 MB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3822, allocations: 11.94 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.3827, allocations: 267.1 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.3832, allocations: 255.1 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3846, allocations: 0.6525 MB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.385, allocations: 374.8 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.3852, allocations: 52.89 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3854, allocations: 151.4 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.3857, allocations: 235.1 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.3857, allocations: 15.94 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3859, allocations: 104 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.386, allocations: 99.61 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3862, allocations: 138.8 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.3867, allocations: 374.1 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.3867, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3867, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3867, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001087/0.3878, allocations: 0.6398 MB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3879, allocations: 12.03 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.388, allocations: 42.75 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.388, allocations: 48.64 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.3885, allocations: 280.6 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3885, allocations: 8.375 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.3886, allocations: 16.36 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3889, allocations: 127 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.3889, allocations: 7.891 kB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.389, allocations: 4 kB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.389, allocations: 4 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.3892, allocations: 91.86 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.3901, allocations: 499.4 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3903, allocations: 106.5 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.3904, allocations: 40.83 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.3905, allocations: 3.984 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3905, allocations: 30.56 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3905, allocations: 4.219 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001208/0.3917, allocations: 466.6 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.3918, allocations: 51.41 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.3925, allocations: 0.6072 MB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3925, allocations: 29.7 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3927, allocations: 212.4 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.3927, allocations: 71.42 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.3928, allocations: 37.7 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.393, allocations: 358.8 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3931, allocations: 67.95 kB / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3932, allocations: 59.97 kB / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.3935, allocations: 155.1 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3935, allocations: 4 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004099/0.3939, allocations: 249 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3939, allocations: 4 kB / 0.5715 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3939, allocations: 0 / 0.5715 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.394, allocations: 0 / 0.5715 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.3941, allocations: 35.92 kB / 0.5715 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3941, allocations: 0 / 0.5715 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/0.3942, allocations: 15.98 kB / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3943, allocations: 8 kB / 0.5715 GB, free: 9.844 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001955/0.3945, allocations: 177.8 kB / 0.5717 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.3945, allocations: 59.53 kB / 0.5717 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006069/0.3952, allocations: 284.2 kB / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3952, allocations: 0 / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3952, allocations: 0 / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3952, allocations: 0 / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.3962, allocations: 0.6691 MB / 0.5727 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3962, allocations: 0 / 0.5727 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3964, allocations: 35.92 kB / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3964, allocations: 0 / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3964, allocations: 0 / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.3964, allocations: 7.984 kB / 0.5727 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3964, allocations: 0 / 0.5727 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.3968, allocations: 339 kB / 0.573 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.3969, allocations: 47.7 kB / 0.5731 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3969, allocations: 0 / 0.5731 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.397, allocations: 11.98 kB / 0.5731 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.3971, allocations: 11.92 kB / 0.5731 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3971, allocations: 4 kB / 0.5731 GB, free: 8.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004855/0.3976, allocations: 454.8 kB / 0.5735 GB, free: 7.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3976, allocations: 4 kB / 0.5735 GB, free: 7.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.3979, allocations: 51.92 kB / 0.5736 GB, free: 7.633 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003318/0.4012, allocations: 1.469 MB / 0.575 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.4016, allocations: 169.9 kB / 0.5752 GB, free: 6.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4016, allocations: 4 kB / 0.5752 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.4018, allocations: 83.89 kB / 0.5753 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.4024, allocations: 84.88 kB / 0.5753 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.4065, allocations: 3.334 MB / 0.5786 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.407, allocations: 0.8221 MB / 0.5794 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.4071, allocations: 66.22 kB / 0.5795 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.4073, allocations: 139.4 kB / 0.5796 GB, free: 1.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4073, allocations: 0 / 0.5796 GB, free: 1.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.4407, allocations: 8.023 MB / 0.5874 GB, free: 9.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/9.108, allocations: 19.22 kB / 0.5875 GB, free: 9.594 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.330479533877224] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 9.255756180733442 9.271611078 8.881117539 Calling exit ...