Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0007929/0.0007929, allocations: 83.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.0008032/0.0008032, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9256/0.9256, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2533/0.2533, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.988e-05, allocations: 4.391 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003712/0.003742, allocations: 1.591 MB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.1919, allocations: 0.5361 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.192, allocations: 3.938 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.1922, allocations: 21.5 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1925, allocations: 78.98 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1927, allocations: 88.95 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1929, allocations: 84.41 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.193, allocations: 12.39 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.1931, allocations: 40.08 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.1932, allocations: 30.73 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1932, allocations: 5.281 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1934, allocations: 86.58 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.1934, allocations: 20.56 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.1935, allocations: 15.28 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1937, allocations: 159.5 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1937, allocations: 3 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1937, allocations: 0 / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1937, allocations: 0 / 445 MB, free: 43.13 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004741/0.1942, allocations: 339.2 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1942, allocations: 12.25 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.1943, allocations: 34.62 kB / 445.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1943, allocations: 15.53 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1944, allocations: 129.6 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1944, allocations: 11.33 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1945, allocations: 3.797 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1946, allocations: 90.91 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1946, allocations: 192 / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1946, allocations: 10.22 kB / 445.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1946, allocations: 2.625 kB / 445.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.1947, allocations: 26.41 kB / 445.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.195, allocations: 266.8 kB / 445.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.195, allocations: 62.23 kB / 445.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.1951, allocations: 25.53 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1951, allocations: 2.844 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.1951, allocations: 37 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.1951, allocations: 0 / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004293/0.1955, allocations: 185.3 kB / 446.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.1956, allocations: 79.77 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.1957, allocations: 157.1 kB / 446.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.1957, allocations: 32.67 kB / 446.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.1957, allocations: 93.64 kB / 446.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.1957, allocations: 28.88 kB / 446.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1957, allocations: 24.75 kB / 446.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.019e-05/0.1958, allocations: 324.5 kB / 446.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.1958, allocations: 35.88 kB / 446.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.1959, allocations: 69.53 kB / 447 MB, free: 41.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.513e-05/0.1959, allocations: 73.84 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1959, allocations: 7.969 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001237/0.1961, allocations: 113.7 kB / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1961, allocations: 5.688 kB / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1961, allocations: 0 / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1961, allocations: 2.844 kB / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.1962, allocations: 17.78 kB / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1962, allocations: 0 / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.1962, allocations: 9.969 kB / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1962, allocations: 2.875 kB / 447.2 MB, free: 41.44 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 (9): * Single equations (assignments): 9 * 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.152e-05/0.1963, allocations: 128.5 kB / 447.4 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1963, allocations: 13.69 kB / 447.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.1965, allocations: 114.3 kB / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1965, allocations: 0 / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1965, allocations: 0 / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1965, allocations: 0 / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1967, allocations: 361.2 kB / 447.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1967, allocations: 5 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.1968, allocations: 14.86 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1968, allocations: 0 / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1968, allocations: 3 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1968, allocations: 3.938 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1968, allocations: 3.938 kB / 447.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1969, allocations: 200.8 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.1969, allocations: 14.95 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1969, allocations: 0 / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.197, allocations: 10.53 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.197, allocations: 13.84 kB / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.197, allocations: 0 / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.1971, allocations: 115.1 kB / 448.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1971, allocations: 0 / 448.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.1973, allocations: 45.58 kB / 448.3 MB, free: 40.76 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 (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.001029/0.1983, allocations: 1.172 MB / 449.4 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1985, allocations: 74.03 kB / 449.5 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1985, allocations: 0 / 449.5 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.1985, allocations: 30.23 kB / 449.5 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1988, allocations: 26.84 kB / 449.6 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1999, allocations: 1.581 MB / 451.2 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.1999, allocations: 77.44 kB / 451.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.2, allocations: 25.09 kB / 451.3 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.2, allocations: 32.14 kB / 451.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2, allocations: 0 / 451.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.2158, allocations: 4.321 MB / 455.6 MB, free: 37.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.181, allocations: 4 kB / 455.6 MB, free: 37.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_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_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.327375027351081]