Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001273/0.001273, 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.001498/0.001498, 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2304/0.2304, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",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.002288/0.002288, allocations: 79.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.316, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003027/0.3191, allocations: 1.668 MB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3201, allocations: 0.6005 MB / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.3202, allocations: 0 / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.3207, allocations: 455.1 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.3212, allocations: 299.3 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.3216, allocations: 175.1 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.3219, allocations: 179.6 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.322, allocations: 17.95 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3221, allocations: 111.7 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.3224, allocations: 255.5 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3224, allocations: 4 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.3225, allocations: 32 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3226, allocations: 91.67 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.53e-05/0.3227, allocations: 110.9 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.323, allocations: 266.6 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.323, allocations: 0 / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.323, allocations: 3.938 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.323, allocations: 4 kB / 0.5657 GB, free: 60 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007768/0.3238, allocations: 0.597 MB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3238, allocations: 12.03 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.3239, allocations: 38.73 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.3239, allocations: 44.66 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3242, allocations: 250.8 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3242, allocations: 384 / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3243, allocations: 4.375 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3244, allocations: 66.16 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3245, allocations: 3.938 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3245, allocations: 8 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3245, allocations: 0 / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3246, allocations: 39.97 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3252, allocations: 383.7 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.3253, allocations: 46.48 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.3254, allocations: 24.94 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3254, allocations: 4 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3254, allocations: 38.56 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3254, allocations: 3.938 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009018/0.3263, allocations: 320.5 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3264, allocations: 55.39 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.3273, allocations: 0.8699 MB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3273, allocations: 29.7 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3274, allocations: 216 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3275, allocations: 23.78 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.3275, allocations: 25.66 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3277, allocations: 366.7 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3278, allocations: 43.97 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3279, allocations: 31.97 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3281, allocations: 92.86 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3282, allocations: 7.922 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003134/0.3285, allocations: 157.3 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3285, allocations: 6.188 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3285, allocations: 0 / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3285, allocations: 4 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3286, allocations: 19.97 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3286, allocations: 4 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.3287, allocations: 8 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3287, allocations: 11.98 kB / 0.5694 GB, free: 12.05 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.0001953/0.3289, allocations: 214.6 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.329, allocations: 43.72 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.3294, allocations: 181.5 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3294, allocations: 4 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3294, allocations: 0 / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3294, allocations: 4 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006874/0.3301, allocations: 493.4 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3301, allocations: 0 / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.3301, allocations: 23.98 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3301, allocations: 3.984 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.3302, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3302, allocations: 7.938 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3302, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.3305, allocations: 263.6 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.3306, allocations: 36 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3306, allocations: 0 / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3307, allocations: 31.86 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.3308, allocations: 7.969 kB / 0.5706 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3308, allocations: 7.938 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006582/0.3314, allocations: 0.6589 MB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3314, allocations: 0 / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3317, allocations: 27.94 kB / 0.5713 GB, free: 9.977 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.002022/0.3337, allocations: 1.079 MB / 0.5724 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.334, allocations: 95.84 kB / 0.5725 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.334, allocations: 0 / 0.5725 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3342, allocations: 47.97 kB / 0.5725 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3346, allocations: 30.23 kB / 0.5725 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.3387, allocations: 3.378 MB / 0.5758 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.3391, allocations: 0.8299 MB / 0.5766 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.186e-05/0.3392, allocations: 20.95 kB / 0.5767 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.3394, allocations: 123.4 kB / 0.5768 GB, free: 4.371 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3394, allocations: 0 / 0.5768 GB, free: 4.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.3697, allocations: 6.352 MB / 0.583 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.012/9.382, allocations: 1.547 kB / 0.583 GB, free: 14.02 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.739100792910904] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 9.526288861874491 9.552078401 9.22429537 Calling exit ...