Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001254/0.001254, 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.001388/0.001388, allocations: 213.2 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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 8 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.2189/0.2189, allocations: 46.92 MB / 361.6 MB, free: 4.184 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002391/0.002391, allocations: 79.88 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3279, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003158/0.331, allocations: 1.7 MB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3322, allocations: 0.5966 MB / 0.5638 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.3323, allocations: 0 / 0.5638 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.3329, allocations: 455.1 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.3334, allocations: 295.3 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.3338, allocations: 175.1 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.3341, allocations: 179.6 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3342, allocations: 22.19 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3343, allocations: 119.6 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3346, allocations: 247.5 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3346, allocations: 4 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3347, allocations: 59.97 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3348, allocations: 87.62 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3349, allocations: 107 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.3353, allocations: 286.4 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3353, allocations: 0 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3353, allocations: 0 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3353, allocations: 4 kB / 0.5657 GB, free: 4 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.0007751/0.3361, allocations: 0.597 MB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3361, allocations: 8.031 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.3361, allocations: 46.73 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.3362, allocations: 48.59 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.3365, allocations: 242.8 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3365, allocations: 384 / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3365, allocations: 12.31 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3367, allocations: 58.23 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3367, allocations: 3.938 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3367, allocations: 0 / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3367, allocations: 4 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3368, allocations: 35.97 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.3373, allocations: 387.7 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.3374, allocations: 42.56 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.3375, allocations: 20.94 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3375, allocations: 96 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3375, allocations: 38.5 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.3375, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009306/0.3385, allocations: 324.5 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3385, allocations: 55.41 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.3394, allocations: 0.8815 MB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3394, allocations: 25.7 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.3396, allocations: 224.1 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3396, allocations: 27.75 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.3397, allocations: 25.7 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3398, allocations: 358.8 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.3399, allocations: 39.91 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.34, allocations: 35.97 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3402, allocations: 72.81 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3402, allocations: 3.938 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002547/0.3404, allocations: 149.5 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3404, allocations: 4 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3405, allocations: 4 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3405, allocations: 0 / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.3406, allocations: 23.98 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3406, allocations: 0 / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.3406, allocations: 11.92 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3406, allocations: 8.422 kB / 0.5694 GB, free: 12.03 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.0001976/0.3408, allocations: 222.5 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.3409, allocations: 43.72 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.3413, allocations: 177.5 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3413, allocations: 7.984 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3413, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3413, allocations: 3.938 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.3419, allocations: 498.2 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.342, allocations: 7.984 kB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.342, allocations: 16.03 kB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.342, allocations: 3.938 kB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.342, allocations: 7.984 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.342, allocations: 3.938 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.342, allocations: 0 / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3423, allocations: 244.1 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.3424, allocations: 55.59 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3424, allocations: 0 / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.3425, allocations: 4 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.3425, allocations: 7.984 kB / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3426, allocations: 4 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006571/0.3432, allocations: 0.6628 MB / 0.5713 GB, free: 9.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 0 / 0.5713 GB, free: 9.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3435, allocations: 24 kB / 0.5713 GB, free: 9.965 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.002127/0.3456, allocations: 1.144 MB / 0.5724 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3458, allocations: 71.89 kB / 0.5725 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3458, allocations: 0 / 0.5725 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.3459, allocations: 39.97 kB / 0.5725 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.3463, allocations: 30.23 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.3503, allocations: 3.403 MB / 0.5759 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.3507, allocations: 0.8299 MB / 0.5767 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.302e-05/0.3508, allocations: 24.72 kB / 0.5767 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.351, allocations: 123.4 kB / 0.5768 GB, free: 4.316 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.351, allocations: 3.938 kB / 0.5769 GB, free: 4.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05752/0.4085, allocations: 6.544 MB / 0.5832 GB, free: 13.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.758/9.166, allocations: 9.531 kB / 0.5833 GB, free: 13.76 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.212509051896632] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.312689174897969 9.344772353 9.00365714 Calling exit ...