Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001036/0.001036, allocations: 79.69 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.001155/0.001155, 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.9464/0.9464, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2251/0.2251, allocations: 32.8 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.802e-05, allocations: 8.109 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002586/0.002614, allocations: 1.611 MB / 441.2 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.003408, allocations: 0.5336 MB / 441.8 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.003477, allocations: 0 / 441.8 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.003745, allocations: 79.7 kB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.004087, allocations: 115.4 kB / 441.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.004346, allocations: 110.5 kB / 442.1 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.004503, allocations: 91.73 kB / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004604, allocations: 8 kB / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.004672, allocations: 51.81 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.004767, allocations: 47.94 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004783, allocations: 4 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.004871, allocations: 47.92 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.004928, allocations: 31.8 kB / 442.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.004957, allocations: 15.92 kB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.005141, allocations: 107.6 kB / 442.4 MB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.005145, allocations: 0 / 442.4 MB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.005147, allocations: 4 kB / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.005154, allocations: 0 / 442.5 MB, free: 1.367 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.000419/0.005573, allocations: 341.6 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.005614, allocations: 8.031 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.005644, allocations: 30.75 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.005678, allocations: 24.84 kB / 442.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.005935, allocations: 146.2 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.005945, allocations: 384 / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.005966, allocations: 4.375 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.006092, allocations: 54.19 kB / 443 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.006104, allocations: 192 / 443 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.00612, allocations: 7.922 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.006126, allocations: 4 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.494e-05/0.006191, allocations: 23.98 kB / 443.1 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.006503, allocations: 267.9 kB / 443.3 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.006581, allocations: 50.48 kB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.006612, allocations: 20.94 kB / 443.4 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.006631, allocations: 0 / 443.4 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.00665, allocations: 30.56 kB / 443.4 MB, free: 244 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.00665, allocations: 0 / 443.4 MB, free: 244 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.187/0.1937, allocations: 243.7 kB / 443.7 MB, free: 46.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.1937, allocations: 54.47 kB / 443.7 MB, free: 46.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1939, allocations: 211.5 kB / 443.9 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1939, allocations: 26.33 kB / 444 MB, free: 46.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.1939, allocations: 109.5 kB / 444.1 MB, free: 46.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.194, allocations: 27.48 kB / 444.1 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.194, allocations: 22.94 kB / 444.1 MB, free: 46.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.1941, allocations: 325.6 kB / 444.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.1941, allocations: 33.47 kB / 444.5 MB, free: 45.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.1942, allocations: 35.67 kB / 444.5 MB, free: 45.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1943, allocations: 76.88 kB / 444.6 MB, free: 45.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1943, allocations: 0 / 444.6 MB, free: 45.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001526/0.1944, allocations: 114.2 kB / 444.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1945, allocations: 5.875 kB / 444.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1945, allocations: 1.625 kB / 444.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1945, allocations: 0 / 444.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.1946, allocations: 21.23 kB / 444.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1946, allocations: 0 / 444.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.1946, allocations: 13.91 kB / 444.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1946, allocations: 2.25 kB / 444.7 MB, free: 45.79 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 (8): * Single equations (assignments): 8 * 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 6.164e-05/0.1947, allocations: 133 kB / 444.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1947, allocations: 8.391 kB / 444.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.1949, allocations: 139.2 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1949, allocations: 5.531 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1949, allocations: 0 / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1949, allocations: 0 / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.1953, allocations: 385.4 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1953, allocations: 0 / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.1953, allocations: 20.47 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1953, allocations: 2.875 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.1953, allocations: 2 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1953, allocations: 3.656 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1953, allocations: 2.969 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1954, allocations: 216.4 kB / 445.6 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.1954, allocations: 12.78 kB / 445.7 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1955, allocations: 9.578 kB / 445.7 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.1955, allocations: 4.281 kB / 445.7 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.1955, allocations: 9.859 kB / 445.7 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1955, allocations: 2.969 kB / 445.7 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.138e-05/0.1956, allocations: 160.8 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1956, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.1958, allocations: 24.84 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009522/0.1967, allocations: 1.125 MB / 447 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1969, allocations: 72.81 kB / 447.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1969, allocations: 0 / 447.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.1969, allocations: 43.55 kB / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1972, allocations: 23.14 kB / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1982, allocations: 1.731 MB / 448.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.1983, allocations: 98.77 kB / 448.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.1983, allocations: 23.64 kB / 449 MB, free: 42.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.1984, allocations: 41.05 kB / 449 MB, free: 42.96 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1984, allocations: 0 / 449 MB, free: 42.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.2155, allocations: 3.858 MB / 452.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.047, allocations: 6.469 kB / 452.9 MB, free: 41.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.176874996162951]