Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001517/0.001517, allocations: 121.8 kB / 18.51 MB, free: 4.547 MB / 14.72 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.001611/0.001611, allocations: 211.3 kB / 21.45 MB, free: 1.602 MB / 14.72 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 1.615/1.615, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2361/0.2361, allocations: 46.92 MB / 357.7 MB, free: 10.2 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-beta.om/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: 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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 79.88 kB / 0.4921 GB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1445, allocations: 66.04 MB / 0.5566 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01258/0.1571, allocations: 8.455 MB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.1711, allocations: 11.22 MB / 0.5758 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.1712, allocations: 4 kB / 0.5758 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1714, allocations: 35.81 kB / 0.5759 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007057/0.1785, allocations: 1.847 MB / 0.5777 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.139e-05/0.1785, allocations: 0 / 0.5777 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1787, allocations: 55.61 kB / 0.5777 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.1787, allocations: 0 / 0.5777 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1789, allocations: 43.78 kB / 0.5778 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.1789, allocations: 19.92 kB / 0.5778 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.179, allocations: 0 / 0.5778 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.1906, allocations: 6.717 MB / 0.5844 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.1906, allocations: 0 / 0.5844 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.1907, allocations: 19.88 kB / 0.5844 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.2034, allocations: 5.1 MB / 0.5894 GB, free: 3.438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2034, allocations: 0 / 0.5894 GB, free: 3.438 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2034, allocations: 0 / 0.5894 GB, free: 3.438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.2034, allocations: 0 / 0.5894 GB, free: 3.438 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.003266/0.2066, allocations: 0.5828 MB / 0.5899 GB, free: 2.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2067, allocations: 8.031 kB / 0.5899 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.2068, allocations: 15.98 kB / 0.59 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.207, allocations: 167 kB / 0.5901 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.207, allocations: 4 kB / 0.5901 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.207, allocations: 0 / 0.5901 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2071, allocations: 77.67 kB / 0.5902 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2072, allocations: 3.938 kB / 0.5902 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2072, allocations: 3.984 kB / 0.5902 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2072, allocations: 8 kB / 0.5902 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.2073, allocations: 71.95 kB / 0.5903 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.2078, allocations: 328.7 kB / 0.5906 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.795e-05/0.2079, allocations: 38.58 kB / 0.5906 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.2079, allocations: 24.91 kB / 0.5906 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2755/0.4835, allocations: 1.844 MB / 0.5924 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.4835, allocations: 32.5 kB / 0.5925 GB, free: 33.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.4835, allocations: 0 / 0.5925 GB, free: 33.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003058/0.4838, allocations: 112.1 kB / 0.5926 GB, free: 33.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.4838, allocations: 51.41 kB / 0.5926 GB, free: 32.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.4839, allocations: 100.7 kB / 0.5927 GB, free: 32.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.4839, allocations: 31.11 kB / 0.5928 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.4839, allocations: 87.98 kB / 0.5928 GB, free: 32.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.4839, allocations: 32.84 kB / 0.5929 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.484, allocations: 20.91 kB / 0.5929 GB, free: 32.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.484, allocations: 316.1 kB / 0.5932 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.484, allocations: 26.16 kB / 0.5932 GB, free: 32.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/0.4841, allocations: 36.25 kB / 0.5933 GB, free: 32.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.4842, allocations: 66.8 kB / 0.5933 GB, free: 32.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4842, allocations: 4.25 kB / 0.5933 GB, free: 32.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001388/0.4843, allocations: 91.36 kB / 0.5934 GB, free: 32.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4843, allocations: 10.59 kB / 0.5934 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4843, allocations: 0 / 0.5934 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4844, allocations: 0 / 0.5934 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.4844, allocations: 10.62 kB / 0.5934 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4844, allocations: 1.656 kB / 0.5934 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.4845, allocations: 9.891 kB / 0.5934 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.4845, allocations: 2.438 kB / 0.5934 GB, free: 32.35 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 5.078e-05/0.4845, allocations: 121 kB / 0.5936 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.4846, allocations: 6.797 kB / 0.5936 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.4848, allocations: 145.9 kB / 0.5937 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/0.4849, allocations: 116.1 kB / 0.5938 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4849, allocations: 1.031 kB / 0.5938 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4849, allocations: 0 / 0.5938 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.4853, allocations: 444.3 kB / 0.5942 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4853, allocations: 0 / 0.5942 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.4854, allocations: 25.53 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4854, allocations: 0 / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4854, allocations: 0.5156 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4854, allocations: 5.25 kB / 0.5943 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4854, allocations: 1.812 kB / 0.5943 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.4855, allocations: 217.4 kB / 0.5945 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.4856, allocations: 85.73 kB / 0.5946 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.4856, allocations: 3.594 kB / 0.5946 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.4856, allocations: 4.547 kB / 0.5946 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.4857, allocations: 13.16 kB / 0.5946 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.4857, allocations: 3.219 kB / 0.5946 GB, free: 31.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.838e-05/0.4857, allocations: 83.89 kB / 0.5947 GB, free: 31.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4857, allocations: 0 / 0.5947 GB, free: 31.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00227/0.4879, allocations: 365.1 kB / 0.595 GB, free: 31.54 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.01269/0.5006, allocations: 4.08 MB / 0.599 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.5009, allocations: 115.5 kB / 0.5991 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5009, allocations: 1.719 kB / 0.5991 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.501, allocations: 43.58 kB / 0.5992 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.5014, allocations: 41.97 kB / 0.5992 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.5018, allocations: 221.5 kB / 0.5994 GB, free: 29.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.502, allocations: 0.6934 MB / 0.6001 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.502, allocations: 19.5 kB / 0.6001 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.502, allocations: 17.38 kB / 0.6001 GB, free: 28.69 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.502, allocations: 0 / 0.6001 GB, free: 28.69 MB / 446.1 MB Notification: Performance of Templates: time 0.02534/0.5274, allocations: 18.23 MB / 0.6179 GB, free: 24.15 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.018626693636179]