Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0007594/0.0007594, 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.0008005/0.0008005, 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.9263/0.9263, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2785/0.2785, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.317e-05, allocations: 2.844 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002638/0.002661, allocations: 1.795 MB / 441.5 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003926, allocations: 1.048 MB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.004008, allocations: 3.938 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.00449, allocations: 307.1 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.004948, allocations: 263 kB / 443.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.005162, allocations: 111.6 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.005435, allocations: 267.2 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.005506, allocations: 17.72 kB / 443.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.005675, allocations: 147.7 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.005868, allocations: 203.6 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.005893, allocations: 8 kB / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1827/0.1886, allocations: 45.52 kB / 443.8 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.1888, allocations: 145.5 kB / 444 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.1889, allocations: 72.05 kB / 444.1 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1893, allocations: 358.4 kB / 444.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1893, allocations: 3.844 kB / 444.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1893, allocations: 0 / 444.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1893, allocations: 1.625 kB / 444.4 MB, free: 43.81 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.0006256/0.1899, allocations: 0.6793 MB / 445.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1899, allocations: 14.02 kB / 445.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.19, allocations: 37.62 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.19, allocations: 50.58 kB / 445.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.1904, allocations: 389.7 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1905, allocations: 2.25 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1905, allocations: 6.688 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1906, allocations: 87.69 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1906, allocations: 1.781 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1906, allocations: 8.969 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1906, allocations: 0 / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.1907, allocations: 36.7 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.191, allocations: 325.8 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1911, allocations: 106.5 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.1912, allocations: 41.84 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1912, allocations: 2.938 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1914, allocations: 115.2 kB / 446.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.1914, allocations: 1.844 kB / 446.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003068/0.1917, allocations: 205.7 kB / 446.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1917, allocations: 86.48 kB / 446.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.1924, allocations: 1.06 MB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.1924, allocations: 35 kB / 447.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.1925, allocations: 237.9 kB / 447.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.1925, allocations: 40.14 kB / 447.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.1925, allocations: 28.78 kB / 448 MB, free: 42.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.1926, allocations: 367.6 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.1927, allocations: 31.64 kB / 448.4 MB, free: 41.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.1927, allocations: 62.66 kB / 448.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1928, allocations: 94.25 kB / 448.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1928, allocations: 0 / 448.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001835/0.193, allocations: 173.6 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.193, allocations: 13 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.193, allocations: 2.844 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.193, allocations: 0 / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.1931, allocations: 23.89 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1931, allocations: 2.844 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1932, allocations: 9.969 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1932, allocations: 9.438 kB / 448.7 MB, free: 41.83 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001333/0.1933, allocations: 233.2 kB / 449 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.1934, allocations: 54.75 kB / 449 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1936, allocations: 206.3 kB / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1936, allocations: 2.844 kB / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1936, allocations: 0 / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1936, allocations: 0 / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1938, allocations: 297.7 kB / 449.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1938, allocations: 0 / 449.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1938, allocations: 11.72 kB / 449.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1938, allocations: 7.062 kB / 449.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1938, allocations: 7.938 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1938, allocations: 8.016 kB / 449.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1938, allocations: 3.656 kB / 449.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.194, allocations: 219 kB / 449.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.1941, allocations: 63.84 kB / 449.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1941, allocations: 7 kB / 449.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.1941, allocations: 10.38 kB / 449.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.1942, allocations: 6 kB / 449.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1942, allocations: 5.938 kB / 449.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004426/0.1946, allocations: 0.7992 MB / 450.7 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1946, allocations: 0 / 450.7 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.1949, allocations: 47.81 kB / 450.7 MB, free: 40.99 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.0009582/0.1958, allocations: 1.096 MB / 451.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.196, allocations: 86.88 kB / 451.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.196, allocations: 0 / 451.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.556e-05/0.196, allocations: 48.41 kB / 451.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1963, allocations: 71.94 kB / 452 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.1997, allocations: 4.629 MB / 456.6 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.1999, allocations: 242.6 kB / 456.9 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.2, allocations: 62.28 kB / 456.9 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.2001, allocations: 156 kB / 457.1 MB, free: 37.89 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2001, allocations: 0 / 457.1 MB, free: 37.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.2226, allocations: 10.15 MB / 467.2 MB, free: 35.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.986, allocations: 12.47 kB / 467.2 MB, free: 35.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.08776571508497]