Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0009081/0.0009081, 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.001165/0.001165, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9307/0.9307, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2274/0.2274, allocations: 32.79 MB / 293.5 MB, free: 1.238 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.098e-05, allocations: 2.281 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003056/0.003077, allocations: 1.609 MB / 441.2 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.004091, allocations: 0.5453 MB / 441.8 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.004163, allocations: 0 / 441.8 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.0045, allocations: 91.67 kB / 441.9 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.004874, allocations: 115.5 kB / 442 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.005256, allocations: 115.5 kB / 442.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.005474, allocations: 91.8 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.005593, allocations: 7.984 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.005686, allocations: 47.89 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.005796, allocations: 55.86 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.005813, allocations: 0 / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.005934, allocations: 55.8 kB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.005995, allocations: 27.86 kB / 442.4 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.00603, allocations: 15.92 kB / 442.4 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.006253, allocations: 111.6 kB / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.006256, allocations: 0 / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006257, allocations: 3.938 kB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.006263, allocations: 0 / 442.5 MB, free: 1.352 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.0005244/0.006787, allocations: 345.6 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.006834, allocations: 8.031 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.006879, allocations: 34.75 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.006919, allocations: 12.84 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.007121, allocations: 145.5 kB / 443 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.007133, allocations: 4.375 kB / 443 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.007156, allocations: 12.33 kB / 443 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.007308, allocations: 50.25 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.007321, allocations: 4.172 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.007334, allocations: 7.938 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.007339, allocations: 0 / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.007427, allocations: 27.97 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.007835, allocations: 267.8 kB / 443.4 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.007963, allocations: 46.56 kB / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.008013, allocations: 16.94 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.008041, allocations: 8 kB / 443.5 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.008069, allocations: 30.56 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.008071, allocations: 0 / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1856/0.1937, allocations: 246 kB / 443.7 MB, free: 46.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1937, allocations: 52.39 kB / 443.8 MB, free: 46.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1938, allocations: 241.9 kB / 444 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1938, allocations: 26.52 kB / 444 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.1939, allocations: 105.1 kB / 444.1 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1939, allocations: 24.25 kB / 444.2 MB, free: 46.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.1939, allocations: 25.48 kB / 444.2 MB, free: 46.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.1939, allocations: 329 kB / 444.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.194, allocations: 31.73 kB / 444.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.194, allocations: 33.88 kB / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.1941, allocations: 81.33 kB / 444.7 MB, free: 45.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1941, allocations: 0.7188 kB / 444.7 MB, free: 45.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001184/0.1942, allocations: 113.8 kB / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1943, allocations: 6.094 kB / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1943, allocations: 0 / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1943, allocations: 2.906 kB / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.1944, allocations: 18.7 kB / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1944, allocations: 1.5 kB / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.1944, allocations: 10.03 kB / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1944, allocations: 7.344 kB / 444.8 MB, free: 45.73 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 4.876e-05/0.1944, allocations: 129 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.1945, allocations: 13.59 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.1946, allocations: 142.3 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1946, allocations: 0 / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1946, allocations: 0 / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1946, allocations: 0 / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1949, allocations: 388.3 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1949, allocations: 0 / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.1949, allocations: 20.56 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1949, allocations: 3.719 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1949, allocations: 6.344 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1949, allocations: 3.469 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1949, allocations: 2.188 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.1951, allocations: 222.4 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.1951, allocations: 10.88 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1951, allocations: 2.906 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.574e-05/0.1951, allocations: 7.531 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.1951, allocations: 17.41 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1951, allocations: 5.75 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.457e-05/0.1952, allocations: 173.1 kB / 445.9 MB, free: 45.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1952, allocations: 0 / 445.9 MB, free: 45.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.1954, allocations: 21.62 kB / 446 MB, free: 45.08 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.0008599/0.1962, allocations: 1.125 MB / 447.1 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1964, allocations: 76.14 kB / 447.2 MB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1964, allocations: 0 / 447.2 MB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.1964, allocations: 35.08 kB / 447.2 MB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1967, allocations: 19.8 kB / 447.2 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.1977, allocations: 1.775 MB / 449 MB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.1977, allocations: 98.09 kB / 449.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.1978, allocations: 18.64 kB / 449.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1978, allocations: 44.55 kB / 449.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1978, allocations: 2.75 kB / 449.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.2114, allocations: 3.943 MB / 453.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.303, allocations: 15.34 kB / 453.1 MB, free: 41.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_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_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.462012203410268]