Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001271/0.001271, 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.001405/0.001405, 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.479/1.479, 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.2312/0.2312, allocations: 46.93 MB / 361.6 MB, free: 4.289 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",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.002416/0.002416, allocations: 83.86 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2905, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003854/0.2943, allocations: 2.056 MB / 0.5635 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.2962, allocations: 1.045 MB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.2963, allocations: 4 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.2968, allocations: 263.1 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.2974, allocations: 263 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2984, allocations: 489.3 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.2989, allocations: 338.8 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.299, allocations: 54.72 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.2992, allocations: 147.4 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.2995, allocations: 227.2 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.2995, allocations: 12 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.2997, allocations: 71.91 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.2998, allocations: 99.61 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2999, allocations: 123 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.3004, allocations: 350.2 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3004, allocations: 4 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3004, allocations: 3.938 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3004, allocations: 4 kB / 0.5669 GB, free: 14.79 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.0008963/0.3013, allocations: 0.6088 MB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3013, allocations: 12.03 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.3014, allocations: 42.73 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.3014, allocations: 44.61 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.3018, allocations: 272.7 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3018, allocations: 8.375 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.3019, allocations: 12.38 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3021, allocations: 111 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3021, allocations: 15.88 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3021, allocations: 4 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3021, allocations: 4 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3023, allocations: 67.89 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.303, allocations: 479.4 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.3032, allocations: 90.48 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3033, allocations: 32.84 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.3034, allocations: 3.984 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.3034, allocations: 38.55 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3034, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001001/0.3044, allocations: 411 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3045, allocations: 51.41 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.3052, allocations: 0.5916 MB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.3052, allocations: 29.7 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3054, allocations: 216.4 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.3054, allocations: 59.42 kB / 0.57 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.3055, allocations: 33.7 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3057, allocations: 350.8 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3058, allocations: 59.91 kB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.3059, allocations: 51.97 kB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.3061, allocations: 115 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3061, allocations: 0 / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003627/0.3065, allocations: 205.2 kB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3065, allocations: 8 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3065, allocations: 4 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3065, allocations: 0 / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3067, allocations: 35.92 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3067, allocations: 3.984 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3068, allocations: 8 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3069, allocations: 8 kB / 0.5708 GB, free: 10.55 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.0001774/0.307, allocations: 173.8 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3072, allocations: 47.66 kB / 0.571 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.3077, allocations: 251.2 kB / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3077, allocations: 0 / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3077, allocations: 4 kB / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3077, allocations: 3.984 kB / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.3086, allocations: 0.6027 MB / 0.5719 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3086, allocations: 4 kB / 0.5719 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3087, allocations: 35.98 kB / 0.5719 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3087, allocations: 0 / 0.5719 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3087, allocations: 11.98 kB / 0.5719 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3087, allocations: 3.938 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3087, allocations: 0 / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.3091, allocations: 302 kB / 0.5722 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.3092, allocations: 47.7 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3092, allocations: 7.984 kB / 0.5723 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3093, allocations: 8 kB / 0.5723 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.3094, allocations: 11.92 kB / 0.5723 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3094, allocations: 11.98 kB / 0.5723 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004997/0.3099, allocations: 439.1 kB / 0.5727 GB, free: 8.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3099, allocations: 0 / 0.5727 GB, free: 8.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000307/0.3102, allocations: 47.92 kB / 0.5728 GB, free: 8.492 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.003464/0.3137, allocations: 1.427 MB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.3141, allocations: 135.8 kB / 0.5743 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3141, allocations: 4 kB / 0.5743 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3142, allocations: 67.91 kB / 0.5743 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.3148, allocations: 83.23 kB / 0.5744 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.319, allocations: 3.156 MB / 0.5775 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.3195, allocations: 0.8182 MB / 0.5783 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.3197, allocations: 58.16 kB / 0.5784 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.3199, allocations: 131.4 kB / 0.5785 GB, free: 2.777 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3199, allocations: 0 / 0.5785 GB, free: 2.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.3526, allocations: 7.775 MB / 0.5861 GB, free: 11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/8.906, allocations: 8 kB / 0.5861 GB, free: 11 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.763593110255897] 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'] 9.05433165980503 9.082323228 8.77657107 Calling exit ...