Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001612/0.001612, allocations: 110.5 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.002018/0.002018, allocations: 212.6 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.53/1.53, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.2465/0.2465, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",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.002391/0.002391, allocations: 83.84 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3837, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003298/0.387, allocations: 1.697 MB / 0.5632 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3881, allocations: 0.5693 MB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.3882, allocations: 0 / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.3884, allocations: 55.73 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3887, allocations: 91.61 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.3891, allocations: 131.1 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3892, allocations: 79.77 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3894, allocations: 22.19 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.3894, allocations: 35.84 kB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3895, allocations: 55.75 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3896, allocations: 4 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3897, allocations: 51.98 kB / 0.5642 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.3897, allocations: 19.92 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.3898, allocations: 39.72 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.39, allocations: 115.4 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.39, allocations: 0 / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.39, allocations: 0 / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.39, allocations: 0 / 0.5644 GB, free: 1.316 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.0005729/0.3906, allocations: 349.6 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3906, allocations: 12.03 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.3907, allocations: 34.75 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.3907, allocations: 12.88 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.3909, allocations: 138.4 kB / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3909, allocations: 4.375 kB / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.3909, allocations: 8.328 kB / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3911, allocations: 70.16 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3912, allocations: 3.938 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3912, allocations: 4 kB / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3912, allocations: 0 / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3913, allocations: 39.97 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.3917, allocations: 275.8 kB / 0.5653 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.392, allocations: 54.55 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.392, allocations: 28.97 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3921, allocations: 0 / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3921, allocations: 34.56 kB / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3921, allocations: 0 / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001395/0.3935, allocations: 405.4 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3935, allocations: 55.41 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3938, allocations: 194.9 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3938, allocations: 29.64 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.3939, allocations: 100.1 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.3939, allocations: 39.64 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.3939, allocations: 25.7 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3941, allocations: 326.8 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3942, allocations: 43.97 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3943, allocations: 39.97 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.3946, allocations: 100.8 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3946, allocations: 0 / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003079/0.3949, allocations: 149.4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3949, allocations: 6.344 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3949, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3949, allocations: 4 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.395, allocations: 27.97 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.395, allocations: 3.938 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.3951, allocations: 19.98 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3951, allocations: 0 / 0.5669 GB, free: 14.53 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 (11): * Single equations (assignments): 11 * 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.0001075/0.3952, allocations: 121.8 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.3953, allocations: 19.84 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.3957, allocations: 158.7 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3957, allocations: 0 / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3957, allocations: 11.92 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3957, allocations: 0 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.3964, allocations: 439.1 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3964, allocations: 3.938 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3965, allocations: 32.03 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3965, allocations: 4 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3965, allocations: 4 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3965, allocations: 0 / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3965, allocations: 8.125 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3969, allocations: 253.1 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.3969, allocations: 15.89 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3969, allocations: 8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.397, allocations: 7.984 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.3971, allocations: 12.08 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3971, allocations: 7.938 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3972, allocations: 139.2 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3972, allocations: 4 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3975, allocations: 27.94 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002304/0.3998, allocations: 1.133 MB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.4001, allocations: 107.9 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4001, allocations: 0 / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.4002, allocations: 55.91 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.4006, allocations: 16.2 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.403, allocations: 1.804 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.4034, allocations: 0.7158 MB / 0.5719 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.523e-05/0.4035, allocations: 16.34 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.4036, allocations: 35.42 kB / 0.5719 GB, free: 9.324 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4036, allocations: 0 / 0.5719 GB, free: 9.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4336, allocations: 3.424 MB / 0.5753 GB, free: 5.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.398, allocations: 0 / 0.5753 GB, free: 5.898 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.476519856136292] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.550078955944628 8.565575111 8.172462442 Calling exit ...