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.001771/0.001771, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002017/0.002017, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.619/1.619, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.26/0.26, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.00204/0.00204, allocations: 63.91 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3129, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01337/0.3263, allocations: 8.062 MB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.3395, allocations: 9.897 MB / 0.5786 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.3395, allocations: 0 / 0.5786 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3397, allocations: 31.83 kB / 0.5786 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.3451, allocations: 1.862 MB / 0.5805 GB, free: 256 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.534e-06/0.3451, allocations: 0 / 0.5805 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3453, allocations: 47.69 kB / 0.5805 GB, free: 208 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.3453, allocations: 7.984 kB / 0.5805 GB, free: 200 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3454, allocations: 27.84 kB / 0.5805 GB, free: 172 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.3455, allocations: 23.88 kB / 0.5806 GB, free: 148 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.3455, allocations: 0 / 0.5806 GB, free: 148 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.3561, allocations: 6.69 MB / 0.5871 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.3561, allocations: 0 / 0.5871 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.3562, allocations: 19.94 kB / 0.5871 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.3687, allocations: 5.096 MB / 0.5921 GB, free: 4.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3687, allocations: 4 kB / 0.5921 GB, free: 4.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.3687, allocations: 4 kB / 0.5921 GB, free: 4.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3687, allocations: 0 / 0.5921 GB, free: 4.312 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.002941/0.3716, allocations: 0.5036 MB / 0.5926 GB, free: 3.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3717, allocations: 8.031 kB / 0.5926 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.3718, allocations: 7.984 kB / 0.5926 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3719, allocations: 113.1 kB / 0.5927 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3719, allocations: 0 / 0.5927 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.3719, allocations: 8 kB / 0.5927 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3721, allocations: 77.67 kB / 0.5928 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3721, allocations: 7.938 kB / 0.5928 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3721, allocations: 4 kB / 0.5928 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3721, allocations: 0 / 0.5928 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3722, allocations: 79.95 kB / 0.5929 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.3727, allocations: 268.3 kB / 0.5931 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.3728, allocations: 38.5 kB / 0.5932 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.3728, allocations: 28.86 kB / 0.5932 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003163/0.376, allocations: 0.8076 MB / 0.594 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.376, allocations: 34.55 kB / 0.594 GB, free: 2.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.376, allocations: 0 / 0.594 GB, free: 2.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003779/0.3764, allocations: 109.7 kB / 0.5941 GB, free: 2.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3765, allocations: 55.41 kB / 0.5942 GB, free: 2.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.3766, allocations: 101.8 kB / 0.5943 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3766, allocations: 25.7 kB / 0.5943 GB, free: 1.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.3766, allocations: 92.03 kB / 0.5944 GB, free: 1.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3767, allocations: 27.75 kB / 0.5944 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.3767, allocations: 25.7 kB / 0.5944 GB, free: 1.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3769, allocations: 318.9 kB / 0.5947 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.3769, allocations: 31.86 kB / 0.5948 GB, free: 1.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.377, allocations: 37.7 kB / 0.5948 GB, free: 1.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.3771, allocations: 57.72 kB / 0.5949 GB, free: 1.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3771, allocations: 128 / 0.5949 GB, free: 1.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.3773, allocations: 102 kB / 0.595 GB, free: 1.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3773, allocations: 4.031 kB / 0.595 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3773, allocations: 7.938 kB / 0.595 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3773, allocations: 4.172 kB / 0.595 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.3774, allocations: 11.94 kB / 0.595 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.3774, allocations: 4 kB / 0.595 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.3774, allocations: 0 / 0.595 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3774, allocations: 4 kB / 0.595 GB, free: 1.152 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.333e-05/0.3775, allocations: 113.8 kB / 0.5951 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.3776, allocations: 11.94 kB / 0.5951 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.3778, allocations: 141.7 kB / 0.5953 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001675/0.378, allocations: 125.6 kB / 0.5954 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.378, allocations: 3.984 kB / 0.5954 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.378, allocations: 0 / 0.5954 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.3785, allocations: 369.9 kB / 0.5957 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3785, allocations: 0 / 0.5957 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.724e-05/0.3786, allocations: 23.92 kB / 0.5958 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3786, allocations: 4 kB / 0.5958 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3786, allocations: 192 / 0.5958 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3786, allocations: 0 / 0.5958 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3786, allocations: 7.875 kB / 0.5958 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.3789, allocations: 231 kB / 0.596 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.3789, allocations: 11.89 kB / 0.596 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.379, allocations: 0 / 0.596 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.379, allocations: 4 kB / 0.596 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.379, allocations: 15.86 kB / 0.596 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.379, allocations: 7.938 kB / 0.596 GB, free: 36 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.3791, allocations: 79.27 kB / 0.5961 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3791, allocations: 0 / 0.5961 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002477/0.3816, allocations: 363 kB / 0.5964 GB, free: 15.6 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.01568/0.3973, allocations: 4.095 MB / 0.6004 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.3976, allocations: 105.6 kB / 0.6005 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3976, allocations: 0 / 0.6005 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.3977, allocations: 39.98 kB / 0.6006 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.3981, allocations: 48 kB / 0.6006 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.3986, allocations: 217.6 kB / 0.6008 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.619e-05/0.3987, allocations: 83.08 kB / 0.6009 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.3988, allocations: 16.2 kB / 0.6009 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.3988, allocations: 19.44 kB / 0.6009 GB, free: 10.92 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3988, allocations: 0 / 0.6009 GB, free: 10.92 MB / 446.1 MB Notification: Performance of Templates: time 0.02874/0.4275, allocations: 18.47 MB / 0.619 GB, free: 8.441 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.820193503983319]