Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.00126/0.00126, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001356/0.001356, 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.8825/0.8825, 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.23/0.23, allocations: 32.8 MB / 293.5 MB, free: 1.211 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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.349e-05, allocations: 4.531 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002756/0.00278, allocations: 1.658 MB / 441.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004165, allocations: 1.274 MB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.004284, allocations: 4 kB / 442.5 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.004585, allocations: 23.8 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.005054, allocations: 91.48 kB / 442.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.0056, allocations: 176.2 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.005845, allocations: 87.69 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005995, allocations: 12 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.006093, allocations: 39.89 kB / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.006225, allocations: 31.91 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.006247, allocations: 4 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.006488, allocations: 95.81 kB / 443.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.006587, allocations: 27.84 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.006631, allocations: 15.94 kB / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.006946, allocations: 159.5 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.00695, allocations: 0 / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.006954, allocations: 7.922 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.00696, allocations: 0 / 443.3 MB, free: 0.5117 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.0005267/0.007487, allocations: 345.5 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.007532, allocations: 16.03 kB / 443.7 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.007574, allocations: 34.75 kB / 443.7 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.007619, allocations: 8.891 kB / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1852/0.1928, allocations: 146.3 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1928, allocations: 2.969 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1928, allocations: 1.125 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1931, allocations: 106.3 kB / 443.9 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1931, allocations: 1.688 kB / 443.9 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1931, allocations: 1.438 kB / 443.9 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1931, allocations: 3.062 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.1932, allocations: 37.39 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1936, allocations: 275.6 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.1937, allocations: 43.36 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.1937, allocations: 28.22 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1937, allocations: 3.734 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1938, allocations: 33.53 kB / 444.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.1938, allocations: 3.094 kB / 444.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005767/0.1943, allocations: 241.1 kB / 444.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1944, allocations: 79.73 kB / 444.7 MB, free: 46.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1945, allocations: 158.6 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1945, allocations: 25.7 kB / 444.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.1945, allocations: 102.9 kB / 445 MB, free: 45.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1945, allocations: 20.69 kB / 445 MB, free: 45.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1946, allocations: 19.59 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.1946, allocations: 321.5 kB / 445.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.1947, allocations: 42.12 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.1947, allocations: 81.41 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1949, allocations: 91.59 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1949, allocations: 0 / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.195, allocations: 131.4 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.195, allocations: 6.594 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.195, allocations: 6.25 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.195, allocations: 0 / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.1951, allocations: 27.41 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1951, allocations: 0 / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.1952, allocations: 11.39 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1952, allocations: 2.719 kB / 445.7 MB, free: 45.38 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 4.711e-05/0.1952, allocations: 118.1 kB / 445.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.1952, allocations: 17.8 kB / 445.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.1954, allocations: 144.3 kB / 446 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1954, allocations: 0 / 446 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1954, allocations: 0 / 446 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1954, allocations: 2.953 kB / 446 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1957, allocations: 379.4 kB / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1957, allocations: 6.281 kB / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.1958, allocations: 21.92 kB / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1958, allocations: 0 / 446.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1958, allocations: 7.188 kB / 446.4 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1958, allocations: 0 / 446.4 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1958, allocations: 3.812 kB / 446.4 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1959, allocations: 218.6 kB / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.196, allocations: 16.98 kB / 446.6 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.196, allocations: 0 / 446.6 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.196, allocations: 9.141 kB / 446.6 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.1961, allocations: 10.12 kB / 446.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1961, allocations: 5.125 kB / 446.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.1961, allocations: 117.3 kB / 446.8 MB, free: 44.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1961, allocations: 0 / 446.8 MB, free: 44.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.1963, allocations: 47.91 kB / 446.8 MB, free: 44.66 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.001154/0.1975, allocations: 1.194 MB / 448 MB, free: 43.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1977, allocations: 85.92 kB / 448.1 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1977, allocations: 2.531 kB / 448.1 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.1978, allocations: 47.25 kB / 448.1 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.198, allocations: 25.69 kB / 448.2 MB, free: 43.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1992, allocations: 1.657 MB / 449.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.1993, allocations: 90.27 kB / 449.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.601e-05/0.1993, allocations: 26.3 kB / 449.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.1994, allocations: 38.25 kB / 450 MB, free: 42.46 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1994, allocations: 0 / 450 MB, free: 42.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.215, allocations: 4.37 MB / 454.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.98, allocations: 4 kB / 454.3 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.077585362829268]