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.000768/0.000768, allocations: 87.62 kB / 21.44 MB, free: 3.133 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.003003/0.003003, allocations: 159.2 kB / 24.7 MB, free: 9.426 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.8554/0.8554, allocations: 177.1 MB / 205 MB, free: 5.742 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.2325/0.2325, allocations: 32.79 MB / 294.2 MB, free: 1.219 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: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_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.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 440.8 MB, free: 3.801 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.404e-05, allocations: 2.281 kB / 440.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.1764/0.1764, allocations: 8.014 MB / 448.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005162/0.1816, allocations: 9.874 MB / 458.7 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.1816, allocations: 0 / 458.7 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.1818, allocations: 35.47 kB / 458.7 MB, free: 37.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.184, allocations: 1.871 MB / 460.6 MB, free: 36.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.378e-06/0.184, allocations: 0 / 460.6 MB, free: 36.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.1841, allocations: 50.44 kB / 460.7 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.1841, allocations: 0 / 460.7 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1842, allocations: 34.39 kB / 460.7 MB, free: 36.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.64e-05/0.1843, allocations: 24.61 kB / 460.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1843, allocations: 0 / 460.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004803/0.1891, allocations: 6.597 MB / 467.3 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1891, allocations: 3.188 kB / 467.3 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1891, allocations: 14.81 kB / 467.3 MB, free: 35.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.1947, allocations: 5.324 MB / 472.7 MB, free: 34.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1947, allocations: 0 / 472.7 MB, free: 34.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1947, allocations: 0 / 472.7 MB, free: 34.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1947, allocations: 3.031 kB / 472.7 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.001301/0.196, allocations: 0.4968 MB / 473.2 MB, free: 34.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.196, allocations: 13.22 kB / 473.2 MB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.1961, allocations: 18.58 kB / 473.2 MB, free: 34.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.925e-05/0.1962, allocations: 108.4 kB / 473.3 MB, free: 34.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1962, allocations: 3.469 kB / 473.3 MB, free: 34.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.1962, allocations: 7.062 kB / 473.3 MB, free: 34.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1963, allocations: 79.02 kB / 473.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1963, allocations: 0 / 473.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1963, allocations: 0 / 473.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1963, allocations: 3.938 kB / 473.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.1964, allocations: 81.44 kB / 473.5 MB, free: 34.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.1967, allocations: 263.9 kB / 473.7 MB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.1967, allocations: 39.12 kB / 473.8 MB, free: 34.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.1968, allocations: 25.8 kB / 473.8 MB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.1981, allocations: 0.8166 MB / 474.6 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.1981, allocations: 37.56 kB / 474.6 MB, free: 33.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1981, allocations: 0 / 474.6 MB, free: 33.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002168/0.1984, allocations: 110.4 kB / 474.8 MB, free: 33.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.1984, allocations: 51.41 kB / 474.8 MB, free: 33.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.331e-05/0.1984, allocations: 92.95 kB / 474.9 MB, free: 33.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.1984, allocations: 29.7 kB / 474.9 MB, free: 33.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.1984, allocations: 90.42 kB / 475 MB, free: 33.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.1985, allocations: 26.94 kB / 475 MB, free: 33.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.1985, allocations: 23.67 kB / 475.1 MB, free: 33.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.918e-05/0.1985, allocations: 310.8 kB / 475.4 MB, free: 33.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.1985, allocations: 27.84 kB / 475.4 MB, free: 33.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.1986, allocations: 41.03 kB / 475.4 MB, free: 33.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.1986, allocations: 57.94 kB / 475.5 MB, free: 33.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1986, allocations: 0 / 475.5 MB, free: 33.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.123e-05/0.1987, allocations: 104.2 kB / 475.6 MB, free: 33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1987, allocations: 6.188 kB / 475.6 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1987, allocations: 0 / 475.6 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1988, allocations: 0 / 475.6 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.1988, allocations: 12.03 kB / 475.6 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1988, allocations: 11.48 kB / 475.6 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.1988, allocations: 3.094 kB / 475.6 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1989, allocations: 3.062 kB / 475.6 MB, free: 33 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.109e-05/0.1989, allocations: 113 kB / 475.7 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.1989, allocations: 7.875 kB / 475.7 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.1991, allocations: 160.7 kB / 475.9 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.162e-05/0.1992, allocations: 120.8 kB / 476 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1992, allocations: 0 / 476 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.1992, allocations: 1.625 kB / 476 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.1994, allocations: 370.2 kB / 476.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1994, allocations: 1.5 kB / 476.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.1995, allocations: 18.84 kB / 476.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1995, allocations: 1.406 kB / 476.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1995, allocations: 1.281 kB / 476.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1995, allocations: 1.156 kB / 476.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1995, allocations: 0 / 476.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.1996, allocations: 230.8 kB / 476.6 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.1996, allocations: 3.438 kB / 476.6 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.1996, allocations: 1.188 kB / 476.6 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.1997, allocations: 4 kB / 476.6 MB, free: 32.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.1997, allocations: 10.16 kB / 476.6 MB, free: 32.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1997, allocations: 5.562 kB / 476.7 MB, free: 32.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.787e-06/0.1997, allocations: 76.47 kB / 476.7 MB, free: 32.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1997, allocations: 1.062 kB / 476.7 MB, free: 32.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008968/0.2006, allocations: 373.2 kB / 477.1 MB, free: 32.05 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.008098/0.2087, allocations: 4.142 MB / 481.2 MB, free: 29.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.2089, allocations: 102.6 kB / 481.3 MB, free: 29.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2089, allocations: 1.375 kB / 481.3 MB, free: 29.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.2089, allocations: 43.59 kB / 481.4 MB, free: 29.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.2092, allocations: 35.23 kB / 481.4 MB, free: 29.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.2095, allocations: 220.3 kB / 481.6 MB, free: 29.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.2095, allocations: 78.12 kB / 481.7 MB, free: 29.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.2096, allocations: 16.66 kB / 481.7 MB, free: 29.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2096, allocations: 3.938 kB / 481.7 MB, free: 29.54 MB / 410.7 MB Notification: Performance of Templates: time 0.01847/0.228, allocations: 19.54 MB / 0.4895 GB, free: 23.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] 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: 5.911931545473635]