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.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.001709/0.001709, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.002088/0.002088, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.475/1.475, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.2281/0.2281, allocations: 46.88 MB / 358.1 MB, free: 10.55 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,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") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,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") [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.002283/0.002283, allocations: 83.86 kB / 0.4923 GB, free: 8.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1429, allocations: 65.98 MB / 0.5568 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0127/0.1556, allocations: 8.456 MB / 0.565 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.1694, allocations: 11.18 MB / 0.5759 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.1694, allocations: 0 / 0.5759 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1697, allocations: 39.8 kB / 0.576 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006477/0.1761, allocations: 1.828 MB / 0.5778 GB, free: 388 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.275e-05/0.1762, allocations: 4 kB / 0.5778 GB, free: 384 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1763, allocations: 43.69 kB / 0.5778 GB, free: 340 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/0.1764, allocations: 3.984 kB / 0.5778 GB, free: 336 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1765, allocations: 39.84 kB / 0.5779 GB, free: 296 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.1766, allocations: 15.88 kB / 0.5779 GB, free: 280 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.1766, allocations: 0 / 0.5779 GB, free: 280 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.1886, allocations: 6.686 MB / 0.5844 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.1886, allocations: 0 / 0.5844 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.1887, allocations: 31.86 kB / 0.5844 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.2028, allocations: 4.639 MB / 0.589 GB, free: 4.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2028, allocations: 0 / 0.589 GB, free: 4.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2028, allocations: 0 / 0.589 GB, free: 4.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2028, allocations: 0 / 0.589 GB, free: 4.898 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.003048/0.2058, allocations: 0.575 MB / 0.5895 GB, free: 4.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2059, allocations: 8.031 kB / 0.5895 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.206, allocations: 11.98 kB / 0.5895 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.2061, allocations: 178.9 kB / 0.5897 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2062, allocations: 4 kB / 0.5897 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2062, allocations: 4 kB / 0.5897 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2063, allocations: 85.55 kB / 0.5898 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2063, allocations: 3.938 kB / 0.5898 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.2064, allocations: 0 / 0.5898 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.2064, allocations: 3.938 kB / 0.5898 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.2065, allocations: 75.95 kB / 0.5899 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.207, allocations: 308.8 kB / 0.5902 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.2071, allocations: 42.56 kB / 0.5902 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.2071, allocations: 28.95 kB / 0.5902 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003536/0.2106, allocations: 1.854 MB / 0.5921 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2107, allocations: 30.56 kB / 0.5921 GB, free: 1.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.2107, allocations: 0 / 0.5921 GB, free: 1.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003479/0.211, allocations: 109.6 kB / 0.5922 GB, free: 1.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2111, allocations: 51.41 kB / 0.5922 GB, free: 1.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2112, allocations: 101.8 kB / 0.5923 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2112, allocations: 25.7 kB / 0.5924 GB, free: 0.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.2113, allocations: 96.03 kB / 0.5925 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.2113, allocations: 35.72 kB / 0.5925 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.2113, allocations: 21.72 kB / 0.5925 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2115, allocations: 322.8 kB / 0.5928 GB, free: 484 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.2115, allocations: 16 kB / 0.5928 GB, free: 468 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.2116, allocations: 37.7 kB / 0.5929 GB, free: 424 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.2117, allocations: 61.66 kB / 0.5929 GB, free: 356 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2117, allocations: 4.375 kB / 0.5929 GB, free: 352 kB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.2119, allocations: 105.5 kB / 0.593 GB, free: 240 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2119, allocations: 4 kB / 0.593 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2119, allocations: 0 / 0.593 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2119, allocations: 4 kB / 0.593 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.212, allocations: 8 kB / 0.593 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.212, allocations: 0 / 0.593 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.212, allocations: 192 / 0.593 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.212, allocations: 8 kB / 0.5931 GB, free: 216 kB / 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 9.417e-05/0.2121, allocations: 121.8 kB / 0.5932 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.2121, allocations: 7.938 kB / 0.5932 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2886/0.5007, allocations: 146.4 kB / 0.5933 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001554/0.5009, allocations: 113.9 kB / 0.5934 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.5009, allocations: 0.6875 kB / 0.5934 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5009, allocations: 0.6094 kB / 0.5934 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.5014, allocations: 433.7 kB / 0.5938 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5014, allocations: 3.969 kB / 0.5938 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.5014, allocations: 17.28 kB / 0.5939 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5014, allocations: 2.688 kB / 0.5939 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.5015, allocations: 9.219 kB / 0.5939 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5015, allocations: 0 / 0.5939 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5015, allocations: 0 / 0.5939 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5017, allocations: 224.7 kB / 0.5941 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.5017, allocations: 86.53 kB / 0.5942 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.5017, allocations: 0.5625 kB / 0.5942 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.5018, allocations: 3.562 kB / 0.5942 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.5018, allocations: 7.281 kB / 0.5942 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5018, allocations: 6.219 kB / 0.5942 GB, free: 33.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.382e-05/0.5018, allocations: 82.81 kB / 0.5943 GB, free: 33.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5018, allocations: 2.812 kB / 0.5943 GB, free: 33.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002082/0.5039, allocations: 356.4 kB / 0.5946 GB, free: 33.72 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.01196/0.5159, allocations: 3.721 MB / 0.5982 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.5162, allocations: 109.1 kB / 0.5983 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5162, allocations: 0 / 0.5983 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.5163, allocations: 44.83 kB / 0.5984 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.5168, allocations: 44.7 kB / 0.5984 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.5173, allocations: 244.1 kB / 0.5987 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.5174, allocations: 0.696 MB / 0.5993 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.5174, allocations: 15.09 kB / 0.5994 GB, free: 31.06 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5174, allocations: 0.9062 kB / 0.5994 GB, free: 31.06 MB / 446.1 MB Notification: Performance of Templates: time 0.03018/0.5476, allocations: 19.39 MB / 0.6183 GB, free: 25.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.455236229114234]