Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001808/0.001808, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002148/0.002148, allocations: 213.5 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 46.96 MB / 360.9 MB, free: 4.055 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+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_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.91 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01322/0.3254, allocations: 8.051 MB / 0.5689 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.3393, allocations: 9.893 MB / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.3394, allocations: 0 / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.3396, allocations: 39.81 kB / 0.5786 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006269/0.3459, allocations: 1.85 MB / 0.5805 GB, free: 276 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.187e-06/0.3459, allocations: 0 / 0.5805 GB, free: 276 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.346, allocations: 51.66 kB / 0.5805 GB, free: 224 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.346, allocations: 0 / 0.5805 GB, free: 224 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3462, allocations: 31.86 kB / 0.5805 GB, free: 192 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.3462, allocations: 19.91 kB / 0.5806 GB, free: 172 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.3463, allocations: 0 / 0.5806 GB, free: 172 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.3577, allocations: 6.588 MB / 0.587 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.3577, allocations: 3.938 kB / 0.587 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.3577, allocations: 19.91 kB / 0.587 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.3734, allocations: 5.088 MB / 0.592 GB, free: 4.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3734, allocations: 0 / 0.592 GB, free: 4.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3734, allocations: 0 / 0.592 GB, free: 4.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3734, allocations: 0 / 0.592 GB, free: 4.449 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.002801/0.3762, allocations: 0.5113 MB / 0.5925 GB, free: 3.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3762, allocations: 12.03 kB / 0.5925 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.3764, allocations: 7.984 kB / 0.5925 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3765, allocations: 121.1 kB / 0.5926 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3765, allocations: 4 kB / 0.5926 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3765, allocations: 4 kB / 0.5926 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3767, allocations: 77.61 kB / 0.5927 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3767, allocations: 3.938 kB / 0.5927 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3767, allocations: 4 kB / 0.5927 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3768, allocations: 4 kB / 0.5927 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3769, allocations: 75.97 kB / 0.5928 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.3773, allocations: 268.4 kB / 0.593 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.994e-05/0.3774, allocations: 42.5 kB / 0.5931 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.3775, allocations: 28.92 kB / 0.5931 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003039/0.3805, allocations: 0.8114 MB / 0.5939 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3806, allocations: 30.56 kB / 0.5939 GB, free: 2.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.3806, allocations: 0 / 0.5939 GB, free: 2.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003259/0.3809, allocations: 121.7 kB / 0.594 GB, free: 2.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3809, allocations: 51.41 kB / 0.5941 GB, free: 2.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.381, allocations: 93.86 kB / 0.5942 GB, free: 2.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3811, allocations: 25.7 kB / 0.5942 GB, free: 2.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.3811, allocations: 100 kB / 0.5943 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.3812, allocations: 23.75 kB / 0.5943 GB, free: 1.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.3812, allocations: 25.7 kB / 0.5943 GB, free: 1.863 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3814, allocations: 318.8 kB / 0.5946 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.3814, allocations: 19.98 kB / 0.5947 GB, free: 1.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.3815, allocations: 41.78 kB / 0.5947 GB, free: 1.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3816, allocations: 65.7 kB / 0.5948 GB, free: 1.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3816, allocations: 0 / 0.5948 GB, free: 1.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.3818, allocations: 97.95 kB / 0.5949 GB, free: 1.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3818, allocations: 8 kB / 0.5949 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3818, allocations: 0 / 0.5949 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3818, allocations: 0 / 0.5949 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.3819, allocations: 15.92 kB / 0.5949 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3819, allocations: 3.938 kB / 0.5949 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.3819, allocations: 7.938 kB / 0.5949 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3819, allocations: 0 / 0.5949 GB, free: 1.27 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 9.627e-05/0.382, allocations: 121.8 kB / 0.595 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.3821, allocations: 7.953 kB / 0.595 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.3823, allocations: 137.7 kB / 0.5952 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001673/0.3825, allocations: 121.6 kB / 0.5953 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3825, allocations: 0 / 0.5953 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3825, allocations: 4 kB / 0.5953 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.383, allocations: 377.9 kB / 0.5956 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.383, allocations: 0 / 0.5956 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.3831, allocations: 16 kB / 0.5956 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3831, allocations: 192 / 0.5956 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3831, allocations: 4 kB / 0.5957 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3831, allocations: 3.938 kB / 0.5957 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.3831, allocations: 4.125 kB / 0.5957 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3834, allocations: 235.4 kB / 0.5959 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.3834, allocations: 7.891 kB / 0.5959 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.3834, allocations: 4 kB / 0.5959 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.3835, allocations: 4 kB / 0.5959 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.3835, allocations: 11.92 kB / 0.5959 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3835, allocations: 0 / 0.5959 GB, free: 164 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.3836, allocations: 83.28 kB / 0.596 GB, free: 80 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3836, allocations: 0 / 0.596 GB, free: 80 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002113/0.3857, allocations: 366.9 kB / 0.5963 GB, free: 15.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.01518/0.4008, allocations: 4.08 MB / 0.6003 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.4012, allocations: 101.7 kB / 0.6004 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4012, allocations: 0 / 0.6004 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.4012, allocations: 47.92 kB / 0.6005 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.4017, allocations: 36.02 kB / 0.6005 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.4022, allocations: 237.5 kB / 0.6007 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.173e-05/0.4023, allocations: 83.08 kB / 0.6008 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.026e-05/0.4024, allocations: 16.2 kB / 0.6008 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.4024, allocations: 19.42 kB / 0.6008 GB, free: 11.04 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4024, allocations: 0 / 0.6008 GB, free: 11.04 MB / 446.1 MB Notification: Performance of Templates: time 0.02914/0.4315, allocations: 18.42 MB / 0.6188 GB, free: 8.617 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.919891003519297]