Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001398/0.001398, 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.001567/0.001567, allocations: 213.2 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.513/1.513, 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.2326/0.2326, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002312/0.002312, allocations: 75.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00349/0.3315, allocations: 2.057 MB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3333, allocations: 1.056 MB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.3334, allocations: 0 / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.3339, allocations: 251.2 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.3344, allocations: 267.1 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3355, allocations: 489.3 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.336, allocations: 338.8 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3361, allocations: 52.89 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3363, allocations: 155.3 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.3366, allocations: 223.2 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.3366, allocations: 12 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.3368, allocations: 99.91 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.337, allocations: 99.59 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3371, allocations: 127 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.3375, allocations: 362.2 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3375, allocations: 3.984 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3375, allocations: 4 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3375, allocations: 0 / 0.5669 GB, free: 14.76 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.0008547/0.3384, allocations: 0.6243 MB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3384, allocations: 8.031 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.3385, allocations: 50.67 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.3386, allocations: 48.61 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3389, allocations: 264.7 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3389, allocations: 8.312 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.339, allocations: 12.38 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.3392, allocations: 115 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3392, allocations: 3.938 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3392, allocations: 4 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3392, allocations: 4 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3394, allocations: 79.81 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.3401, allocations: 479.4 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3403, allocations: 94.48 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.3403, allocations: 28.84 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3404, allocations: 4 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3404, allocations: 30.56 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3404, allocations: 0 / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009582/0.3414, allocations: 408.5 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3414, allocations: 55.41 kB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.3421, allocations: 0.5877 MB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3421, allocations: 29.7 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3423, allocations: 212.4 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.3424, allocations: 67.45 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.3424, allocations: 29.72 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3426, allocations: 362.8 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3427, allocations: 47.97 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3428, allocations: 50.16 kB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.3431, allocations: 127.1 kB / 0.5706 GB, free: 10.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3431, allocations: 0 / 0.5706 GB, free: 10.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003606/0.3434, allocations: 201.2 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3435, allocations: 11.98 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3435, allocations: 0 / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3435, allocations: 4 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3436, allocations: 35.92 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3436, allocations: 4 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.3437, allocations: 7.984 kB / 0.5709 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3437, allocations: 4 kB / 0.5709 GB, free: 10.51 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.0001744/0.3439, allocations: 169.8 kB / 0.571 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.344, allocations: 51.66 kB / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.3445, allocations: 249.5 kB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3445, allocations: 0 / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3445, allocations: 0 / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3445, allocations: 0 / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/0.3453, allocations: 0.6126 MB / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3453, allocations: 4 kB / 0.5719 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3454, allocations: 31.98 kB / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3454, allocations: 0 / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3454, allocations: 4 kB / 0.572 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3454, allocations: 7.938 kB / 0.572 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3455, allocations: 0 / 0.572 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.3459, allocations: 311 kB / 0.5723 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.3459, allocations: 47.7 kB / 0.5723 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.346, allocations: 4 kB / 0.5723 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3461, allocations: 11.98 kB / 0.5723 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.3461, allocations: 11.92 kB / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3461, allocations: 4 kB / 0.5723 GB, free: 8.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004975/0.3466, allocations: 447.1 kB / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3466, allocations: 0 / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.3469, allocations: 47.94 kB / 0.5728 GB, free: 8.441 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.003246/0.3502, allocations: 1.419 MB / 0.5742 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.3505, allocations: 131.8 kB / 0.5743 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3505, allocations: 4 kB / 0.5743 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3506, allocations: 71.89 kB / 0.5744 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.3512, allocations: 88.23 kB / 0.5745 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.3552, allocations: 3.166 MB / 0.5776 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.3557, allocations: 0.8143 MB / 0.5784 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.3558, allocations: 50.25 kB / 0.5784 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.356, allocations: 131.4 kB / 0.5785 GB, free: 2.734 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.356, allocations: 4 kB / 0.5785 GB, free: 2.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/0.3953, allocations: 7.773 MB / 0.5861 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.847, allocations: 15.66 kB / 0.5862 GB, free: 10.95 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.806293827015907] Failed to read output from testmodel.py, exit status != 0: ['time', 'clock1.y', 'combiTable2D1D.y', 'combiTable2D1DT.y', 'combiTable1D.y[1]', 'combiTable2D.y', 'combiTable2DT.y', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 8.992147648707032 9.017516619 8.675007733 Calling exit ...