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.001267/0.001267, 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.001395/0.001395, 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.465/1.465, 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.2439/0.2439, allocations: 46.94 MB / 361.6 MB, free: 4.195 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.003281/0.003281, allocations: 79.86 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3981, allocations: 66.07 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003115/0.4013, allocations: 1.687 MB / 0.5632 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.4023, allocations: 0.5771 MB / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.4023, allocations: 4 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.4029, allocations: 455.1 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.4034, allocations: 287.3 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4037, allocations: 143.1 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.404, allocations: 171.6 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4041, allocations: 21.94 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.4042, allocations: 111.7 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.4045, allocations: 251.5 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.4045, allocations: 8 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4046, allocations: 51.92 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4047, allocations: 79.69 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.4048, allocations: 114.9 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.4052, allocations: 278.5 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.4052, allocations: 3.938 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4052, allocations: 0 / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4052, allocations: 0 / 0.5656 GB, free: 96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008579/0.4061, allocations: 0.5892 MB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4061, allocations: 16.03 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.4061, allocations: 38.69 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4063, allocations: 44.66 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4066, allocations: 246.8 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4066, allocations: 4.375 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.4066, allocations: 8.359 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.4068, allocations: 54.25 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4068, allocations: 3.938 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.4068, allocations: 3.938 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4068, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.4069, allocations: 39.91 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.4075, allocations: 371.8 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4076, allocations: 46.59 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.4076, allocations: 20.92 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4076, allocations: 0 / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4077, allocations: 34.56 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.4077, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001041/0.4087, allocations: 312.5 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.4088, allocations: 59.41 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008964/0.4097, allocations: 0.8698 MB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.4097, allocations: 29.7 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.4099, allocations: 224.1 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.4099, allocations: 35.67 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.4099, allocations: 21.7 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4101, allocations: 362.8 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.4102, allocations: 35.91 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.4103, allocations: 23.98 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4104, allocations: 60.83 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4104, allocations: 0 / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.4107, allocations: 133.6 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4107, allocations: 10.19 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.4107, allocations: 0 / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4107, allocations: 4 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4108, allocations: 23.92 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4108, allocations: 0 / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.4109, allocations: 11.92 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4109, allocations: 0 / 0.5692 GB, free: 12.2 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.0002033/0.4111, allocations: 210.7 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.4112, allocations: 51.66 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.4115, allocations: 165.5 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4115, allocations: 3.938 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4115, allocations: 0 / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4115, allocations: 3.938 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.4122, allocations: 482.3 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4122, allocations: 4 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.4122, allocations: 20.02 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4122, allocations: 3.938 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4123, allocations: 4 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4123, allocations: 4 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4123, allocations: 0 / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.4126, allocations: 244 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.4126, allocations: 43.66 kB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4127, allocations: 3.938 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.4128, allocations: 7.984 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.4128, allocations: 11.98 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4128, allocations: 0 / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007472/0.4136, allocations: 0.655 MB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4136, allocations: 0 / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.4139, allocations: 35.92 kB / 0.5711 GB, free: 10.18 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.0023/0.4162, allocations: 1.134 MB / 0.5722 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.4164, allocations: 59.95 kB / 0.5723 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4164, allocations: 0 / 0.5723 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.895e-05/0.4165, allocations: 43.91 kB / 0.5723 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.417, allocations: 29.67 kB / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.4211, allocations: 3.333 MB / 0.5756 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.4216, allocations: 0.8299 MB / 0.5764 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.431e-05/0.4217, allocations: 16.73 kB / 0.5764 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4218, allocations: 107.4 kB / 0.5765 GB, free: 4.641 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4218, allocations: 0 / 0.5765 GB, free: 4.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.457, allocations: 6.465 MB / 0.5828 GB, free: 14.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/9.004, allocations: 13.77 kB / 0.5829 GB, free: 14.16 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_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_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.143492562230676] 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'] 9.167422793339938 9.192439011 8.782478537 Calling exit ...