Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001271/0.001271, 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.001437/0.001437, allocations: 213.2 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.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2363/0.2363, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",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.00234/0.00234, allocations: 83.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4115, allocations: 66.08 MB / 0.5615 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003974/0.4154, allocations: 1.671 MB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.4175, allocations: 1.278 MB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.4176, allocations: 0 / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.4178, allocations: 19.86 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.4181, allocations: 91.61 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.4184, allocations: 123.7 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.4186, allocations: 79.75 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4187, allocations: 9.969 kB / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.4188, allocations: 35.8 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.419, allocations: 43.83 kB / 0.5648 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.419, allocations: 4 kB / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.4192, allocations: 107.9 kB / 0.5649 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.4192, allocations: 15.92 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.4193, allocations: 31.8 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.4196, allocations: 143.5 kB / 0.5651 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4196, allocations: 3.938 kB / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4196, allocations: 0 / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4196, allocations: 0 / 0.5651 GB, free: 0.4922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006128/0.4202, allocations: 349.6 kB / 0.5654 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4202, allocations: 12.03 kB / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.4203, allocations: 38.69 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.4203, allocations: 8.891 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.4205, allocations: 132.6 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-06/0.4206, allocations: 8.375 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.4206, allocations: 4.328 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.4208, allocations: 79.92 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4208, allocations: 7.938 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.4208, allocations: 0 / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4208, allocations: 0 / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4209, allocations: 43.91 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.4214, allocations: 259.9 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.4215, allocations: 46.56 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.4216, allocations: 24.94 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4216, allocations: 7.938 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.4216, allocations: 38.5 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4216, allocations: 3.938 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008034/0.4224, allocations: 213.2 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.4225, allocations: 81.11 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.4227, allocations: 148.6 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4227, allocations: 29.7 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.4228, allocations: 96.12 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.4228, allocations: 23.75 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.4228, allocations: 29.7 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.423, allocations: 322.8 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.4231, allocations: 31.97 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4232, allocations: 49.75 kB / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.4234, allocations: 76.84 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4234, allocations: 0 / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002731/0.4237, allocations: 113.8 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4237, allocations: 8 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4237, allocations: 0 / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4237, allocations: 0 / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.4239, allocations: 27.97 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4239, allocations: 0 / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.4239, allocations: 12 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.4239, allocations: 0 / 0.5673 GB, free: 14 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 (7): * Single equations (assignments): 7 * 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.0001097/0.4241, allocations: 122.6 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.4241, allocations: 7.953 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.4244, allocations: 130.3 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4244, allocations: 0 / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4244, allocations: 0 / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.4244, allocations: 0 / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.425, allocations: 369.5 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.425, allocations: 0 / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.4251, allocations: 27.92 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4251, allocations: 0 / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4251, allocations: 4 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4251, allocations: 3.938 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4251, allocations: 0 / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.4254, allocations: 223.4 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.4255, allocations: 7.953 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.4255, allocations: 4 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4256, allocations: 15.92 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4256, allocations: 3.984 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4256, allocations: 4 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.4257, allocations: 123.1 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4257, allocations: 0 / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.4261, allocations: 47.81 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002248/0.4283, allocations: 1.129 MB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.4286, allocations: 83.88 kB / 0.5695 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4286, allocations: 0 / 0.5695 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4287, allocations: 39.97 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4291, allocations: 19.88 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.4313, allocations: 1.593 MB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4317, allocations: 0.6963 MB / 0.5718 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.4317, allocations: 25.14 kB / 0.5719 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.4318, allocations: 31.42 kB / 0.5719 GB, free: 9.254 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4318, allocations: 3.938 kB / 0.5719 GB, free: 9.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.4616, allocations: 3.586 MB / 0.5754 GB, free: 5.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.675, allocations: 8 kB / 0.5754 GB, free: 5.633 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.737533384002745] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.82052485179156 8.849432041 8.425141415 Calling exit ...