Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001597/0.001597, allocations: 112.5 kB / 18.45 MB, free: 4.562 MB / 14.72 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.002022/0.002022, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2325/0.2325, allocations: 46.91 MB / 357.8 MB, free: 10.29 MB / 286.1 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: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 0.4921 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1346, allocations: 65.99 MB / 0.5565 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01219/0.1468, allocations: 8.455 MB / 0.5648 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.16, allocations: 11.22 MB / 0.5757 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.16, allocations: 0 / 0.5757 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1602, allocations: 39.78 kB / 0.5758 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.1651, allocations: 1.85 MB / 0.5776 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.082e-06/0.1651, allocations: 4 kB / 0.5776 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1652, allocations: 51.61 kB / 0.5776 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.1652, allocations: 0 / 0.5776 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1654, allocations: 35.84 kB / 0.5777 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.347e-05/0.1654, allocations: 11.94 kB / 0.5777 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.1654, allocations: 0 / 0.5777 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009929/0.1753, allocations: 6.725 MB / 0.5842 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.1754, allocations: 4 kB / 0.5842 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.1754, allocations: 23.81 kB / 0.5843 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.187, allocations: 5.092 MB / 0.5892 GB, free: 3.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.187, allocations: 4 kB / 0.5892 GB, free: 3.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.187, allocations: 0 / 0.5892 GB, free: 3.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.187, allocations: 0 / 0.5892 GB, free: 3.68 MB / 446.1 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.002895/0.1899, allocations: 0.5789 MB / 0.5898 GB, free: 3.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1899, allocations: 8.031 kB / 0.5898 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1901, allocations: 11.98 kB / 0.5898 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1902, allocations: 171 kB / 0.59 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1902, allocations: 8 kB / 0.59 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1902, allocations: 0 / 0.59 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1904, allocations: 77.67 kB / 0.5901 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1904, allocations: 3.938 kB / 0.5901 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1904, allocations: 0 / 0.5901 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1904, allocations: 4 kB / 0.5901 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1906, allocations: 71.91 kB / 0.5901 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.191, allocations: 328.7 kB / 0.5905 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.1911, allocations: 38.56 kB / 0.5905 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.1912, allocations: 24.92 kB / 0.5905 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003446/0.1946, allocations: 1.85 MB / 0.5923 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1946, allocations: 34.56 kB / 0.5924 GB, free: 60 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1946, allocations: 0 / 0.5924 GB, free: 60 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.2599/0.4545, allocations: 108.4 kB / 0.5925 GB, free: 33.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4546, allocations: 51.41 kB / 0.5925 GB, free: 33.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4547, allocations: 98.44 kB / 0.5926 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4547, allocations: 27.83 kB / 0.5926 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.4548, allocations: 90.22 kB / 0.5927 GB, free: 33.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4548, allocations: 29.58 kB / 0.5927 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.4548, allocations: 22.72 kB / 0.5928 GB, free: 33.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.4549, allocations: 319.5 kB / 0.5931 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.455, allocations: 21.48 kB / 0.5931 GB, free: 33.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.455, allocations: 37.61 kB / 0.5931 GB, free: 33.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.4551, allocations: 69.61 kB / 0.5932 GB, free: 33.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4551, allocations: 0 / 0.5932 GB, free: 33.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002589/0.4554, allocations: 95.28 kB / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4554, allocations: 3.969 kB / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4554, allocations: 5.453 kB / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4555, allocations: 0.9062 kB / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4556, allocations: 14.83 kB / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4556, allocations: 0 / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.4556, allocations: 5.547 kB / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.4556, allocations: 2.859 kB / 0.5933 GB, free: 33.04 MB / 446.1 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 6.466e-05/0.4557, allocations: 114.3 kB / 0.5934 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.4557, allocations: 11.45 kB / 0.5934 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.456, allocations: 151.8 kB / 0.5936 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/0.4562, allocations: 117.5 kB / 0.5937 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.4562, allocations: 1.312 kB / 0.5937 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4562, allocations: 0.5 kB / 0.5937 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.4566, allocations: 442.2 kB / 0.5941 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4566, allocations: 0.7031 kB / 0.5941 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.4566, allocations: 16.11 kB / 0.5941 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4566, allocations: 288 / 0.5941 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4567, allocations: 5.188 kB / 0.5941 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4567, allocations: 3.688 kB / 0.5941 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4567, allocations: 8.562 kB / 0.5942 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.4569, allocations: 224.1 kB / 0.5944 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.4569, allocations: 88.03 kB / 0.5945 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.4569, allocations: 0 / 0.5945 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.457, allocations: 3.344 kB / 0.5945 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.457, allocations: 5.891 kB / 0.5945 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.457, allocations: 9.594 kB / 0.5945 GB, free: 32.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.62e-05/0.457, allocations: 79.55 kB / 0.5945 GB, free: 32.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.457, allocations: 0 / 0.5945 GB, free: 32.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002606/0.4596, allocations: 364.8 kB / 0.5949 GB, free: 32.22 MB / 446.1 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.01354/0.4732, allocations: 4.081 MB / 0.5989 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.4735, allocations: 111.1 kB / 0.599 GB, free: 30.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4735, allocations: 2.875 kB / 0.599 GB, free: 30.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.4736, allocations: 43.75 kB / 0.599 GB, free: 30.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.474, allocations: 41.98 kB / 0.5991 GB, free: 30.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.4745, allocations: 246.2 kB / 0.5993 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.4746, allocations: 0.697 MB / 0.6 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.4746, allocations: 19.62 kB / 0.6 GB, free: 29.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4746, allocations: 0 / 0.6 GB, free: 29.36 MB / 446.1 MB Notification: Performance of Templates: time 0.02896/0.5036, allocations: 19.49 MB / 0.619 GB, free: 23.57 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.381973151990678]