Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001064/0.001064, 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.0008467/0.0008467, 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.9156/0.9156, allocations: 177.1 MB / 204.3 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.2572/0.2572, allocations: 34.25 MB / 294.9 MB, free: 0.7422 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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.665e-05, allocations: 2.281 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.1865/0.1866, allocations: 1.782 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1882, allocations: 1.741 MB / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.1883, allocations: 7.219 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1886, allocations: 56.64 kB / 445.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1889, allocations: 139.3 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.189, allocations: 110 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1892, allocations: 208 kB / 446.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.1892, allocations: 11.67 kB / 446.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1893, allocations: 106.8 kB / 446.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1894, allocations: 70.89 kB / 446.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1895, allocations: 8.469 kB / 446.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1896, allocations: 108.4 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.1896, allocations: 35.11 kB / 446.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.1897, allocations: 44.44 kB / 446.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1899, allocations: 233.1 kB / 446.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1899, allocations: 0.7188 kB / 446.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1899, allocations: 0 / 446.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1899, allocations: 4.312 kB / 446.9 MB, free: 42.42 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004438/0.1903, allocations: 427.8 kB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1904, allocations: 7.875 kB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.1904, allocations: 37.59 kB / 447.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.1904, allocations: 20.92 kB / 447.4 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1907, allocations: 188.2 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1907, allocations: 5.906 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1907, allocations: 3.375 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1908, allocations: 157.1 kB / 447.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1908, allocations: 0.7031 kB / 447.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1909, allocations: 6.781 kB / 447.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1909, allocations: 3.375 kB / 447.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.1909, allocations: 40.59 kB / 447.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.1911, allocations: 178.1 kB / 447.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1912, allocations: 106.2 kB / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.1912, allocations: 41.47 kB / 448.1 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1913, allocations: 2.656 kB / 448.1 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.1914, allocations: 120.9 kB / 448.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.1914, allocations: 3.938 kB / 448.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002595/0.1916, allocations: 173.2 kB / 448.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1917, allocations: 131.8 kB / 448.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1918, allocations: 247.3 kB / 448.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.1918, allocations: 28.95 kB / 448.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.1919, allocations: 124.7 kB / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1919, allocations: 28.27 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1919, allocations: 33.58 kB / 449 MB, free: 40.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.237e-05/0.192, allocations: 335.1 kB / 449.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.192, allocations: 28.61 kB / 449.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.1921, allocations: 123.6 kB / 449.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.1922, allocations: 94.89 kB / 449.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1922, allocations: 3.406 kB / 449.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001423/0.1923, allocations: 147.9 kB / 449.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1923, allocations: 5.812 kB / 449.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1923, allocations: 0 / 449.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1923, allocations: 2.875 kB / 449.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.1924, allocations: 29.83 kB / 449.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1924, allocations: 2.688 kB / 449.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.1925, allocations: 17.64 kB / 449.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1925, allocations: 6.844 kB / 449.7 MB, free: 40.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.299e-05/0.1925, allocations: 130.5 kB / 449.9 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.1925, allocations: 20.25 kB / 449.9 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.1927, allocations: 163.7 kB / 450 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1927, allocations: 0 / 450 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1927, allocations: 2.781 kB / 450.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1927, allocations: 3.234 kB / 450.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.885e-05/0.1928, allocations: 185.8 kB / 450.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1928, allocations: 4 kB / 450.2 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.1929, allocations: 11.22 kB / 450.3 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1929, allocations: 4.969 kB / 450.3 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1929, allocations: 2.781 kB / 450.3 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1929, allocations: 7.359 kB / 450.3 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1929, allocations: 0 / 450.3 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.193, allocations: 187.6 kB / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.193, allocations: 24.77 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1931, allocations: 2.844 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.1931, allocations: 14.17 kB / 450.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1931, allocations: 8.656 kB / 450.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1931, allocations: 2.75 kB / 450.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.424e-05/0.1932, allocations: 187.7 kB / 450.7 MB, free: 39.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1932, allocations: 2.062 kB / 450.7 MB, free: 39.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.1934, allocations: 55.42 kB / 450.7 MB, free: 39.48 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009919/0.1944, allocations: 1.169 MB / 451.9 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1946, allocations: 82.02 kB / 452 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.1946, allocations: 128 / 452 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.1946, allocations: 52.28 kB / 452 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1948, allocations: 61.27 kB / 452.1 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1961, allocations: 1.909 MB / 454 MB, free: 37.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.373e-05/0.1961, allocations: 110.8 kB / 454.1 MB, free: 37.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.349e-05/0.1962, allocations: 36.81 kB / 454.2 MB, free: 37.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.1963, allocations: 63.39 kB / 454.2 MB, free: 37.11 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1963, allocations: 0 / 454.2 MB, free: 37.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.2141, allocations: 6.366 MB / 460.6 MB, free: 35.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.152, allocations: 7.156 kB / 460.6 MB, free: 35.4 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.293556148186326]