Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002615/0.002615, allocations: 209.4 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 44.9 MB / 358.8 MB, free: 6.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.88 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 65.48 MB / 0.557 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003079/0.3319, allocations: 1.633 MB / 0.5586 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3329, allocations: 0.5533 MB / 0.5592 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.333, allocations: 0 / 0.5592 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.3336, allocations: 459.1 kB / 0.5596 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004699/0.334, allocations: 295.3 kB / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.3344, allocations: 115.7 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3346, allocations: 171.6 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.3347, allocations: 11.98 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3348, allocations: 115.7 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.3351, allocations: 247.5 kB / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3351, allocations: 0 / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.3352, allocations: 20 kB / 0.5605 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3353, allocations: 92.59 kB / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3354, allocations: 110.9 kB / 0.5607 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3357, allocations: 260.5 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3357, allocations: 3.938 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3358, allocations: 4 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3358, allocations: 0 / 0.561 GB, free: 3.664 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000855/0.3366, allocations: 0.5815 MB / 0.5616 GB, free: 3.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3367, allocations: 12.03 kB / 0.5616 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.3367, allocations: 34.73 kB / 0.5616 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.3368, allocations: 44.66 kB / 0.5617 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.337, allocations: 246.8 kB / 0.5619 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3371, allocations: 4.312 kB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.3371, allocations: 384 / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3372, allocations: 57.62 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3372, allocations: 7.984 kB / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.3372, allocations: 0 / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3372, allocations: 0 / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3374, allocations: 31.91 kB / 0.562 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.3379, allocations: 351.9 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.338, allocations: 50.5 kB / 0.5624 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.3381, allocations: 16.94 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3381, allocations: 3.984 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.3381, allocations: 38.56 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3381, allocations: 0 / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003488/0.3385, allocations: 121.4 kB / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3385, allocations: 55.34 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.3395, allocations: 0.866 MB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3395, allocations: 25.7 kB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.3397, allocations: 224 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3397, allocations: 7.953 kB / 0.5637 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3398, allocations: 13.72 kB / 0.5637 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.34, allocations: 370.7 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.34, allocations: 15.98 kB / 0.5641 GB, free: 336 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.3401, allocations: 11.98 kB / 0.5641 GB, free: 324 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3402, allocations: 40.83 kB / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3402, allocations: 0 / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002003/0.3404, allocations: 105.3 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3404, allocations: 8 kB / 0.5642 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3404, allocations: 0 / 0.5642 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3404, allocations: 4 kB / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.3405, allocations: 7.984 kB / 0.5642 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3405, allocations: 0 / 0.5642 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.3406, allocations: 7.953 kB / 0.5642 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3406, allocations: 11.98 kB / 0.5643 GB, free: 128 kB / 398.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 (3): * Single equations (assignments): 3 * 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.0002105/0.3408, allocations: 209.8 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.3409, allocations: 47.66 kB / 0.5645 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.3411, allocations: 121.2 kB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3411, allocations: 4 kB / 0.5646 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3412, allocations: 0 / 0.5646 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3412, allocations: 3.938 kB / 0.5646 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.3415, allocations: 260.6 kB / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3415, allocations: 0 / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.3415, allocations: 11.98 kB / 0.5649 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3415, allocations: 3.938 kB / 0.5649 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3415, allocations: 8 kB / 0.5649 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3415, allocations: 0 / 0.5649 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3415, allocations: 0 / 0.5649 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3419, allocations: 203.2 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.3419, allocations: 40.14 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3419, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.342, allocations: 11.98 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.3421, allocations: 0 / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3421, allocations: 0 / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006903/0.3427, allocations: 0.6589 MB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3427, allocations: 0 / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.343, allocations: 23.88 kB / 0.5658 GB, free: 14.45 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 (3): * Single equations (assignments): 3 * 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.001791/0.3448, allocations: 0.9915 MB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.345, allocations: 35.97 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.345, allocations: 0 / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.415e-05/0.3451, allocations: 19.92 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.3455, allocations: 30.23 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.3498, allocations: 3.19 MB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.3503, allocations: 0.8182 MB / 0.5708 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.874e-05/0.3503, allocations: 11.81 kB / 0.5708 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3505, allocations: 115.4 kB / 0.5709 GB, free: 9.242 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3505, allocations: 0 / 0.5709 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.3833, allocations: 5.919 MB / 0.5767 GB, free: 3.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 7.188 kB / 0.5767 GB, free: 3.383 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_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_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.23144171199965]