Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001467/0.001467, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2243/0.2243, allocations: 44.94 MB / 358.8 MB, free: 6.09 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.002177/0.002177, allocations: 63.91 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3276, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003896/0.3315, allocations: 1.645 MB / 0.5586 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3327, allocations: 0.7556 MB / 0.5593 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.3327, allocations: 0 / 0.5593 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.333, allocations: 31.83 kB / 0.5594 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.3332, allocations: 43.84 kB / 0.5594 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.35e-06/0.3332, allocations: 4 kB / 0.5594 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3334, allocations: 31.89 kB / 0.5594 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.3334, allocations: 1.828 kB / 0.5594 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.3334, allocations: 11.88 kB / 0.5594 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.3335, allocations: 23.84 kB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3335, allocations: 0 / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.3336, allocations: 12 kB / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.3336, allocations: 20.89 kB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.3337, allocations: 11.88 kB / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.3338, allocations: 75.61 kB / 0.5596 GB, free: 4.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3338, allocations: 4 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3338, allocations: 0 / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3338, 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.0004288/0.3343, allocations: 286 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3343, allocations: 12.03 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.3344, allocations: 46.66 kB / 0.5599 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.3344, allocations: 4.891 kB / 0.5599 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3346, allocations: 118.4 kB / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3346, allocations: 4.375 kB / 0.56 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3346, allocations: 384 / 0.56 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3348, allocations: 131.3 kB / 0.5602 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3348, allocations: 7.938 kB / 0.5602 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3348, allocations: 3.938 kB / 0.5602 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.3349, allocations: 19.98 kB / 0.5602 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.335, allocations: 47.86 kB / 0.5602 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.3358, allocations: 0.8508 MB / 0.5611 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3359, allocations: 173.1 kB / 0.5612 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.3359, allocations: 84.08 kB / 0.5613 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.336, allocations: 75.28 kB / 0.5614 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.336, allocations: 105.8 kB / 0.5615 GB, free: 2.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.336, allocations: 0 / 0.5615 GB, free: 2.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.724e-05/0.3361, allocations: 45.64 kB / 0.5615 GB, free: 2.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.3362, allocations: 130.7 kB / 0.5617 GB, free: 2.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3364, allocations: 190.1 kB / 0.5618 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3364, allocations: 25.7 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3365, allocations: 155.5 kB / 0.562 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.3365, allocations: 4 kB / 0.562 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.3366, allocations: 41.66 kB / 0.5621 GB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3368, allocations: 322.8 kB / 0.5624 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.3368, allocations: 31.98 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.337, allocations: 159 kB / 0.5625 GB, free: 1.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.3372, allocations: 200.9 kB / 0.5627 GB, free: 1.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3372, allocations: 4 kB / 0.5627 GB, free: 1.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003123/0.3375, allocations: 209.1 kB / 0.5629 GB, free: 1.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3375, allocations: 7.938 kB / 0.5629 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3375, allocations: 8 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3375, allocations: 4 kB / 0.563 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3377, allocations: 36.55 kB / 0.563 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3377, allocations: 12 kB / 0.563 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.3378, allocations: 27.78 kB / 0.563 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3378, allocations: 8 kB / 0.563 GB, free: 0.9727 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.0001367/0.3379, allocations: 213 kB / 0.5632 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.338, allocations: 120.8 kB / 0.5634 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.3381, allocations: 116.6 kB / 0.5635 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.316e-05/0.3381, allocations: 176.3 kB / 0.5636 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.948e-05/0.3382, allocations: 184.3 kB / 0.5638 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.419e-05/0.3383, allocations: 184.3 kB / 0.564 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.3386, allocations: 400.2 kB / 0.5644 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-05/0.3387, allocations: 112.9 kB / 0.5645 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.3387, allocations: 101 kB / 0.5646 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.522e-05/0.3388, allocations: 184.2 kB / 0.5647 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/0.3389, allocations: 184.2 kB / 0.5649 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-05/0.339, allocations: 180.2 kB / 0.5651 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.162e-05/0.339, allocations: 176.3 kB / 0.5653 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.3392, allocations: 323.6 kB / 0.5656 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.3393, allocations: 108.9 kB / 0.5657 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3394, allocations: 188.2 kB / 0.5659 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.3395, allocations: 101 kB / 0.5659 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.3396, allocations: 180.2 kB / 0.5661 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.3396, allocations: 117 kB / 0.5662 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3397, allocations: 128.1 kB / 0.5664 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3397, allocations: 0 / 0.5664 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.34, allocations: 16 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.001054/0.3411, allocations: 0.9245 MB / 0.5673 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3412, allocations: 76.91 kB / 0.5673 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.3412, allocations: 4 kB / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3412, allocations: 0 / 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.000418/0.3417, 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.001836/0.3435, allocations: 1.879 MB / 0.5696 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.3436, allocations: 87.52 kB / 0.5697 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3438, allocations: 49.02 kB / 0.5698 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.3438, allocations: 31.42 kB / 0.5698 GB, free: 9.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3438, allocations: 3.938 kB / 0.5698 GB, free: 9.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3725, allocations: 2.603 MB / 0.5723 GB, free: 7.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.6, allocations: 15.61 kB / 0.5723 GB, free: 7.102 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.62471635080874]