Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001326/0.001326, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.001921/0.001921, allocations: 221.2 kB / 23.48 MB, free: 5.254 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.485/1.485, allocations: 230.2 MB / 256.8 MB, free: 8.578 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.2212/0.2212, allocations: 46.88 MB / 360 MB, free: 4.715 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",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: 83.86 kB / 0.4951 GB, free: 8.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3146, allocations: 66 MB / 0.5596 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002996/0.3176, allocations: 1.668 MB / 0.5612 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3195, allocations: 1.282 MB / 0.5624 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.3196, allocations: 4 kB / 0.5624 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.3198, allocations: 27.84 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.3201, allocations: 83.61 kB / 0.5625 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.3205, allocations: 174.8 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3206, allocations: 79.81 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.3207, allocations: 13.81 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.162e-05/0.3208, allocations: 39.78 kB / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3209, allocations: 31.84 kB / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.321, allocations: 8 kB / 0.5629 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.3211, allocations: 95.94 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.3212, allocations: 27.84 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.3213, allocations: 31.8 kB / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3215, allocations: 159.4 kB / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3215, allocations: 0 / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3215, allocations: 4 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3215, allocations: 0 / 0.5632 GB, free: 1.262 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005761/0.3221, allocations: 422.7 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3221, allocations: 12.03 kB / 0.5636 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.3222, allocations: 34.69 kB / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.3222, allocations: 12.88 kB / 0.5636 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3225, allocations: 200.2 kB / 0.5638 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.3225, allocations: 384 / 0.5638 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3225, allocations: 4.375 kB / 0.5638 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3227, allocations: 83.94 kB / 0.5639 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3227, allocations: 7.938 kB / 0.5639 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3227, allocations: 0 / 0.5639 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3227, allocations: 0 / 0.5639 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.3228, allocations: 39.91 kB / 0.564 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.3233, allocations: 316.7 kB / 0.5643 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3234, allocations: 50.55 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.3235, allocations: 24.94 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3235, allocations: 0 / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3236, allocations: 34.5 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3236, allocations: 4 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008384/0.3244, allocations: 233.3 kB / 0.5646 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.3245, allocations: 81.05 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3246, allocations: 160 kB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3247, allocations: 25.7 kB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.3248, allocations: 100.1 kB / 0.5649 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3248, allocations: 31.84 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.3248, allocations: 17.72 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.325, allocations: 326.8 kB / 0.5653 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3251, allocations: 35.97 kB / 0.5653 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3252, allocations: 57.67 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.3255, allocations: 89.02 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3255, allocations: 0 / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003093/0.3258, allocations: 133.5 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3258, allocations: 7.938 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3258, allocations: 0 / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3258, allocations: 4 kB / 0.5656 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.326, allocations: 15.98 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.326, allocations: 0 / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.326, allocations: 11.98 kB / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3261, allocations: 0 / 0.5656 GB, free: 14.48 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.0001132/0.3262, allocations: 129.8 kB / 0.5658 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.3262, allocations: 11.91 kB / 0.5658 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.3266, allocations: 146.5 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3266, allocations: 0 / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3266, allocations: 7.984 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3267, allocations: 0 / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.3273, allocations: 410.4 kB / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3273, allocations: 0 / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/0.3274, allocations: 27.91 kB / 0.5663 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3274, allocations: 0 / 0.5663 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3274, allocations: 4 kB / 0.5664 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3274, allocations: 3.938 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.3274, allocations: 0 / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.3278, allocations: 231.4 kB / 0.5666 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.3278, allocations: 85.05 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3278, allocations: 4 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3279, allocations: 15.94 kB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.328, allocations: 7.984 kB / 0.5667 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.328, allocations: 4 kB / 0.5667 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3281, allocations: 120.6 kB / 0.5668 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3281, allocations: 0 / 0.5668 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.3284, allocations: 43.86 kB / 0.5668 GB, free: 13.15 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.002221/0.3306, allocations: 1.149 MB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.331, allocations: 87.88 kB / 0.568 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.331, allocations: 4 kB / 0.5681 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3311, allocations: 43.95 kB / 0.5681 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3315, allocations: 19.92 kB / 0.5681 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3338, allocations: 1.648 MB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3341, allocations: 0.7117 MB / 0.5704 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.3342, allocations: 32.33 kB / 0.5705 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.3343, allocations: 27.42 kB / 0.5705 GB, free: 9.473 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3343, allocations: 0 / 0.5705 GB, free: 9.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.361, allocations: 3.611 MB / 0.574 GB, free: 5.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.414, allocations: 11.61 kB / 0.574 GB, free: 5.836 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_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_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.447200917988084] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.539724064990878 8.565439157 8.2391912 Calling exit ...