Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001859/0.001859, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002223/0.002223, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2467/0.2467, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002354/0.002354, allocations: 75.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3865, allocations: 66.08 MB / 0.5615 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003482/0.39, allocations: 1.695 MB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3913, allocations: 0.6044 MB / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.3914, allocations: 0 / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.3917, allocations: 55.73 kB / 0.5638 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.392, allocations: 91.59 kB / 0.5639 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.3924, allocations: 183.1 kB / 0.5641 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3926, allocations: 87.77 kB / 0.5642 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3927, allocations: 18.17 kB / 0.5642 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.3928, allocations: 35.86 kB / 0.5642 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3929, allocations: 47.81 kB / 0.5643 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3929, allocations: 7.938 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.393, allocations: 59.86 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.3931, allocations: 23.91 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.3932, allocations: 35.73 kB / 0.5644 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3934, allocations: 115.5 kB / 0.5645 GB, free: 1.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3934, allocations: 8 kB / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3934, allocations: 0 / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3934, allocations: 0 / 0.5645 GB, free: 1.109 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.0005888/0.394, allocations: 345.6 kB / 0.5648 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.394, allocations: 8.031 kB / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.3941, allocations: 42.73 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.3941, allocations: 12.84 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3943, allocations: 151.1 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3943, allocations: 16.38 kB / 0.5651 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3944, allocations: 384 / 0.5651 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3946, allocations: 66.17 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3946, allocations: 3.938 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3946, allocations: 4 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3946, allocations: 0 / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.3947, allocations: 43.95 kB / 0.5652 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.3953, allocations: 299.8 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.3955, allocations: 54.55 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.3956, allocations: 24.97 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3956, allocations: 4 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3956, allocations: 38.55 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3956, allocations: 0 / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001467/0.3971, allocations: 417 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3972, allocations: 55.41 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.3974, allocations: 194.1 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3974, allocations: 29.7 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.3975, allocations: 104.1 kB / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.3975, allocations: 47.56 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.3976, allocations: 25.72 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3977, allocations: 326.8 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.3979, allocations: 55.95 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.398, allocations: 55.95 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3983, allocations: 125.1 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3983, allocations: 3.938 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003514/0.3986, allocations: 165.4 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3986, allocations: 14.17 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3986, allocations: 4.562 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.3987, allocations: 0 / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3988, allocations: 23.98 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3988, allocations: 3.938 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.3988, allocations: 15.98 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3989, allocations: 8 kB / 0.5672 GB, free: 14.18 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.0001139/0.399, allocations: 125.8 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.399, allocations: 19.91 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.3994, allocations: 178.2 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3994, allocations: 4 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3995, allocations: 7.922 kB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3995, allocations: 0 / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.4002, allocations: 479 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4002, allocations: 7.938 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4003, allocations: 27.98 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4003, allocations: 0 / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4003, allocations: 7.984 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4003, allocations: 0 / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4003, allocations: 0 / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.4007, allocations: 269.1 kB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.4008, allocations: 19.84 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4008, allocations: 4 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.4009, allocations: 11.98 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4009, allocations: 11.98 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4009, allocations: 4 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.4011, allocations: 140.1 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4011, allocations: 0 / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.4013, allocations: 27.94 kB / 0.5685 GB, free: 12.77 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.002342/0.4037, allocations: 1.153 MB / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.4041, allocations: 127.8 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4041, allocations: 0 / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4042, allocations: 71.95 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.4046, allocations: 29.75 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.4071, allocations: 1.903 MB / 0.5717 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.4076, allocations: 0.7119 MB / 0.5724 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.4077, allocations: 36.47 kB / 0.5724 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.4078, allocations: 43.36 kB / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4078, allocations: 0 / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.436, allocations: 3.553 MB / 0.5759 GB, free: 5.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.2, allocations: 7.547 kB / 0.5759 GB, free: 5.152 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.320851025171578] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.358053650241345 8.381955841 7.98398429 Calling exit ...