Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009078/0.0009078, 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.0008298/0.0008298, 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.9105/0.9105, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2602/0.2602, allocations: 34.25 MB / 294.9 MB, free: 0.7344 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.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.067e-06/4.067e-06, allocations: 4 kB / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.496e-05, allocations: 2.281 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.1887/0.1887, allocations: 1.703 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1898, allocations: 0.9822 MB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.1899, allocations: 3.938 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1902, allocations: 45.55 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1905, allocations: 109.9 kB / 445.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1907, allocations: 74.62 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1908, allocations: 113.6 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1909, allocations: 14.22 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.191, allocations: 51.41 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.1911, allocations: 30.56 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1911, allocations: 4.562 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.1912, allocations: 43.88 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.1912, allocations: 30.45 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.1913, allocations: 23.5 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1915, allocations: 131.5 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1915, allocations: 0 / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1915, allocations: 1.531 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1915, allocations: 2.844 kB / 445.6 MB, free: 42.91 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.000425/0.1919, allocations: 369.6 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1919, allocations: 11.56 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.192, allocations: 37.28 kB / 446 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.192, allocations: 14.75 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1922, allocations: 160.6 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1922, allocations: 8.25 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1922, allocations: 3.156 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1924, allocations: 62.83 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1924, allocations: 3.344 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1924, allocations: 0 / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1924, allocations: 1.062 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.296e-05/0.1924, allocations: 17.72 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.1927, allocations: 272.1 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1929, allocations: 58.27 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.1929, allocations: 19.81 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1929, allocations: 2.062 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.1931, allocations: 78.25 kB / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1931, allocations: 0 / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004634/0.1935, allocations: 198.9 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.1935, allocations: 51.41 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1937, allocations: 274.9 kB / 447.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.1937, allocations: 28.58 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.1938, allocations: 111 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1938, allocations: 28.38 kB / 447.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.1938, allocations: 22.88 kB / 447.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.1939, allocations: 330.6 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.1939, allocations: 27.44 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.1939, allocations: 36.3 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.194, allocations: 63.5 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.194, allocations: 0 / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001245/0.1941, allocations: 112.9 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1942, allocations: 5.438 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1942, allocations: 0 / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1942, allocations: 2.688 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.1943, allocations: 16.44 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1943, allocations: 2.156 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.1943, allocations: 3.906 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1943, allocations: 9.984 kB / 448 MB, free: 41.25 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 8.012e-05/0.1944, allocations: 141.8 kB / 448.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.1944, allocations: 17.27 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.1946, allocations: 128.4 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1946, allocations: 0 / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1946, allocations: 0 / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1946, allocations: 0 / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.1949, allocations: 387.6 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1949, allocations: 0 / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.195, allocations: 16.09 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.195, allocations: 0 / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.195, allocations: 6.281 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.195, allocations: 0.7812 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.195, allocations: 3.938 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1951, allocations: 219 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.1951, allocations: 14.94 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1952, allocations: 6.906 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/0.1952, allocations: 6.297 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1952, allocations: 10.23 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1953, allocations: 6.906 kB / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1954, allocations: 212 kB / 449.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1954, allocations: 0 / 449.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.1956, allocations: 27.44 kB / 449.2 MB, free: 40.43 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.001125/0.1967, allocations: 1.148 MB / 450.3 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1969, allocations: 52.48 kB / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1969, allocations: 0 / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.1969, allocations: 35.44 kB / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1972, allocations: 32.39 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1984, allocations: 1.846 MB / 452.3 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.841e-05/0.1985, allocations: 111.2 kB / 452.4 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.1985, allocations: 16.66 kB / 452.4 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.1986, allocations: 40.47 kB / 452.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1986, allocations: 0 / 452.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.2171, allocations: 4.626 MB / 457.1 MB, free: 36.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/7.061, allocations: 0 / 457.1 MB, free: 36.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.207801645621657]