Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.0008943/0.0008943, 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.001346/0.001346, 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.9049/0.9049, 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.2421/0.2421, allocations: 34.24 MB / 294.9 MB, free: 0.75 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.341e-05, allocations: 2.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002957/0.002981, allocations: 1.612 MB / 443.8 MB, free: 40 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.186/0.189, allocations: 0.5249 MB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.189, allocations: 0 / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.1893, allocations: 77.25 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.1895, allocations: 102.3 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.1897, allocations: 112.2 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1898, allocations: 86.47 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.1899, allocations: 19.19 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.19, allocations: 47.12 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.1901, allocations: 47.47 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1901, allocations: 5.344 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.1901, allocations: 43.56 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.1902, allocations: 21.69 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.1902, allocations: 16.8 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1903, allocations: 98.89 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1903, allocations: 0 / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1903, allocations: 3.938 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1904, allocations: 0.7188 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003285/0.1907, allocations: 338.4 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1907, allocations: 10.66 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.147e-05/0.1907, allocations: 34.25 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.1908, allocations: 12.77 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1909, allocations: 143.6 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1909, allocations: 384 / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1909, allocations: 8.625 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.191, allocations: 63.72 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.191, allocations: 192 / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.191, allocations: 10.41 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.191, allocations: 0 / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.679e-05/0.1911, allocations: 27.36 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.1913, allocations: 266.9 kB / 445.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.1914, allocations: 50.38 kB / 445.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.1914, allocations: 14.86 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1914, allocations: 7.125 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.1914, allocations: 33.09 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1914, allocations: 0 / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005262/0.192, allocations: 238.4 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.192, allocations: 54.03 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1921, allocations: 195.8 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-06/0.1921, allocations: 29.52 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.1921, allocations: 108.6 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.1921, allocations: 25.91 kB / 446.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1922, allocations: 25.2 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.588e-05/0.1922, allocations: 328.2 kB / 447 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.1922, allocations: 34.59 kB / 447 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.1923, allocations: 28.77 kB / 447 MB, free: 41.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.1924, allocations: 75.19 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1924, allocations: 0 / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001083/0.1925, allocations: 113.8 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1925, allocations: 10.09 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1925, allocations: 0.6562 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1925, allocations: 0 / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.1926, allocations: 16.86 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1926, allocations: 3.375 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1926, allocations: 9.828 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1926, allocations: 2.719 kB / 447.3 MB, free: 41.54 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.515e-05/0.1926, allocations: 133.4 kB / 447.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.1926, allocations: 13.75 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.1928, allocations: 136.1 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1928, allocations: 2.906 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1928, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1928, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1931, allocations: 379.5 kB / 447.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1931, allocations: 2.906 kB / 447.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.1931, allocations: 19.8 kB / 447.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1931, allocations: 6.719 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1931, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1931, allocations: 6.844 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1931, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1932, allocations: 212.6 kB / 448.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.1932, allocations: 10.09 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1933, allocations: 10.09 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.1933, allocations: 10.84 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.1933, allocations: 6.359 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1933, allocations: 2.875 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.1934, allocations: 155.2 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1934, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.1935, allocations: 25.78 kB / 448.4 MB, free: 40.85 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.0008471/0.1944, allocations: 1.128 MB / 449.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1945, allocations: 79.7 kB / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1945, allocations: 0 / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.1946, allocations: 43.28 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.1948, allocations: 25.17 kB / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.1958, allocations: 1.685 MB / 451.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.025e-05/0.1959, allocations: 91.95 kB / 451.4 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.1959, allocations: 19.42 kB / 451.4 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.196, allocations: 40.47 kB / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.196, allocations: 0 / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.2145, allocations: 3.823 MB / 455.3 MB, free: 37.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.254, allocations: 2.75 kB / 455.3 MB, free: 37.29 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_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_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.376936224289238]