Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007864/0.0007864, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9154/0.9154, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 34.23 MB / 294.8 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.867e-05, allocations: 2.281 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.1897/0.1897, allocations: 1.72 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.191, allocations: 0.978 MB / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1911, allocations: 0 / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.1915, allocations: 45.41 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1918, allocations: 98.78 kB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1921, allocations: 78.95 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.1923, allocations: 108.6 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1924, allocations: 6.844 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1925, allocations: 60.19 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.1926, allocations: 28.53 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1926, allocations: 2.781 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1927, allocations: 43.95 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.1928, allocations: 23.73 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1928, allocations: 23.66 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.193, allocations: 120.6 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.193, allocations: 0 / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.193, allocations: 0.5625 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.193, allocations: 2.594 kB / 445.6 MB, free: 42.83 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.0004005/0.1934, allocations: 355 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1935, allocations: 8.5 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.1935, allocations: 30.75 kB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1935, allocations: 10.33 kB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1938, allocations: 156.1 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1938, allocations: 3 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1938, allocations: 9.844 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1939, allocations: 54.83 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1939, allocations: 6.406 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1939, allocations: 4.125 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1939, allocations: 0 / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.194, allocations: 21.81 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.1942, allocations: 253.9 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1943, allocations: 58.98 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.1944, allocations: 26.55 kB / 446.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1944, allocations: 0 / 446.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.1945, allocations: 79.16 kB / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.1945, allocations: 0 / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003853/0.1949, allocations: 182.6 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.1949, allocations: 51.41 kB / 446.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.195, allocations: 214.4 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.195, allocations: 32.17 kB / 447.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.1951, allocations: 104 kB / 447.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1951, allocations: 25.48 kB / 447.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1951, allocations: 28.27 kB / 447.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.1951, allocations: 322.9 kB / 447.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.1952, allocations: 21.7 kB / 447.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.1952, allocations: 35.02 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.1953, allocations: 74.27 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1953, allocations: 3.594 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001091/0.1954, allocations: 106.1 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1954, allocations: 9.75 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1954, allocations: 0 / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1954, allocations: 0 / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.1955, allocations: 14.62 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1955, allocations: 3.188 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.1955, allocations: 2.969 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1955, allocations: 3.031 kB / 447.8 MB, free: 41.21 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 5.535e-05/0.1956, allocations: 133.4 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.1956, allocations: 13 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.1957, allocations: 125.3 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1957, allocations: 2.938 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1957, allocations: 2.562 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1957, allocations: 0 / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.196, allocations: 385.5 kB / 448.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.196, allocations: 0 / 448.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.196, allocations: 9.188 kB / 448.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.196, allocations: 4.031 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.196, allocations: 6.875 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.196, allocations: 0 / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.196, allocations: 2.906 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1961, allocations: 218.5 kB / 448.7 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.1961, allocations: 10.33 kB / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1962, allocations: 6.938 kB / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.1962, allocations: 0 / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.1962, allocations: 13.75 kB / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1962, allocations: 5.875 kB / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.391e-05/0.1963, allocations: 162 kB / 448.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1963, allocations: 0 / 448.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000174/0.1965, allocations: 31.17 kB / 448.9 MB, free: 40.41 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.00093/0.1974, allocations: 1.128 MB / 450.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1975, allocations: 59.66 kB / 450.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1975, allocations: 0 / 450.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.1976, allocations: 32.27 kB / 450.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1978, allocations: 28.5 kB / 450.2 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.1988, allocations: 1.705 MB / 451.9 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.1988, allocations: 101.1 kB / 452 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.1989, allocations: 15.19 kB / 452 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1989, allocations: 43.66 kB / 452 MB, free: 38.1 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1989, allocations: 0 / 452 MB, free: 38.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.2162, allocations: 4.337 MB / 456.4 MB, free: 36.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.357, allocations: 6.094 kB / 456.4 MB, free: 36.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.457675494253635]