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.001839/0.001839, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.002618/0.002618, allocations: 211.3 kB / 23.72 MB, free: 4.531 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.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2338/0.2338, allocations: 46.94 MB / 360.8 MB, free: 3.953 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.002461/0.002461, allocations: 76.16 kB / 0.4966 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3081, allocations: 66.09 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01296/0.321, allocations: 8.055 MB / 0.569 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.3343, allocations: 9.889 MB / 0.5787 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.3344, allocations: 0 / 0.5787 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3346, allocations: 39.81 kB / 0.5787 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.3394, allocations: 1.857 MB / 0.5805 GB, free: 72 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.132e-06/0.3394, allocations: 0 / 0.5805 GB, free: 72 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3395, allocations: 47.67 kB / 0.5806 GB, free: 24 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.3395, allocations: 4 kB / 0.5806 GB, free: 20 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3397, allocations: 35.95 kB / 0.5806 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.3397, allocations: 23.75 kB / 0.5806 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.3397, allocations: 0 / 0.5806 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.35, allocations: 6.686 MB / 0.5872 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.35, allocations: 4 kB / 0.5872 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.35, allocations: 19.92 kB / 0.5872 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.3625, allocations: 5.096 MB / 0.5922 GB, free: 4.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3625, allocations: 0 / 0.5922 GB, free: 4.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3625, allocations: 0 / 0.5922 GB, free: 4.137 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3625, allocations: 0 / 0.5922 GB, free: 4.137 MB / 430.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.002544/0.3651, allocations: 0.5075 MB / 0.5927 GB, free: 3.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3651, allocations: 12.03 kB / 0.5927 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3652, allocations: 8 kB / 0.5927 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3654, allocations: 109.1 kB / 0.5928 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3654, allocations: 8 kB / 0.5928 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3654, allocations: 3.984 kB / 0.5928 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3656, allocations: 73.69 kB / 0.5929 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3656, allocations: 3.938 kB / 0.5929 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3656, allocations: 7.984 kB / 0.5929 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3656, allocations: 0 / 0.5929 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3657, allocations: 79.91 kB / 0.593 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.3663, allocations: 276.3 kB / 0.5932 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.3663, allocations: 42.5 kB / 0.5933 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.3664, allocations: 20.92 kB / 0.5933 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003265/0.3697, allocations: 0.8076 MB / 0.5941 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3697, allocations: 30.56 kB / 0.5941 GB, free: 2.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3697, allocations: 4 kB / 0.5941 GB, free: 2.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003115/0.37, allocations: 113.7 kB / 0.5942 GB, free: 1.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.37, allocations: 55.41 kB / 0.5943 GB, free: 1.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.3701, allocations: 93.86 kB / 0.5944 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3702, allocations: 25.7 kB / 0.5944 GB, free: 1.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.3702, allocations: 96.02 kB / 0.5945 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3702, allocations: 23.75 kB / 0.5945 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.3703, allocations: 29.7 kB / 0.5945 GB, free: 1.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3704, allocations: 314.9 kB / 0.5948 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.3705, allocations: 31.92 kB / 0.5949 GB, free: 1.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.3705, allocations: 41.72 kB / 0.5949 GB, free: 1.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3706, allocations: 61.7 kB / 0.595 GB, free: 1.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3706, allocations: 0 / 0.595 GB, free: 1.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.3708, allocations: 101.9 kB / 0.595 GB, free: 1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3709, allocations: 6.031 kB / 0.5951 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3709, allocations: 0 / 0.5951 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3709, allocations: 4 kB / 0.5951 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.3709, allocations: 8 kB / 0.5951 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3709, allocations: 11.95 kB / 0.5951 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.371, allocations: 192 / 0.5951 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.371, allocations: 4 kB / 0.5951 GB, free: 0.9688 MB / 430.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 0.0001029/0.3711, allocations: 121.7 kB / 0.5952 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.3711, allocations: 7.938 kB / 0.5952 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.3714, allocations: 141.7 kB / 0.5953 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001574/0.3716, allocations: 121.6 kB / 0.5955 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3716, allocations: 0 / 0.5955 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3716, allocations: 0 / 0.5955 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3721, allocations: 381.9 kB / 0.5958 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3721, allocations: 4.188 kB / 0.5958 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.3721, allocations: 12 kB / 0.5958 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3721, allocations: 3.938 kB / 0.5958 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.3721, allocations: 0 / 0.5958 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3721, allocations: 3.938 kB / 0.5958 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3721, allocations: 7.938 kB / 0.5959 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3724, allocations: 223.5 kB / 0.5961 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3724, allocations: 11.89 kB / 0.5961 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3724, allocations: 0 / 0.5961 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.3725, allocations: 4 kB / 0.5961 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.3725, allocations: 19.86 kB / 0.5961 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.3725, allocations: 4 kB / 0.5961 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.3726, allocations: 79.28 kB / 0.5962 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3726, allocations: 0 / 0.5962 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002464/0.3751, allocations: 362.9 kB / 0.5965 GB, free: 15.41 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.01466/0.3897, allocations: 4.092 MB / 0.6005 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.3901, allocations: 107.9 kB / 0.6006 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.3901, allocations: 0 / 0.6006 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.3902, allocations: 51.92 kB / 0.6007 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.3907, allocations: 35.95 kB / 0.6007 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.3911, allocations: 221.6 kB / 0.6009 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.95e-05/0.3912, allocations: 83.08 kB / 0.601 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.3913, allocations: 12.22 kB / 0.601 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3913, allocations: 15.44 kB / 0.601 GB, free: 10.74 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3913, allocations: 0 / 0.601 GB, free: 10.74 MB / 446.1 MB Notification: Performance of Templates: time 0.02835/0.4196, allocations: 18.45 MB / 0.619 GB, free: 8.27 MB / 462.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.706508899107575]