Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001636/0.001636, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002025/0.002025, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.546/1.546, allocations: 230.5 MB / 258.2 MB, free: 8.242 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.2343/0.2343, allocations: 46.93 MB / 361.6 MB, free: 4.285 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",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.002364/0.002364, allocations: 83.86 kB / 0.497 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4099, allocations: 66.09 MB / 0.5615 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004302/0.4142, allocations: 2.127 MB / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.417, allocations: 1.423 MB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.4171, allocations: 11.88 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.4175, allocations: 59.44 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005978/0.418, allocations: 219.1 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.4196, allocations: 0.6178 MB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.4202, allocations: 362.9 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.4204, allocations: 44.91 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.4207, allocations: 163.3 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.421, allocations: 219.1 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.4211, allocations: 20 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.4212, allocations: 63.98 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.4215, allocations: 159.4 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.4218, allocations: 190.5 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.4225, allocations: 439.9 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.4225, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4225, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.4226, allocations: 0 / 0.5675 GB, free: 14.28 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001446/0.424, allocations: 0.7911 MB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.4241, allocations: 12.03 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.4241, allocations: 46.73 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004656/0.4246, allocations: 96.47 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.4254, allocations: 439.1 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4254, allocations: 4.375 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.4255, allocations: 12.38 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.4259, allocations: 171.3 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4259, allocations: 0 / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4259, allocations: 4 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4259, allocations: 4 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.4262, allocations: 123.8 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4275, allocations: 0.6987 MB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.4278, allocations: 129.2 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.428, allocations: 61.8 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.428, allocations: 8 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.428, allocations: 30.56 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.428, allocations: 3.938 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002389/0.4304, allocations: 0.784 MB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.4305, allocations: 81.11 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.4317, allocations: 0.9299 MB / 0.5718 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.4318, allocations: 25.7 kB / 0.5718 GB, free: 9.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.432, allocations: 284.3 kB / 0.5721 GB, free: 9.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.4321, allocations: 67.39 kB / 0.5721 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.4322, allocations: 45.69 kB / 0.5722 GB, free: 9.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4324, allocations: 314 kB / 0.5725 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.4327, allocations: 107.9 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.433, allocations: 125.6 kB / 0.5727 GB, free: 8.691 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006998/0.4337, allocations: 253.5 kB / 0.5729 GB, free: 8.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4337, allocations: 3.938 kB / 0.5729 GB, free: 8.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008501/0.4345, allocations: 353.1 kB / 0.5733 GB, free: 8.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4345, allocations: 4 kB / 0.5733 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4345, allocations: 224 / 0.5733 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4346, allocations: 4 kB / 0.5733 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.4348, allocations: 59.86 kB / 0.5733 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4349, allocations: 7.938 kB / 0.5733 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.435, allocations: 23.98 kB / 0.5734 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.4351, allocations: 7.984 kB / 0.5734 GB, free: 7.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002561/0.4353, allocations: 221.7 kB / 0.5736 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.4354, allocations: 63.58 kB / 0.5736 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.4363, allocations: 407.2 kB / 0.574 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4363, allocations: 4 kB / 0.574 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4363, allocations: 0 / 0.574 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4363, allocations: 0 / 0.574 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.438, allocations: 0.9419 MB / 0.575 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.438, allocations: 4 kB / 0.575 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.4382, allocations: 55.89 kB / 0.575 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.517e-06/0.4382, allocations: 4 kB / 0.575 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.4382, allocations: 0 / 0.575 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4382, allocations: 7.984 kB / 0.575 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4382, allocations: 3.938 kB / 0.575 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.4391, allocations: 0.5161 MB / 0.5755 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4393, allocations: 75.55 kB / 0.5756 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.4393, allocations: 8 kB / 0.5756 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.4396, allocations: 27.97 kB / 0.5756 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.4396, allocations: 23.91 kB / 0.5757 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4397, allocations: 7.984 kB / 0.5757 GB, free: 5.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008513/0.4405, allocations: 0.6786 MB / 0.5763 GB, free: 4.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4405, allocations: 0 / 0.5763 GB, free: 4.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.4409, allocations: 64 kB / 0.5764 GB, free: 4.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002616/0.4435, allocations: 1.358 MB / 0.5777 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.4443, allocations: 251.8 kB / 0.578 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4443, allocations: 3.938 kB / 0.578 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.4446, allocations: 140.3 kB / 0.5781 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.4452, allocations: 81.7 kB / 0.5782 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.4533, allocations: 5.502 MB / 0.5835 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.4539, allocations: 0.8928 MB / 0.5844 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.4541, allocations: 103.2 kB / 0.5845 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.4544, allocations: 199.3 kB / 0.5847 GB, free: 12.28 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4544, allocations: 0 / 0.5847 GB, free: 12.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.4962, allocations: 10.88 MB / 0.5953 GB, free: 1.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.758/9.254, allocations: 15.66 kB / 0.5953 GB, free: 1.387 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.33967863721773] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 9.402355337981135 9.42698442 8.999672568 Calling exit ...