Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001321/0.001321, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001492/0.001492, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.2234/0.2234, allocations: 44.93 MB / 358.8 MB, free: 6.082 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",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.002246/0.002246, allocations: 75.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3103, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003343/0.3137, allocations: 1.649 MB / 0.5586 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3147, allocations: 0.7556 MB / 0.5593 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.3148, allocations: 0 / 0.5593 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.315, allocations: 31.84 kB / 0.5594 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3152, allocations: 47.83 kB / 0.5594 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.3152, allocations: 0 / 0.5594 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3154, allocations: 31.89 kB / 0.5594 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3154, allocations: 1.828 kB / 0.5594 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.3155, allocations: 15.92 kB / 0.5594 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.3155, allocations: 15.88 kB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3155, allocations: 0 / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.3156, allocations: 11.98 kB / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.3156, allocations: 16.91 kB / 0.5595 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.3157, allocations: 11.88 kB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.3158, allocations: 83.59 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3158, allocations: 0 / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3158, allocations: 0 / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3158, allocations: 0 / 0.5596 GB, free: 4.867 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003997/0.3162, allocations: 290 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3163, allocations: 12.03 kB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.3163, allocations: 38.69 kB / 0.5599 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.3163, allocations: 4.891 kB / 0.5599 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3165, allocations: 122.4 kB / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3165, allocations: 4.375 kB / 0.56 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.3165, allocations: 4.375 kB / 0.56 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3167, allocations: 129.9 kB / 0.5602 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3167, allocations: 3.938 kB / 0.5602 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3167, allocations: 11.86 kB / 0.5602 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/0.3168, allocations: 23.98 kB / 0.5602 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3169, allocations: 47.84 kB / 0.5602 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.3177, allocations: 0.8508 MB / 0.5611 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3178, allocations: 169.1 kB / 0.5612 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.3179, allocations: 84.08 kB / 0.5613 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.068e-05/0.318, allocations: 75.28 kB / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.318, allocations: 105.8 kB / 0.5615 GB, free: 2.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.318, allocations: 4 kB / 0.5615 GB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.776e-05/0.3181, allocations: 45.62 kB / 0.5615 GB, free: 2.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3182, allocations: 130.7 kB / 0.5617 GB, free: 2.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3184, allocations: 190.1 kB / 0.5618 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3184, allocations: 25.7 kB / 0.5619 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3185, allocations: 147.5 kB / 0.562 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/0.3185, allocations: 3.984 kB / 0.562 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.3186, allocations: 41.67 kB / 0.562 GB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3188, allocations: 322.8 kB / 0.5624 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.3188, allocations: 31.98 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.319, allocations: 169.1 kB / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.3192, allocations: 196.9 kB / 0.5627 GB, free: 1.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3192, allocations: 4 kB / 0.5627 GB, free: 1.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003308/0.3195, allocations: 197.1 kB / 0.5629 GB, free: 1.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3196, allocations: 4 kB / 0.5629 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3196, allocations: 4.625 kB / 0.5629 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3196, allocations: 8 kB / 0.5629 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3197, allocations: 39.92 kB / 0.563 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3197, allocations: 11.98 kB / 0.563 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.205e-05/0.3198, allocations: 27.78 kB / 0.563 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3198, allocations: 8 kB / 0.563 GB, free: 0.9766 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.00015/0.32, allocations: 213.1 kB / 0.5632 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.3201, allocations: 120.8 kB / 0.5633 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.356e-05/0.3202, allocations: 112.6 kB / 0.5635 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/0.3202, allocations: 176.3 kB / 0.5636 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/0.3204, allocations: 196.3 kB / 0.5638 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/0.3205, allocations: 180.3 kB / 0.564 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3207, allocations: 400.2 kB / 0.5644 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.117e-05/0.3208, allocations: 112.9 kB / 0.5645 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3209, allocations: 101 kB / 0.5646 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.541e-05/0.321, allocations: 184.2 kB / 0.5647 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-05/0.3211, allocations: 180.3 kB / 0.5649 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001092/0.3212, allocations: 180.2 kB / 0.5651 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.097e-05/0.3213, allocations: 188.2 kB / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3214, allocations: 315.6 kB / 0.5656 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.3215, allocations: 112.9 kB / 0.5657 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3216, allocations: 184.2 kB / 0.5658 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3217, allocations: 109 kB / 0.566 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.3218, allocations: 180.2 kB / 0.5661 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.3219, allocations: 101 kB / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.322, allocations: 140 kB / 0.5664 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.322, allocations: 0 / 0.5664 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.3223, allocations: 12 kB / 0.5664 GB, free: 13.35 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 (0): * Single equations (assignments): 0 * 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.001015/0.3233, allocations: 0.9307 MB / 0.5673 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.3234, allocations: 76.41 kB / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3234, allocations: 0 / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.3234, allocations: 4 kB / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3239, allocations: 459.7 kB / 0.5678 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.3261, allocations: 1.874 MB / 0.5696 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3262, allocations: 87.5 kB / 0.5697 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00019/0.3264, allocations: 53.02 kB / 0.5698 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.3265, allocations: 23.44 kB / 0.5698 GB, free: 9.668 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3265, allocations: 7.938 kB / 0.5698 GB, free: 9.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.3552, allocations: 2.602 MB / 0.5723 GB, free: 7.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.72, allocations: 18.05 kB / 0.5723 GB, free: 7.098 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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: 14.667218382004648]