Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.0008417/0.0008417, allocations: 88.27 kB / 20.77 MB, free: 3.754 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.0008499/0.0008499, allocations: 164.8 kB / 24.06 MB, free: 472 kB / 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.8885/0.8885, allocations: 177 MB / 204.2 MB, free: 5.695 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.2739/0.2739, allocations: 34.24 MB / 295 MB, free: 0.6836 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 442.5 MB, free: 1.379 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.334e-05, allocations: 5.094 kB / 442.5 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.1883/0.1883, allocations: 1.714 MB / 444.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1899, allocations: 1.674 MB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1899, allocations: 3.938 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.1902, allocations: 37.48 kB / 445.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1905, allocations: 109.6 kB / 446 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.1906, allocations: 76.14 kB / 446.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1908, allocations: 114.6 kB / 446.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.1908, allocations: 9.312 kB / 446.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.1909, allocations: 61.72 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.191, allocations: 42.31 kB / 446.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.191, allocations: 7.594 kB / 446.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1912, allocations: 105.4 kB / 446.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.1912, allocations: 28.08 kB / 446.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1912, allocations: 27.41 kB / 446.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1914, allocations: 174.4 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1914, allocations: 2.938 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1915, allocations: 0 / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1915, allocations: 5.688 kB / 446.6 MB, free: 42.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004155/0.1919, allocations: 370.7 kB / 447 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1919, allocations: 9.188 kB / 447 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.964e-05/0.1919, allocations: 33.78 kB / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.192, allocations: 8.922 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1922, allocations: 153.2 kB / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.1922, allocations: 0.875 kB / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1922, allocations: 7.844 kB / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1923, allocations: 103.5 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.1923, allocations: 192 / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1923, allocations: 8.125 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1923, allocations: 3.062 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.1924, allocations: 36.05 kB / 447.4 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.1926, allocations: 272.7 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1928, allocations: 72.2 kB / 447.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.1928, allocations: 31.09 kB / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1928, allocations: 0 / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.582e-05/0.1929, allocations: 81.62 kB / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1929, allocations: 0 / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003894/0.1933, allocations: 207.2 kB / 448 MB, free: 41.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.1933, allocations: 82.61 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1934, allocations: 175.8 kB / 448.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.1934, allocations: 29.7 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.1935, allocations: 102.1 kB / 448.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1935, allocations: 36.84 kB / 448.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1935, allocations: 20.16 kB / 448.4 MB, free: 41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.748e-05/0.1936, allocations: 324.1 kB / 448.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.1936, allocations: 33.58 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.1936, allocations: 75.06 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.1937, allocations: 81.25 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1937, allocations: 2.594 kB / 449 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001077/0.1938, allocations: 120.4 kB / 449.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1938, allocations: 5.781 kB / 449.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1938, allocations: 0 / 449.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1938, allocations: 2.781 kB / 449.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.1939, allocations: 21.39 kB / 449.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1939, allocations: 0 / 449.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.1939, allocations: 14.12 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1939, allocations: 2.75 kB / 449.1 MB, free: 40.48 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 (11): * Single equations (assignments): 11 * 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.189e-05/0.194, allocations: 121.8 kB / 449.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.194, allocations: 9.234 kB / 449.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.1942, allocations: 148.1 kB / 449.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1942, allocations: 5.656 kB / 449.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1942, allocations: 0 / 449.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1942, allocations: 3.234 kB / 449.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1944, allocations: 400 kB / 449.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1944, allocations: 7 kB / 449.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.1945, allocations: 11.72 kB / 449.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1945, allocations: 2.25 kB / 449.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1945, allocations: 2.938 kB / 449.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1945, allocations: 3.141 kB / 449.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1945, allocations: 2.625 kB / 449.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.1946, allocations: 232.3 kB / 450 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.1946, allocations: 24.7 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1946, allocations: 0 / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.1946, allocations: 6.812 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1947, allocations: 16.81 kB / 450.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1947, allocations: 6.172 kB / 450.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.1947, allocations: 142.9 kB / 450.2 MB, free: 39.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1947, allocations: 0 / 450.2 MB, free: 39.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.1949, allocations: 46.75 kB / 450.3 MB, free: 39.64 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 (11): * Single equations (assignments): 9 * 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.000959/0.1959, allocations: 1.257 MB / 451.5 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.196, allocations: 72.31 kB / 451.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.196, allocations: 0 / 451.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.1961, allocations: 37.56 kB / 451.6 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1963, allocations: 31.88 kB / 451.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.1972, allocations: 1.689 MB / 453.4 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.727e-05/0.1973, allocations: 99.34 kB / 453.5 MB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.1973, allocations: 25.03 kB / 453.5 MB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1974, allocations: 43.39 kB / 453.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1974, allocations: 3.938 kB / 453.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.217, allocations: 5.09 MB / 458.6 MB, free: 35.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.882, allocations: 6.891 kB / 458.6 MB, free: 35.7 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.0235086530447]