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.001807/0.001807, allocations: 110 kB / 20.42 MB, free: 1.535 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.002274/0.002274, allocations: 210.2 kB / 23.71 MB, free: 4.965 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.432/1.432, allocations: 230.2 MB / 257.1 MB, free: 8.512 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.2339/0.2339, allocations: 46.9 MB / 360.3 MB, free: 4.641 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.002315/0.002315, allocations: 79.86 kB / 0.4955 GB, free: 8.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2963, allocations: 66 MB / 0.56 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003584/0.2999, allocations: 2.06 MB / 0.562 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3019, allocations: 1.037 MB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.302, allocations: 0 / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.3025, allocations: 255.2 kB / 0.5633 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.303, allocations: 267 kB / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.304, allocations: 493.1 kB / 0.564 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.3044, allocations: 334.9 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.3047, allocations: 54.53 kB / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.3049, allocations: 139.5 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.3051, allocations: 231.1 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.3052, allocations: 11.94 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.3054, allocations: 99.97 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.3055, allocations: 91.61 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3057, allocations: 142.9 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.3061, allocations: 354.2 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3062, allocations: 0 / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3062, allocations: 0 / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3062, allocations: 0 / 0.5654 GB, free: 15.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.001001/0.3072, allocations: 0.7112 MB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3072, allocations: 8.031 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.3073, allocations: 38.75 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.3073, allocations: 48.61 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.3078, allocations: 334.5 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3078, allocations: 12.38 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3078, allocations: 12.38 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3081, allocations: 106.1 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3081, allocations: 11.92 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3081, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.3081, allocations: 4 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3083, allocations: 71.89 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.3091, allocations: 0.5003 MB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3093, allocations: 82.55 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.3093, allocations: 32.84 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3094, allocations: 4 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.3094, allocations: 38.5 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.3094, allocations: 0 / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001028/0.3104, allocations: 409 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3105, allocations: 51.41 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.3113, allocations: 0.5916 MB / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3113, allocations: 25.7 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3115, allocations: 212.4 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.3116, allocations: 59.48 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.3116, allocations: 41.7 kB / 0.5687 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3118, allocations: 354.8 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3119, allocations: 43.98 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.3121, allocations: 47.97 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3123, allocations: 127.5 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3123, allocations: 0 / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003758/0.3127, allocations: 213.1 kB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3127, allocations: 6.656 kB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3127, allocations: 3.938 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3127, allocations: 0 / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3129, allocations: 35.97 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3129, allocations: 0 / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.313, allocations: 12 kB / 0.5695 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.313, allocations: 7.984 kB / 0.5695 GB, free: 10.93 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.0002202/0.3132, allocations: 177.8 kB / 0.5697 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.3133, allocations: 47.66 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/0.3138, allocations: 241.7 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.3138, allocations: 4 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3138, allocations: 0 / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3138, allocations: 3.984 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/0.3148, allocations: 0.6426 MB / 0.5706 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3148, allocations: 0 / 0.5706 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3149, allocations: 39.92 kB / 0.5706 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3149, allocations: 0 / 0.5706 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3149, allocations: 0 / 0.5706 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3149, allocations: 7.984 kB / 0.5706 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3149, allocations: 0 / 0.5706 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.3154, allocations: 308.9 kB / 0.5709 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3155, allocations: 120.8 kB / 0.571 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.3155, allocations: 8 kB / 0.571 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3156, allocations: 7.984 kB / 0.571 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3157, allocations: 11.92 kB / 0.571 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3157, allocations: 8 kB / 0.5711 GB, free: 9.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00048/0.3161, allocations: 443.1 kB / 0.5715 GB, free: 8.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3161, allocations: 0 / 0.5715 GB, free: 8.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3164, allocations: 51.94 kB / 0.5715 GB, free: 8.727 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.003456/0.3199, allocations: 1.424 MB / 0.5729 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.3203, allocations: 131.8 kB / 0.573 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3203, allocations: 0 / 0.573 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3204, allocations: 75.83 kB / 0.5731 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.321, allocations: 81.3 kB / 0.5732 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.3254, allocations: 3.18 MB / 0.5763 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.3259, allocations: 0.8104 MB / 0.5771 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.326, allocations: 54.23 kB / 0.5771 GB, free: 3.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.3262, allocations: 135.4 kB / 0.5773 GB, free: 3.016 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3262, allocations: 0 / 0.5773 GB, free: 3.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.3577, allocations: 7.683 MB / 0.5848 GB, free: 11.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.003, allocations: 7.5 kB / 0.5848 GB, free: 11.32 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.860337784979492] 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.133248052094132 9.161945549 8.850520165 Calling exit ...