Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0011/0.0011, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001934/0.001934, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9039/0.9039, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2371/0.2371, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.439e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002412/0.002437, allocations: 1.655 MB / 441.3 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003688, allocations: 1.25 MB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.003743, allocations: 0 / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.003942, allocations: 19.86 kB / 442.5 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.00427, allocations: 91.48 kB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.004569, allocations: 142.4 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.004709, allocations: 67.78 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004809, allocations: 15.97 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.004871, allocations: 35.92 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.004967, allocations: 27.89 kB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.004982, allocations: 4 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.005125, allocations: 95.81 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.005183, allocations: 19.92 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.005208, allocations: 15.92 kB / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.005437, allocations: 167.4 kB / 443.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.00544, allocations: 0 / 443.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.005441, allocations: 7.938 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.005446, allocations: 0 / 443.2 MB, free: 0.6055 MB / 410.7 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.0004437/0.00589, allocations: 345.6 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.005929, allocations: 8.031 kB / 443.6 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.005957, allocations: 30.75 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.005994, allocations: 8.891 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.006157, allocations: 137.7 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.006165, allocations: 384 / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.006184, allocations: 12.33 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1905/0.1967, allocations: 100.5 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1967, allocations: 3 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1967, allocations: 0 / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1967, allocations: 0 / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.1968, allocations: 36.19 kB / 443.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.1972, allocations: 268 kB / 444.1 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1973, allocations: 43.3 kB / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.1973, allocations: 23.8 kB / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1974, allocations: 0.75 kB / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1974, allocations: 36.31 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1974, allocations: 0 / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005697/0.1979, allocations: 212.2 kB / 444.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.198, allocations: 82.95 kB / 444.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1981, allocations: 154.7 kB / 444.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.1981, allocations: 26.83 kB / 444.7 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.1981, allocations: 103.7 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1982, allocations: 24.06 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.1982, allocations: 21.77 kB / 444.9 MB, free: 45.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.1982, allocations: 324.2 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.1983, allocations: 30.45 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.1984, allocations: 75.78 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1985, allocations: 80.78 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1985, allocations: 0 / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001446/0.1986, allocations: 115.7 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1986, allocations: 5.469 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1986, allocations: 0 / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1986, allocations: 0 / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.1987, allocations: 29.62 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1987, allocations: 10.78 kB / 445.5 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.1988, allocations: 6.031 kB / 445.5 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1988, allocations: 6.734 kB / 445.5 MB, free: 45.49 MB / 410.7 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 5.362e-05/0.1988, allocations: 116.6 kB / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.1989, allocations: 9.891 kB / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.1991, allocations: 123.6 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1991, allocations: 3.094 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1991, allocations: 3.938 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1991, allocations: 2.906 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1994, allocations: 357.1 kB / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1994, allocations: 0 / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.1994, allocations: 20.31 kB / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1994, allocations: 6.906 kB / 446.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.1994, allocations: 3.375 kB / 446.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1994, allocations: 0.6562 kB / 446.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1994, allocations: 0.7812 kB / 446.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1996, allocations: 205 kB / 446.4 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.1996, allocations: 14.19 kB / 446.4 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1996, allocations: 6.516 kB / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.1997, allocations: 11.59 kB / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1997, allocations: 14.27 kB / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1997, allocations: 4.438 kB / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.1998, allocations: 118.5 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1998, allocations: 4.031 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.2, allocations: 43.36 kB / 446.6 MB, free: 44.83 MB / 410.7 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.00106/0.201, allocations: 1.183 MB / 447.8 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.2012, allocations: 83.19 kB / 447.8 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2012, allocations: 0 / 447.8 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.2013, allocations: 39.72 kB / 447.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2015, allocations: 17.08 kB / 447.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2027, allocations: 1.595 MB / 449.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.2027, allocations: 79.45 kB / 449.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.874e-05/0.2028, allocations: 16.66 kB / 449.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.2028, allocations: 36.5 kB / 449.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2028, allocations: 0 / 449.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.2223, allocations: 4.289 MB / 453.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.142, allocations: 4 kB / 453.9 MB, free: 41.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_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_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.225989017635584]