Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001766/0.001766, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002148/0.002148, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.585/1.585, allocations: 230.4 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 83.88 kB / 0.4914 GB, free: 7.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1296, allocations: 66.05 MB / 0.5559 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01263/0.1422, allocations: 8.452 MB / 0.5642 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.1557, allocations: 11.21 MB / 0.5751 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.1557, allocations: 0 / 0.5751 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1559, allocations: 43.8 kB / 0.5752 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.1611, allocations: 1.848 MB / 0.577 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.344e-06/0.1611, allocations: 0 / 0.577 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1612, allocations: 51.61 kB / 0.577 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.1613, allocations: 4 kB / 0.577 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1614, allocations: 39.84 kB / 0.5771 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.1615, allocations: 15.88 kB / 0.5771 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.1615, allocations: 3.938 kB / 0.5771 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.1722, allocations: 6.721 MB / 0.5837 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.1722, allocations: 4 kB / 0.5837 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.1723, allocations: 19.88 kB / 0.5837 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.1844, allocations: 5.096 MB / 0.5887 GB, free: 3.441 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1844, allocations: 0 / 0.5887 GB, free: 3.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1844, allocations: 0 / 0.5887 GB, free: 3.441 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1845, allocations: 0 / 0.5887 GB, free: 3.441 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.002966/0.1874, allocations: 0.5828 MB / 0.5892 GB, free: 2.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1875, allocations: 8.031 kB / 0.5892 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.1876, allocations: 15.98 kB / 0.5893 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1877, allocations: 163 kB / 0.5894 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1877, allocations: 4 kB / 0.5894 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1878, allocations: 4 kB / 0.5894 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1879, allocations: 81.61 kB / 0.5895 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1879, allocations: 3.938 kB / 0.5895 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.188, allocations: 0 / 0.5895 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.188, allocations: 3.938 kB / 0.5895 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1881, allocations: 79.94 kB / 0.5896 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.1886, allocations: 320.8 kB / 0.5899 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/0.1887, allocations: 42.5 kB / 0.5899 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.1887, allocations: 24.92 kB / 0.59 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2583/0.447, allocations: 1.847 MB / 0.5918 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4471, allocations: 34.56 kB / 0.5918 GB, free: 33.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.983e-06/0.4471, allocations: 0.6875 kB / 0.5918 GB, free: 33.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003058/0.4474, allocations: 103.9 kB / 0.5919 GB, free: 33.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.4474, allocations: 56.28 kB / 0.5919 GB, free: 32.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.4474, allocations: 102.5 kB / 0.592 GB, free: 32.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.4474, allocations: 27.39 kB / 0.5921 GB, free: 32.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.4475, allocations: 88.95 kB / 0.5922 GB, free: 32.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.4475, allocations: 29.83 kB / 0.5922 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.4475, allocations: 24.88 kB / 0.5922 GB, free: 32.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.4476, allocations: 317.8 kB / 0.5925 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.4476, allocations: 21.48 kB / 0.5925 GB, free: 32.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.4477, allocations: 40.58 kB / 0.5926 GB, free: 32.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.4477, allocations: 62.02 kB / 0.5926 GB, free: 32.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4477, allocations: 4.625 kB / 0.5926 GB, free: 32.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001439/0.4479, allocations: 94.14 kB / 0.5927 GB, free: 32.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4479, allocations: 5.562 kB / 0.5927 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4479, allocations: 2.719 kB / 0.5927 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4479, allocations: 4.156 kB / 0.5927 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.448, allocations: 10.59 kB / 0.5927 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.448, allocations: 0.6562 kB / 0.5927 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.448, allocations: 10.31 kB / 0.5928 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.448, allocations: 6.688 kB / 0.5928 GB, free: 32.37 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 4.848e-05/0.4481, allocations: 116.6 kB / 0.5929 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.4481, allocations: 5.094 kB / 0.5929 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.4483, allocations: 145.2 kB / 0.593 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001186/0.4484, allocations: 119.4 kB / 0.5931 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4485, allocations: 0 / 0.5931 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4485, allocations: 2.969 kB / 0.5931 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.4488, allocations: 441.2 kB / 0.5935 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4488, allocations: 1.688 kB / 0.5936 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.4489, allocations: 15.5 kB / 0.5936 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4489, allocations: 3.562 kB / 0.5936 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.4489, allocations: 3.125 kB / 0.5936 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4489, allocations: 4.812 kB / 0.5936 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4489, allocations: 3.5 kB / 0.5936 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.4491, allocations: 213.5 kB / 0.5938 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.4491, allocations: 87.98 kB / 0.5939 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.4491, allocations: 3.453 kB / 0.5939 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.4492, allocations: 3.938 kB / 0.5939 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.4492, allocations: 11.42 kB / 0.5939 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4492, allocations: 2.281 kB / 0.5939 GB, free: 31.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.27e-05/0.4492, allocations: 83.45 kB / 0.594 GB, free: 31.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4492, allocations: 0.6562 kB / 0.594 GB, free: 31.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002162/0.4514, allocations: 361.5 kB / 0.5943 GB, free: 31.56 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.0131/0.4645, allocations: 4.091 MB / 0.5983 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.4648, allocations: 114.6 kB / 0.5984 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4648, allocations: 0.9062 kB / 0.5984 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.4648, allocations: 46.97 kB / 0.5985 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.4653, allocations: 33.14 kB / 0.5985 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.4657, allocations: 223.1 kB / 0.5987 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.4658, allocations: 0.6933 MB / 0.5994 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.4659, allocations: 19.41 kB / 0.5994 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.4659, allocations: 18.58 kB / 0.5994 GB, free: 28.71 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4659, allocations: 0 / 0.5994 GB, free: 28.71 MB / 446.1 MB Notification: Performance of Templates: time 0.02559/0.4915, allocations: 18.23 MB / 0.6172 GB, free: 24.22 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 6.914900045841932]