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.001779/0.001779, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.00157/0.00157, allocations: 220.6 kB / 23 MB, free: 5.605 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.553/1.553, allocations: 230.2 MB / 256.2 MB, free: 8.695 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.2415/0.2415, allocations: 46.9 MB / 359.4 MB, free: 4.91 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.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.00247/0.00247, allocations: 87.86 kB / 0.4942 GB, free: 8.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3711, allocations: 65.98 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003267/0.3744, allocations: 1.683 MB / 0.5603 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3755, allocations: 0.5732 MB / 0.5608 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.3756, allocations: 0 / 0.5608 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.3762, allocations: 455.1 kB / 0.5612 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000511/0.3767, allocations: 299.3 kB / 0.5615 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.3771, allocations: 135.1 kB / 0.5617 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.3774, allocations: 175.6 kB / 0.5618 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3775, allocations: 17.8 kB / 0.5618 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3776, allocations: 111.7 kB / 0.562 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.3779, allocations: 251.5 kB / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3779, allocations: 4 kB / 0.5622 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3781, allocations: 51.92 kB / 0.5622 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3782, allocations: 83.69 kB / 0.5623 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.3783, allocations: 114.9 kB / 0.5624 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.3786, allocations: 278.5 kB / 0.5627 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3786, allocations: 3.938 kB / 0.5627 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3786, allocations: 0 / 0.5627 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3786, allocations: 0 / 0.5627 GB, free: 0.9414 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.0007849/0.3794, allocations: 0.6645 MB / 0.5634 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3795, allocations: 12.03 kB / 0.5634 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.3795, allocations: 38.69 kB / 0.5634 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.3796, allocations: 44.66 kB / 0.5634 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3799, allocations: 308.6 kB / 0.5637 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3799, allocations: 4.375 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3799, allocations: 8.375 kB / 0.5638 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3801, allocations: 54.25 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3801, allocations: 11.92 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3801, allocations: 0 / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3801, allocations: 0 / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3802, allocations: 27.92 kB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.3808, allocations: 400.7 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3809, allocations: 50.58 kB / 0.5643 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.381, allocations: 16.86 kB / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.381, allocations: 0 / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.381, allocations: 30.56 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.381, allocations: 3.938 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009613/0.382, allocations: 320.6 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.382, allocations: 55.41 kB / 0.5647 GB, free: 14.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.383, allocations: 0.8737 MB / 0.5655 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3831, allocations: 25.7 kB / 0.5656 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.3833, allocations: 228.1 kB / 0.5658 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3833, allocations: 31.73 kB / 0.5658 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3833, allocations: 17.72 kB / 0.5658 GB, free: 13.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.3835, allocations: 370.7 kB / 0.5662 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.3836, allocations: 23.92 kB / 0.5662 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.3837, allocations: 28.05 kB / 0.5662 GB, free: 13.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3839, allocations: 68.83 kB / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3839, allocations: 0 / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002606/0.3841, allocations: 129.4 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3841, allocations: 8 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3841, allocations: 432 / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3842, allocations: 0 / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3843, allocations: 19.92 kB / 0.5664 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3843, allocations: 4 kB / 0.5664 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.3843, allocations: 15.94 kB / 0.5665 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3843, allocations: 0 / 0.5665 GB, free: 12.85 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.0002202/0.3846, allocations: 213.8 kB / 0.5667 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.3846, allocations: 47.67 kB / 0.5667 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.385, allocations: 161.5 kB / 0.5669 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.385, allocations: 0 / 0.5669 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.385, allocations: 4 kB / 0.5669 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.385, allocations: 11.86 kB / 0.5669 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.3857, allocations: 0.4953 MB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3857, allocations: 4 kB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.3858, allocations: 15.98 kB / 0.5674 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3858, allocations: 3.938 kB / 0.5674 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3858, allocations: 8 kB / 0.5674 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3858, allocations: 8.016 kB / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3858, allocations: 0 / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.3861, allocations: 240.4 kB / 0.5676 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.3862, allocations: 120.8 kB / 0.5677 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.3862, allocations: 0 / 0.5677 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.3863, allocations: 15.98 kB / 0.5678 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3864, allocations: 4 kB / 0.5678 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3864, allocations: 0 / 0.5678 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000745/0.3871, allocations: 0.6589 MB / 0.5684 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3871, allocations: 0 / 0.5684 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3874, allocations: 35.88 kB / 0.5684 GB, free: 10.7 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.002352/0.3898, allocations: 1.131 MB / 0.5695 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.39, allocations: 67.94 kB / 0.5696 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.39, allocations: 0 / 0.5696 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.3902, allocations: 35.92 kB / 0.5696 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3906, allocations: 30.23 kB / 0.5697 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.3948, allocations: 3.341 MB / 0.5729 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.3953, allocations: 0.8298 MB / 0.5737 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.124e-05/0.3954, allocations: 20.72 kB / 0.5738 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3955, allocations: 111.4 kB / 0.5739 GB, free: 5.172 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3955, allocations: 0 / 0.5739 GB, free: 5.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.4246, allocations: 6.385 MB / 0.5801 GB, free: 14.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/9.194, allocations: 10.39 kB / 0.5801 GB, free: 14.79 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.12408305099234] 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.324028856994119 9.347607142 8.965817832 Calling exit ...