Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001065/0.001065, 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.001218/0.001218, allocations: 170.3 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.9204/0.9204, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2506/0.2506, allocations: 34.25 MB / 294.9 MB, free: 0.7305 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.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.625e-05, allocations: 2.281 kB / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.1876/0.1876, allocations: 1.709 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1888, allocations: 0.9728 MB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.1889, allocations: 6.844 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1891, allocations: 34.92 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1894, allocations: 99.58 kB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.1895, allocations: 77.12 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1896, allocations: 112.5 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1897, allocations: 9.969 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.1898, allocations: 52.06 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.1899, allocations: 28.83 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1899, allocations: 6.719 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.19, allocations: 38.33 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.19, allocations: 30.16 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.19, allocations: 16.56 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1902, allocations: 123.9 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1902, allocations: 3.312 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1902, allocations: 0 / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1902, allocations: 0 / 445.6 MB, free: 42.93 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.0004052/0.1906, allocations: 345 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1907, allocations: 11.38 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.363e-05/0.1907, allocations: 30.75 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.1907, allocations: 14.72 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1909, allocations: 150.7 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1909, allocations: 2.781 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1909, allocations: 3 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.191, allocations: 62.28 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.191, allocations: 0 / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.191, allocations: 0 / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1911, allocations: 2.906 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.1911, allocations: 26.77 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.1914, allocations: 254.2 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1915, allocations: 63.23 kB / 446.5 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.1915, allocations: 24.64 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1915, allocations: 0 / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.1916, allocations: 72.36 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1916, allocations: 3.938 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000365/0.192, allocations: 187.7 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.192, allocations: 51.41 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1921, allocations: 201 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.1921, allocations: 28.58 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.1922, allocations: 101.5 kB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1922, allocations: 30.58 kB / 447.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.1922, allocations: 25.62 kB / 447.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.1922, allocations: 327.4 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.1923, allocations: 21.45 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.373e-05/0.1923, allocations: 40.48 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.253e-05/0.1924, allocations: 61.05 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1924, allocations: 0 / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.74e-05/0.1925, allocations: 105 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1925, allocations: 7 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1925, allocations: 2.594 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1925, allocations: 0 / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.1926, allocations: 19.62 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1926, allocations: 4.812 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.1926, allocations: 2.656 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1926, allocations: 2.688 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.239e-05/0.1927, allocations: 134.3 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.1927, allocations: 9.734 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.1928, allocations: 118.4 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1928, allocations: 2.875 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1928, allocations: 3.938 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1928, allocations: 0 / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1931, allocations: 374.9 kB / 448.4 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1931, allocations: 4.75 kB / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.1931, allocations: 8.375 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1931, allocations: 2.875 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1931, allocations: 7.281 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1931, allocations: 2.812 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1931, allocations: 11.09 kB / 448.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1932, allocations: 211.2 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.1932, allocations: 11.31 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1932, allocations: 6.844 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.1933, allocations: 6.906 kB / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1933, allocations: 9.859 kB / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1933, allocations: 5.906 kB / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.382e-05/0.1934, allocations: 153.2 kB / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1934, allocations: 0 / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.1935, allocations: 27.27 kB / 448.9 MB, free: 40.53 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000982/0.1945, allocations: 1.139 MB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.1947, allocations: 61.3 kB / 450.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1947, allocations: 4.062 kB / 450.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.1947, allocations: 32.33 kB / 450.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1949, allocations: 35.45 kB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.196, allocations: 1.675 MB / 451.8 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.664e-05/0.1961, allocations: 90.39 kB / 451.9 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.1961, allocations: 21.23 kB / 451.9 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.1962, allocations: 39.45 kB / 452 MB, free: 38.23 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1962, allocations: 0 / 452 MB, free: 38.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.2107, allocations: 4.288 MB / 456.3 MB, free: 36.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.166, allocations: 0 / 456.3 MB, free: 36.83 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.CombiTimeTable.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.325512041337788]