Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.000963/0.000963, 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.0008567/0.0008567, allocations: 170 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.9057/0.9057, 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.2543/0.2543, 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.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.279e-05, allocations: 7.828 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.1825/0.1825, allocations: 1.702 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1843, allocations: 1.674 MB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.1844, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1847, allocations: 46.83 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.185, allocations: 96.22 kB / 445.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.1852, allocations: 83.62 kB / 445.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1853, allocations: 110.1 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1854, allocations: 4.438 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.1855, allocations: 66.22 kB / 446 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1856, allocations: 29 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1856, allocations: 9.234 kB / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1858, allocations: 102.6 kB / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1859, allocations: 30.23 kB / 446.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.1859, allocations: 23.89 kB / 446.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1862, allocations: 173 kB / 446.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1862, allocations: 0.5 kB / 446.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1862, allocations: 0 / 446.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1862, allocations: 3.312 kB / 446.4 MB, free: 42.66 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.0005189/0.1867, allocations: 360.2 kB / 446.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1867, allocations: 8.344 kB / 446.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1868, allocations: 37.03 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1868, allocations: 14.38 kB / 446.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1871, allocations: 145.7 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1871, allocations: 6.875 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1871, allocations: 4.125 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1873, allocations: 99.14 kB / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1873, allocations: 5.219 kB / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1873, allocations: 4 kB / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1873, allocations: 0 / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.1874, allocations: 17.83 kB / 447.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.1877, allocations: 259.7 kB / 447.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1878, allocations: 58.41 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.1878, allocations: 23.05 kB / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1878, allocations: 0 / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.188, allocations: 71.41 kB / 447.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.188, allocations: 0 / 447.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000428/0.1884, allocations: 175.8 kB / 447.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.1884, allocations: 79.8 kB / 447.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1885, allocations: 168.3 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.1885, allocations: 32.61 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.1886, allocations: 98.83 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1886, allocations: 25.09 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.1886, allocations: 26.3 kB / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.1887, allocations: 329.1 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.1887, allocations: 18.73 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/0.1887, allocations: 68.95 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.1888, allocations: 58.95 kB / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1888, allocations: 3.938 kB / 448.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001105/0.1889, allocations: 115.6 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1889, allocations: 5.906 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1889, allocations: 0 / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.189, allocations: 0 / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.1891, allocations: 19.41 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1891, allocations: 6.094 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.1891, allocations: 6.844 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1891, allocations: 6.906 kB / 448.7 MB, free: 40.7 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 6.71e-05/0.1892, allocations: 120.1 kB / 448.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1892, allocations: 9.266 kB / 448.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.1894, allocations: 124.8 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1894, allocations: 0 / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1894, allocations: 0 / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1894, allocations: 0 / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.1897, allocations: 378.6 kB / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1897, allocations: 0 / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.1897, allocations: 11.91 kB / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1897, allocations: 10.05 kB / 449.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.1897, allocations: 3.938 kB / 449.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1897, allocations: 3.094 kB / 449.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1897, allocations: 4.031 kB / 449.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1898, allocations: 211.5 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.1898, allocations: 6.922 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1899, allocations: 10.72 kB / 449.6 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.695e-05/0.1899, allocations: 6.266 kB / 449.6 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1899, allocations: 6.109 kB / 449.6 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.19, allocations: 6.75 kB / 449.6 MB, free: 40 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.19, allocations: 130.9 kB / 449.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.19, allocations: 0 / 449.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.1902, allocations: 50.94 kB / 449.8 MB, free: 39.9 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.001123/0.1914, allocations: 1.249 MB / 451 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1915, allocations: 61.53 kB / 451.1 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1915, allocations: 0 / 451.1 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.1916, allocations: 28.56 kB / 451.1 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1918, allocations: 34.12 kB / 451.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.1928, allocations: 1.621 MB / 452.8 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.1928, allocations: 83.33 kB / 452.9 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1929, allocations: 21 kB / 452.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.1929, allocations: 42.66 kB / 452.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1929, allocations: 0 / 452.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.2162, allocations: 4.89 MB / 457.8 MB, free: 36.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.035, allocations: 13.56 kB / 457.8 MB, free: 36.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.142693647183478]