Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001107/0.001107, 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.001184/0.001184, 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.8764/0.8764, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2264/0.2264, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.854e-05, allocations: 4.391 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.169/0.169, allocations: 8.009 MB / 447.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005701/0.1747, allocations: 9.869 MB / 457.4 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.1748, allocations: 4 kB / 457.5 MB, free: 37.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1749, allocations: 31.7 kB / 457.5 MB, free: 37.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.1778, allocations: 1.865 MB / 459.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.921e-06/0.1778, allocations: 0 / 459.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.1779, allocations: 54.11 kB / 459.4 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.178, allocations: 10.42 kB / 459.4 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1781, allocations: 34.34 kB / 459.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.1781, allocations: 17.64 kB / 459.5 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1781, allocations: 0 / 459.5 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004863/0.183, allocations: 6.59 MB / 466.1 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.183, allocations: 3.938 kB / 466.1 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.183, allocations: 13.97 kB / 466.1 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006316/0.1893, allocations: 5.326 MB / 471.4 MB, free: 34.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1893, allocations: 0 / 471.4 MB, free: 34.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1893, allocations: 7 kB / 471.4 MB, free: 34.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1893, allocations: 0 / 471.4 MB, free: 34.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001922/0.1913, allocations: 0.5055 MB / 471.9 MB, free: 34.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1913, allocations: 8.781 kB / 471.9 MB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.1913, allocations: 34.56 kB / 472 MB, free: 34.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.1914, allocations: 13.69 kB / 472 MB, free: 34.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.055e-05/0.1915, allocations: 111.4 kB / 472.1 MB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1915, allocations: 0 / 472.1 MB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1915, allocations: 3.062 kB / 472.1 MB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1916, allocations: 82.59 kB / 472.2 MB, free: 34.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1916, allocations: 3.938 kB / 472.2 MB, free: 34.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.1916, allocations: 5.5 kB / 472.2 MB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1916, allocations: 7 kB / 472.2 MB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.214e-05/0.1917, allocations: 78.97 kB / 472.2 MB, free: 34.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.192, allocations: 283 kB / 472.5 MB, free: 34.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.1921, allocations: 35.67 kB / 472.6 MB, free: 34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.1921, allocations: 37.83 kB / 472.6 MB, free: 33.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.1935, allocations: 0.8017 MB / 473.4 MB, free: 33.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1935, allocations: 38.03 kB / 473.4 MB, free: 33.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1936, allocations: 112 / 473.4 MB, free: 33.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002157/0.1938, allocations: 116.8 kB / 473.6 MB, free: 33.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.1938, allocations: 51.41 kB / 473.6 MB, free: 33.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.1938, allocations: 93.47 kB / 473.7 MB, free: 33.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.1938, allocations: 28.86 kB / 473.7 MB, free: 33.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.1939, allocations: 92.22 kB / 473.8 MB, free: 33.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1939, allocations: 26.62 kB / 473.8 MB, free: 33.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1939, allocations: 24.16 kB / 473.9 MB, free: 33.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.036e-05/0.1939, allocations: 317.8 kB / 474.2 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.194, allocations: 17.81 kB / 474.2 MB, free: 33.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.194, allocations: 36.33 kB / 474.2 MB, free: 33.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.1941, allocations: 61.75 kB / 474.3 MB, free: 33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1941, allocations: 3.938 kB / 474.3 MB, free: 32.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.585e-05/0.1941, allocations: 96.84 kB / 474.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1942, allocations: 9.719 kB / 474.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1942, allocations: 0 / 474.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1942, allocations: 0 / 474.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.1942, allocations: 11.16 kB / 474.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1942, allocations: 0 / 474.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.1943, allocations: 17.47 kB / 474.4 MB, free: 32.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1943, allocations: 2.875 kB / 474.4 MB, free: 32.92 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.045e-05/0.1943, allocations: 116.9 kB / 474.5 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1943, allocations: 0 / 474.5 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.1945, allocations: 162.5 kB / 474.7 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.631e-05/0.1946, allocations: 115.7 kB / 474.8 MB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1946, allocations: 0 / 474.8 MB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1946, allocations: 0 / 474.8 MB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1948, allocations: 409.3 kB / 475.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1949, allocations: 0 / 475.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.1949, allocations: 16.88 kB / 475.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1949, allocations: 0.6562 kB / 475.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.1949, allocations: 1.25 kB / 475.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1949, allocations: 1.125 kB / 475.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1949, allocations: 3.938 kB / 475.2 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.195, allocations: 232.2 kB / 475.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.195, allocations: 2.5 kB / 475.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.1951, allocations: 1.188 kB / 475.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.1951, allocations: 5.25 kB / 475.5 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.1951, allocations: 10.09 kB / 475.5 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.1951, allocations: 6.344 kB / 475.5 MB, free: 32.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.197e-05/0.1951, allocations: 76.97 kB / 475.6 MB, free: 32.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1951, allocations: 0 / 475.6 MB, free: 32.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001693/0.1968, allocations: 365.8 kB / 475.9 MB, free: 31.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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.01001/0.2068, allocations: 4.798 MB / 480.7 MB, free: 29.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.2071, allocations: 106.5 kB / 480.8 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2071, allocations: 0 / 480.8 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.2071, allocations: 45.08 kB / 480.9 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2074, allocations: 37.72 kB / 480.9 MB, free: 29.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.209, allocations: 379.6 kB / 481.3 MB, free: 28.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.2091, allocations: 79.05 kB / 481.3 MB, free: 28.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.2091, allocations: 15.62 kB / 481.4 MB, free: 28.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.2091, allocations: 28.02 kB / 481.4 MB, free: 28.74 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2091, allocations: 0 / 481.4 MB, free: 28.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.2451, allocations: 20.87 MB / 0.4905 GB, free: 22.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.71, allocations: 4.5 kB / 0.4905 GB, free: 22.2 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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: 9.950377785600722]