Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.0008162/0.0008162, 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.0008725/0.0008725, 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.9121/0.9121, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2554/0.2554, 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.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.927e-05, allocations: 2.281 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.19/0.1901, allocations: 1.663 MB / 443.9 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1912, allocations: 0.9605 MB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.1913, allocations: 0 / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1916, allocations: 52.36 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1919, allocations: 108.4 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1921, allocations: 71.44 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1922, allocations: 111.6 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1922, allocations: 6.922 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.1923, allocations: 47.64 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.1924, allocations: 24.59 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1924, allocations: 7.25 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.1925, allocations: 40.56 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.1925, allocations: 23.81 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.1926, allocations: 24.48 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1927, allocations: 119.3 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1927, allocations: 0 / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1927, allocations: 0 / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1927, allocations: 0.5312 kB / 445.5 MB, free: 43.01 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003952/0.1931, allocations: 368.5 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1932, allocations: 8.812 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.134e-05/0.1932, allocations: 37.56 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1932, allocations: 17.78 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1934, allocations: 153.8 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1934, allocations: 384 / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1934, allocations: 11.88 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.942e-05/0.1935, allocations: 55.5 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1935, allocations: 0 / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1936, allocations: 2.156 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1936, allocations: 0 / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.1936, allocations: 18.09 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.1937, allocations: 163.5 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.1938, allocations: 47.75 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.1939, allocations: 22.52 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1939, allocations: 0 / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.194, allocations: 73.36 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.194, allocations: 0 / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001851/0.1942, allocations: 104.5 kB / 446.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1942, allocations: 55.27 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1943, allocations: 269.5 kB / 446.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.1944, allocations: 31.7 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1944, allocations: 115.4 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1944, allocations: 21.59 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.1944, allocations: 19 kB / 447.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.1945, allocations: 327.4 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.1945, allocations: 17.12 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.1946, allocations: 32.72 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.1946, allocations: 50.14 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1946, allocations: 0 / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.567e-05/0.1947, allocations: 88.45 kB / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1947, allocations: 9.156 kB / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1947, allocations: 0 / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1947, allocations: 0 / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.1948, allocations: 11.88 kB / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1948, allocations: 3.031 kB / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.1948, allocations: 4.547 kB / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1948, allocations: 6.906 kB / 447.6 MB, free: 41.47 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 (7): * Single equations (assignments): 7 * 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.693e-05/0.1949, allocations: 140.9 kB / 447.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1949, allocations: 17.34 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.1951, allocations: 102.7 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1951, allocations: 2.594 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1951, allocations: 0 / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1951, allocations: 0 / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1952, allocations: 172.8 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1952, allocations: 3.188 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.1952, allocations: 5.312 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1952, allocations: 5.531 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1952, allocations: 7.469 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1952, allocations: 0 / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1952, allocations: 2.688 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1954, allocations: 116.5 kB / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.1954, allocations: 21.12 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1954, allocations: 3.281 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.1954, allocations: 2.844 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1955, allocations: 5.766 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1955, allocations: 2.531 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1956, allocations: 206.9 kB / 448.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1956, allocations: 4 kB / 448.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.1958, allocations: 26.14 kB / 448.4 MB, free: 40.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009757/0.1967, allocations: 0.9882 MB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1969, allocations: 43.94 kB / 449.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1969, allocations: 0 / 449.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.1969, allocations: 22.31 kB / 449.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1971, allocations: 32.8 kB / 449.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1981, allocations: 1.693 MB / 451.2 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.678e-05/0.1982, allocations: 102.3 kB / 451.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.234e-05/0.1982, allocations: 13.67 kB / 451.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.1983, allocations: 41.27 kB / 451.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1983, allocations: 0 / 451.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.2153, allocations: 4.324 MB / 455.7 MB, free: 37.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.87, allocations: 7.984 kB / 455.7 MB, free: 37.43 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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: 8.85253023635596]