Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0007921/0.0007921, 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.0007976/0.0007976, 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.9117/0.9117, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2457/0.2457, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.095e-05, allocations: 2.281 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002441/0.002462, allocations: 1.735 MB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003737, allocations: 0.9808 MB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.003823, allocations: 0 / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.00418, allocations: 95.55 kB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.004528, allocations: 119.4 kB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.004734, allocations: 83.66 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.004912, allocations: 131.5 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.005028, allocations: 11.98 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.005139, allocations: 67.81 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.005251, allocations: 63.84 kB / 443 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.005269, allocations: 4 kB / 443 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005377, allocations: 55.92 kB / 443 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.005445, allocations: 31.86 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.005486, allocations: 23.86 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.005714, allocations: 147.4 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005716, allocations: 4 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005717, allocations: 0 / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005722, allocations: 0 / 443.2 MB, free: 0.5977 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.0005484/0.00627, allocations: 369.3 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.006317, allocations: 8.031 kB / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.00636, allocations: 42.73 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.006398, allocations: 12.84 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1849/0.1913, allocations: 146.9 kB / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1914, allocations: 4.625 kB / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1914, allocations: 8.844 kB / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1916, allocations: 61.86 kB / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1916, allocations: 0 / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1916, allocations: 1.375 kB / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1916, allocations: 6.375 kB / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.1917, allocations: 26.31 kB / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.1921, allocations: 271 kB / 444.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.1923, allocations: 59.97 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.1924, allocations: 21.77 kB / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1924, allocations: 0 / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.1925, allocations: 72.83 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1925, allocations: 2.594 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005982/0.1931, allocations: 269.7 kB / 444.6 MB, free: 46.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.1932, allocations: 51.41 kB / 444.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1933, allocations: 236.7 kB / 444.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.1933, allocations: 32.53 kB / 444.9 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.1933, allocations: 115.1 kB / 445 MB, free: 45.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1934, allocations: 36.02 kB / 445 MB, free: 45.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1934, allocations: 24.38 kB / 445.1 MB, free: 45.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.1934, allocations: 330.4 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.1935, allocations: 28.55 kB / 445.4 MB, free: 45.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.1935, allocations: 51.81 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.735e-05/0.1936, allocations: 84.73 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1936, allocations: 2.781 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001214/0.1937, allocations: 138.4 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1937, allocations: 5.5 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1937, allocations: 0 / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1937, allocations: 0 / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.1938, allocations: 23.84 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1938, allocations: 2.812 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.1938, allocations: 9.234 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1938, allocations: 6.25 kB / 445.7 MB, free: 45.43 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 (13): * Single equations (assignments): 13 * 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 5.891e-05/0.1939, allocations: 134 kB / 445.8 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.1939, allocations: 20.89 kB / 445.9 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.1941, allocations: 156.9 kB / 446 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1941, allocations: 3.031 kB / 446 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.1941, allocations: 0 / 446 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1941, allocations: 3.422 kB / 446 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.1944, allocations: 429.4 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1944, allocations: 0 / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.1944, allocations: 13.53 kB / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1944, allocations: 2.75 kB / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1944, allocations: 9.125 kB / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1944, allocations: 3.234 kB / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1944, allocations: 0 / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1946, allocations: 242.5 kB / 446.7 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.1946, allocations: 13.25 kB / 446.7 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1946, allocations: 14.45 kB / 446.7 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.1947, allocations: 2.688 kB / 446.7 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.1947, allocations: 12.56 kB / 446.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1947, allocations: 10.5 kB / 446.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.477e-05/0.1948, allocations: 178.7 kB / 446.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1948, allocations: 0 / 446.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.195, allocations: 34.03 kB / 447 MB, free: 44.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001138/0.1961, allocations: 1.222 MB / 448.2 MB, free: 43.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.1963, allocations: 88.28 kB / 448.3 MB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1963, allocations: 0 / 448.3 MB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.1963, allocations: 38.48 kB / 448.3 MB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1966, allocations: 40.61 kB / 448.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1978, allocations: 1.856 MB / 450.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.1978, allocations: 104.5 kB / 450.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.1979, allocations: 19.11 kB / 450.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.1979, allocations: 50.73 kB / 450.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.1979, allocations: 0 / 450.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.2153, allocations: 4.772 MB / 455.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/7.033, allocations: 7.094 kB / 455.2 MB, free: 40.74 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.137119801715016]