Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001319/0.001319, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.001564/0.001564, allocations: 221.1 kB / 23.72 MB, free: 5.051 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.502/1.502, allocations: 230.2 MB / 257.1 MB, free: 8.492 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.238/0.238, allocations: 46.89 MB / 360.3 MB, free: 4.637 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",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.002423/0.002423, allocations: 83.86 kB / 0.4955 GB, free: 8.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4357, allocations: 65.99 MB / 0.56 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003953/0.4397, allocations: 2.052 MB / 0.562 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.442, allocations: 1.271 MB / 0.5632 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.4421, allocations: 4 kB / 0.5632 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.4424, allocations: 43.53 kB / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.4429, allocations: 211.1 kB / 0.5635 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.4439, allocations: 437.4 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.4443, allocations: 295.2 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.4445, allocations: 44.72 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.4447, allocations: 139.4 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.445, allocations: 203.2 kB / 0.5646 GB, free: 272 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.445, allocations: 12 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.4452, allocations: 59.98 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.4454, allocations: 151.4 kB / 0.5648 GB, free: 48 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.4456, allocations: 178.6 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.4461, allocations: 399.9 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4461, allocations: 3.984 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4461, allocations: 8 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.4461, allocations: 0 / 0.5653 GB, free: 15.47 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.001263/0.4474, allocations: 0.8121 MB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4474, allocations: 8.031 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.4475, allocations: 46.73 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002935/0.4478, allocations: 80.48 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.4485, allocations: 476.2 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4486, allocations: 12.38 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.4486, allocations: 12.38 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4489, allocations: 131.3 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4489, allocations: 4 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4489, allocations: 4 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4489, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.4491, allocations: 79.89 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4502, allocations: 0.6839 MB / 0.5676 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.4504, allocations: 109.2 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4505, allocations: 41.83 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.4506, allocations: 11.91 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4506, allocations: 34.56 kB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4506, allocations: 0 / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001522/0.4521, allocations: 0.5351 MB / 0.5683 GB, free: 12.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.4522, allocations: 81.11 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4533, allocations: 0.9297 MB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4533, allocations: 29.7 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.4536, allocations: 260.4 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.4536, allocations: 55.53 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.4537, allocations: 37.7 kB / 0.5697 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4539, allocations: 374.8 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4541, allocations: 51.95 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.4542, allocations: 69.69 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.4546, allocations: 137.6 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4546, allocations: 3.938 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005055/0.4551, allocations: 233.2 kB / 0.5705 GB, free: 9.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4551, allocations: 4 kB / 0.5705 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4551, allocations: 0 / 0.5705 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4551, allocations: 0 / 0.5705 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.4553, allocations: 43.91 kB / 0.5705 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4553, allocations: 4.312 kB / 0.5705 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.4555, allocations: 15.98 kB / 0.5706 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.4555, allocations: 4.219 kB / 0.5706 GB, free: 9.816 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 (16): * Single equations (assignments): 16 * 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.0002484/0.4557, allocations: 209.7 kB / 0.5708 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4559, allocations: 67.45 kB / 0.5708 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006155/0.4565, allocations: 274.4 kB / 0.5711 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4565, allocations: 0 / 0.5711 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4565, allocations: 0 / 0.5711 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4565, allocations: 7.938 kB / 0.5711 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.4578, allocations: 0.7903 MB / 0.5719 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4578, allocations: 0 / 0.5719 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.4579, allocations: 35.97 kB / 0.5719 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.458, allocations: 192 / 0.5719 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.458, allocations: 8 kB / 0.5719 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.458, allocations: 0 / 0.5719 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.458, allocations: 7.875 kB / 0.5719 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.4586, allocations: 405 kB / 0.5723 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.4588, allocations: 156.7 kB / 0.5725 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.4589, allocations: 4 kB / 0.5725 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4591, allocations: 8 kB / 0.5725 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.4591, allocations: 23.91 kB / 0.5725 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.4591, allocations: 8 kB / 0.5725 GB, free: 7.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009169/0.4601, allocations: 0.6747 MB / 0.5732 GB, free: 7.051 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4601, allocations: 0 / 0.5732 GB, free: 7.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.4604, allocations: 52 kB / 0.5732 GB, free: 7 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 (16): * Single equations (assignments): 16 * 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.002506/0.463, allocations: 1.241 MB / 0.5744 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.4634, allocations: 135.9 kB / 0.5746 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4634, allocations: 0 / 0.5746 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.4636, allocations: 79.88 kB / 0.5746 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.4642, allocations: 88.16 kB / 0.5747 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.4712, allocations: 5.059 MB / 0.5797 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.4719, allocations: 0.8653 MB / 0.5805 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000208/0.4721, allocations: 79.84 kB / 0.5806 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.4723, allocations: 175.4 kB / 0.5807 GB, free: 15.29 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4723, allocations: 0 / 0.5807 GB, free: 15.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.5101, allocations: 9.969 MB / 0.5905 GB, free: 5.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.99/9.5, allocations: 3.938 kB / 0.5905 GB, free: 5.32 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.521686038002372] Failed to read output from testmodel.py, exit status != 0: ['time', 'sine_R.y', 'sine_L.y', 'combiTable2D_1R.y', 'combiTable2D_2R.y', 'combiTable2D_1L.y', 'combiTable2D_2L.y', 'der_1R.y', 'der_2R.y', 'der_1L.y', 'der_2L.y'] 9.629482665099204 9.652889136 9.201190865 Calling exit ...