Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001242/0.001242, 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.001512/0.001512, allocations: 174 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.9118/0.9118, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2597/0.2597, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.922e-05, allocations: 2.984 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.1873/0.1873, allocations: 1.708 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1886, allocations: 0.9753 MB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.1887, allocations: 3.938 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.189, allocations: 29.75 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1893, allocations: 100.1 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.1894, allocations: 77.48 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1895, allocations: 114.1 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.1896, allocations: 9.5 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.1897, allocations: 55.09 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.1898, allocations: 27.14 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1898, allocations: 3.875 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.1899, allocations: 40.53 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.1899, allocations: 19.33 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.1899, allocations: 24.44 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.1901, allocations: 109.1 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1901, allocations: 0.5625 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1901, allocations: 4.156 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1901, allocations: 3.938 kB / 445.6 MB, free: 43 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.0003838/0.1905, allocations: 339 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1905, allocations: 9.438 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.1905, allocations: 30.75 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1906, allocations: 17.55 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.1908, allocations: 148.3 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1908, allocations: 3.25 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1908, allocations: 4.969 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1909, allocations: 65.81 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1909, allocations: 0 / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.191, allocations: 0 / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.191, allocations: 2.812 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.191, allocations: 23.52 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.1913, allocations: 255 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1914, allocations: 61.84 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.1914, allocations: 20.97 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1914, allocations: 0.5 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.1916, allocations: 70.88 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1916, allocations: 0 / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003775/0.1919, allocations: 185.1 kB / 446.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.192, allocations: 51.41 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.1921, allocations: 177.1 kB / 447 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.1921, allocations: 32.52 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.1921, allocations: 98.72 kB / 447.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.1921, allocations: 28.88 kB / 447.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.1921, allocations: 25.62 kB / 447.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.085e-05/0.1922, allocations: 327.2 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.1922, allocations: 21.34 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.1922, allocations: 37.92 kB / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.1923, allocations: 62.34 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1923, allocations: 0 / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001082/0.1924, allocations: 107.3 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1924, allocations: 5.688 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1924, allocations: 0 / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1925, allocations: 6.141 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.1925, allocations: 15.47 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1925, allocations: 2.156 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.1926, allocations: 7.234 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1926, allocations: 2.75 kB / 447.8 MB, free: 41.39 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.781e-05/0.1926, allocations: 130.1 kB / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1926, allocations: 13.27 kB / 447.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.1928, allocations: 113.9 kB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1928, allocations: 2.938 kB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1928, allocations: 0 / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1928, allocations: 0 / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1931, allocations: 372.7 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1931, allocations: 2.656 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.1931, allocations: 12.03 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1931, allocations: 0 / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1931, allocations: 13.44 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1931, allocations: 0.7812 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1931, allocations: 6.469 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1933, allocations: 209.9 kB / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.1933, allocations: 16.7 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1933, allocations: 0 / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.1933, allocations: 2.656 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1934, allocations: 16.2 kB / 448.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1934, allocations: 2.688 kB / 448.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.899e-05/0.1934, allocations: 131.3 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1934, allocations: 4 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.1936, allocations: 28.75 kB / 448.8 MB, free: 40.62 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.001007/0.1946, allocations: 1.127 MB / 449.9 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1948, allocations: 68.41 kB / 450 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1948, allocations: 0 / 450 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.189e-05/0.1948, allocations: 31.61 kB / 450 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1952, allocations: 33.55 kB / 450.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1964, allocations: 1.616 MB / 451.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/0.1965, allocations: 92.64 kB / 451.8 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.1965, allocations: 25.73 kB / 451.8 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.1966, allocations: 36.69 kB / 451.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1966, allocations: 0 / 451.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2133, allocations: 4.169 MB / 456 MB, free: 36.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.218, allocations: 10 kB / 456 MB, free: 36.95 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.368909513577819]