Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0008596/0.0008596, 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.001117/0.001117, allocations: 174 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.9176/0.9176, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2455/0.2455, allocations: 34.25 MB / 294.9 MB, free: 0.707 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.146e-05, allocations: 2.281 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002603/0.002624, allocations: 1.601 MB / 443.8 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1848/0.1874, allocations: 0.5251 MB / 444.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.1875, allocations: 0 / 444.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1877, allocations: 73.89 kB / 444.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.188, allocations: 116.3 kB / 444.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1882, allocations: 85.95 kB / 444.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1884, allocations: 95.94 kB / 444.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1885, allocations: 12.02 kB / 444.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.1885, allocations: 43.14 kB / 444.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.1886, allocations: 52.42 kB / 444.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1887, allocations: 4.188 kB / 444.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.1887, allocations: 54.83 kB / 444.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.1888, allocations: 19.28 kB / 444.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.1888, allocations: 13.16 kB / 444.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.189, allocations: 105.1 kB / 445 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.189, allocations: 4.5 kB / 445 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.582e-06/0.189, allocations: 0.5312 kB / 445 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.189, allocations: 8.281 kB / 445 MB, free: 42.64 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.000381/0.1894, allocations: 333.2 kB / 445.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1894, allocations: 9.312 kB / 445.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.1894, allocations: 40.11 kB / 445.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1895, allocations: 17.73 kB / 445.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1896, allocations: 139.4 kB / 445.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1896, allocations: 6.656 kB / 445.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1896, allocations: 384 / 445.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1897, allocations: 57.86 kB / 445.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1897, allocations: 10.42 kB / 445.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1898, allocations: 3.938 kB / 445.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1898, allocations: 3.25 kB / 445.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.077e-05/0.1898, allocations: 25.73 kB / 445.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.1901, allocations: 258 kB / 445.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.1902, allocations: 46.83 kB / 445.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.1902, allocations: 17.53 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1902, allocations: 2.812 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.1902, allocations: 30.56 kB / 446 MB, free: 41.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1902, allocations: 0 / 446 MB, free: 41.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006037/0.1908, allocations: 226.2 kB / 446.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.1909, allocations: 54.78 kB / 446.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.191, allocations: 218.7 kB / 446.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-06/0.191, allocations: 28.36 kB / 446.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.191, allocations: 107.8 kB / 446.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1911, allocations: 24.3 kB / 446.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.1911, allocations: 21 kB / 446.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.1911, allocations: 331.1 kB / 447 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.1912, allocations: 27 kB / 447 MB, free: 41.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.1912, allocations: 24.59 kB / 447 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-05/0.1913, allocations: 63.73 kB / 447.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1913, allocations: 0 / 447.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000123/0.1914, allocations: 101.2 kB / 447.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1914, allocations: 8.453 kB / 447.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1914, allocations: 4.891 kB / 447.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1914, allocations: 6.812 kB / 447.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.1915, allocations: 16.55 kB / 447.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1915, allocations: 0 / 447.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.1915, allocations: 2.75 kB / 447.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1915, allocations: 5.938 kB / 447.2 MB, free: 41.05 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 5.504e-05/0.1916, allocations: 132.4 kB / 447.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.1916, allocations: 16.59 kB / 447.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.1918, allocations: 115.7 kB / 447.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1918, allocations: 6.781 kB / 447.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1918, allocations: 0 / 447.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1918, allocations: 0 / 447.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.1921, allocations: 368.6 kB / 447.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1921, allocations: 2.656 kB / 447.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.1921, allocations: 20.8 kB / 447.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1921, allocations: 0 / 447.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1921, allocations: 2.781 kB / 447.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1921, allocations: 7.969 kB / 447.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1921, allocations: 3.188 kB / 447.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1923, allocations: 205.5 kB / 448.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.1923, allocations: 9.266 kB / 448.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1923, allocations: 6.75 kB / 448.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.1923, allocations: 10.17 kB / 448.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.1924, allocations: 10.08 kB / 448.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1924, allocations: 2.688 kB / 448.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.1924, allocations: 165.2 kB / 448.3 MB, free: 40.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1924, allocations: 7.938 kB / 448.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.1926, allocations: 27.73 kB / 448.3 MB, free: 40.35 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.0009742/0.1936, allocations: 1.106 MB / 449.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.1937, allocations: 67.36 kB / 449.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1937, allocations: 0 / 449.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.1938, allocations: 40.81 kB / 449.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1941, allocations: 14.16 kB / 449.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1952, allocations: 1.686 MB / 451.2 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.191e-05/0.1952, allocations: 97.5 kB / 451.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.1953, allocations: 9.578 kB / 451.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.1953, allocations: 36.78 kB / 451.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1953, allocations: 0 / 451.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.2131, allocations: 3.817 MB / 455.2 MB, free: 36.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.111, allocations: 10.3 kB / 455.2 MB, free: 36.93 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.242696843110025]