Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001849/0.001849, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002381/0.002381, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.539/1.539, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2416/0.2416, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",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.002296/0.002296, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3815, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003015/0.3845, allocations: 1.625 MB / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3856, allocations: 0.5723 MB / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.3856, allocations: 0 / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.3862, allocations: 455.1 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.3867, allocations: 299.2 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.3871, allocations: 163.1 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.3874, allocations: 171.6 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3875, allocations: 15.98 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3876, allocations: 111.8 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.3879, allocations: 247.5 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3879, allocations: 4 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.92e-05/0.388, allocations: 27.92 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3881, allocations: 88.66 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3882, allocations: 99 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.3885, allocations: 256.6 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3885, allocations: 4 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3885, allocations: 0 / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3885, allocations: 0 / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007862/0.3893, allocations: 0.5817 MB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3894, allocations: 12.03 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.3894, allocations: 34.69 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.3895, allocations: 48.61 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3898, allocations: 246.8 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3898, allocations: 384 / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3898, allocations: 4.375 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.39, allocations: 57.97 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.39, allocations: 0 / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.39, allocations: 4 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.39, allocations: 0 / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.923e-05/0.3901, allocations: 27.92 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.3906, allocations: 363.9 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.3907, allocations: 38.56 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.3908, allocations: 8.922 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3908, allocations: 4 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.3908, allocations: 34.56 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3908, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002838/0.3911, allocations: 113.4 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3912, allocations: 55.39 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.3921, allocations: 0.8738 MB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3921, allocations: 25.7 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3923, allocations: 224.1 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3923, allocations: 7.891 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.3923, allocations: 25.64 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3925, allocations: 358.7 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.3926, allocations: 16.02 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.3926, allocations: 8 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.869e-05/0.3927, allocations: 32.77 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3927, allocations: 0 / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001603/0.3928, allocations: 97.41 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3929, allocations: 6.5 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3929, allocations: 4.094 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3929, allocations: 0 / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.3929, allocations: 11.98 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3929, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.393, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.393, allocations: 7.938 kB / 0.5687 GB, free: 12.69 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 (2): * Single equations (assignments): 2 * 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.0001954/0.3932, allocations: 214.6 kB / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.3933, allocations: 43.67 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3935, allocations: 112.8 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3935, allocations: 4 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3935, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3935, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.3938, allocations: 264.6 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3938, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.3938, allocations: 4 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3938, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3938, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3938, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.3939, allocations: 4.031 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.3941, allocations: 199.1 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.3941, allocations: 39.7 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3942, allocations: 0 / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3942, allocations: 4 kB / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3943, allocations: 0 / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3943, allocations: 0 / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.395, allocations: 0.6629 MB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.395, allocations: 0 / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.3952, allocations: 20 kB / 0.5703 GB, free: 11.06 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 (2): * Single equations (assignments): 2 * 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.001629/0.3968, allocations: 0.9796 MB / 0.5712 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.397, allocations: 23.92 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.397, allocations: 0 / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.397, allocations: 16.05 kB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3974, allocations: 29.67 kB / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.401, allocations: 3.183 MB / 0.5744 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.4015, allocations: 0.8259 MB / 0.5752 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.94e-05/0.4016, allocations: 19.8 kB / 0.5752 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.4017, allocations: 111.4 kB / 0.5753 GB, free: 5.848 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4017, allocations: 0 / 0.5753 GB, free: 5.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.4524, allocations: 5.852 MB / 0.581 GB, free: 15.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.224, allocations: 21.28 kB / 0.581 GB, free: 15.97 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_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_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.47183679509908] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'clock.y', 'const.y'] 9.427207878790796 9.444904485 9.053007113 Calling exit ...