Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001682/0.001682, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002065/0.002065, allocations: 221.3 kB / 23 MB, free: 5.617 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.498/1.498, allocations: 230.2 MB / 256.2 MB, free: 8.559 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.2452/0.2452, allocations: 46.88 MB / 359.4 MB, free: 4.906 MB / 286.1 MB " [Timeout remaining time 179] 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",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.002484/0.002484, allocations: 83.84 kB / 0.4942 GB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3305, allocations: 65.98 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003622/0.3341, allocations: 1.687 MB / 0.5603 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3353, allocations: 0.581 MB / 0.5608 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.3353, allocations: 0 / 0.5608 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.336, allocations: 451.2 kB / 0.5612 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.3365, allocations: 295.2 kB / 0.5615 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.3369, allocations: 135 kB / 0.5617 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.3371, allocations: 171.6 kB / 0.5618 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3373, allocations: 13.81 kB / 0.5618 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3374, allocations: 123.6 kB / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3377, allocations: 247.5 kB / 0.5622 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3377, allocations: 4 kB / 0.5622 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3378, allocations: 51.92 kB / 0.5622 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3379, allocations: 83.69 kB / 0.5623 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.703e-05/0.338, allocations: 114.9 kB / 0.5624 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.3384, allocations: 274.6 kB / 0.5627 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3384, allocations: 0 / 0.5627 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3384, allocations: 3.938 kB / 0.5627 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3384, allocations: 0 / 0.5627 GB, free: 0.9414 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008815/0.3393, allocations: 0.6723 MB / 0.5634 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3393, allocations: 12.03 kB / 0.5634 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.3394, allocations: 34.75 kB / 0.5634 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.3394, allocations: 48.59 kB / 0.5634 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.3398, allocations: 304.6 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.3398, allocations: 384 / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3398, allocations: 8.375 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.34, allocations: 58.23 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.34, allocations: 3.938 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.34, allocations: 0 / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.34, allocations: 4 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3401, allocations: 31.91 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3407, allocations: 400.7 kB / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3408, allocations: 42.59 kB / 0.5643 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.3409, allocations: 20.94 kB / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3409, allocations: 4 kB / 0.5643 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.341, allocations: 30.56 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.341, allocations: 0 / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001082/0.342, allocations: 308.5 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3421, allocations: 59.41 kB / 0.5647 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3431, allocations: 0.8776 MB / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3431, allocations: 29.7 kB / 0.5656 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3434, allocations: 224.1 kB / 0.5658 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.3434, allocations: 31.73 kB / 0.5658 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.3435, allocations: 17.72 kB / 0.5658 GB, free: 13.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.3437, allocations: 366.8 kB / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.3438, allocations: 31.86 kB / 0.5662 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.3438, allocations: 31.92 kB / 0.5662 GB, free: 13.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.344, allocations: 65.05 kB / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.344, allocations: 0 / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002665/0.3443, allocations: 133.4 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3443, allocations: 10.48 kB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3443, allocations: 0 / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.3443, allocations: 4 kB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3445, allocations: 27.92 kB / 0.5665 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3445, allocations: 0 / 0.5665 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.3445, allocations: 7.938 kB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3445, allocations: 0 / 0.5665 GB, free: 12.84 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 (8): * Single equations (assignments): 8 * 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.0002597/0.3448, allocations: 213.8 kB / 0.5667 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.3449, allocations: 47.67 kB / 0.5667 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.3452, allocations: 161.5 kB / 0.5669 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3452, allocations: 432 / 0.5669 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3452, allocations: 0 / 0.5669 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.3452, allocations: 3.938 kB / 0.5669 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.346, allocations: 0.507 MB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.346, allocations: 4.031 kB / 0.5674 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.3461, allocations: 19.97 kB / 0.5674 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.3461, allocations: 7.938 kB / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3461, allocations: 0 / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3461, allocations: 0 / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3461, allocations: 0 / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.3465, allocations: 248 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.3466, allocations: 120.8 kB / 0.5677 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.3466, allocations: 4 kB / 0.5677 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.3467, allocations: 4 kB / 0.5678 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.3467, allocations: 7.984 kB / 0.5678 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3467, allocations: 0 / 0.5678 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007478/0.3475, allocations: 0.6628 MB / 0.5684 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3475, allocations: 0 / 0.5684 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.3478, allocations: 27.94 kB / 0.5684 GB, free: 10.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 (8): * Single equations (assignments): 8 * 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.00248/0.3503, allocations: 1.146 MB / 0.5696 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.3506, allocations: 63.94 kB / 0.5696 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3506, allocations: 4 kB / 0.5696 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.3507, allocations: 31.92 kB / 0.5696 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3512, allocations: 37.92 kB / 0.5697 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.3558, allocations: 3.329 MB / 0.5729 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.3564, allocations: 0.8298 MB / 0.5737 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.232e-05/0.3565, allocations: 24.72 kB / 0.5738 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3567, allocations: 107.4 kB / 0.5739 GB, free: 5.172 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3567, allocations: 3.938 kB / 0.5739 GB, free: 5.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.3855, allocations: 6.387 MB / 0.5801 GB, free: 14.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.86, allocations: 10.23 kB / 0.5801 GB, free: 14.78 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.90857051400235] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 8.988987923017703 9.020210861 8.676195159 Calling exit ...