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.001603/0.001603, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001827/0.001827, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2241/0.2241, allocations: 46.92 MB / 361.6 MB, free: 4.254 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.002083/0.002083, allocations: 63.91 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2907, allocations: 66.03 MB / 0.5619 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01225/0.303, allocations: 8.491 MB / 0.5702 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.316, allocations: 11.27 MB / 0.5812 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.3161, allocations: 4 kB / 0.5812 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3163, allocations: 43.8 kB / 0.5812 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004712/0.321, allocations: 1.862 MB / 0.583 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.642e-06/0.321, allocations: 0 / 0.583 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3211, allocations: 51.61 kB / 0.5831 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3212, allocations: 11.98 kB / 0.5831 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3213, allocations: 31.86 kB / 0.5831 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.3213, allocations: 19.92 kB / 0.5831 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.3213, allocations: 0 / 0.5831 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.3314, allocations: 6.748 MB / 0.5897 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.3314, allocations: 7.922 kB / 0.5897 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.3314, allocations: 19.88 kB / 0.5898 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.3426, allocations: 5.096 MB / 0.5947 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3426, allocations: 0 / 0.5947 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3426, allocations: 4 kB / 0.5947 GB, free: 2.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3426, allocations: 0 / 0.5947 GB, free: 2.629 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.002479/0.3451, allocations: 0.5113 MB / 0.5952 GB, free: 2.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3451, allocations: 8.031 kB / 0.5952 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.3452, allocations: 11.98 kB / 0.5953 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3454, allocations: 105.2 kB / 0.5954 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3454, allocations: 8 kB / 0.5954 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.3454, allocations: 0 / 0.5954 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.3455, allocations: 81.67 kB / 0.5954 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3455, allocations: 11.88 kB / 0.5955 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3456, allocations: 0 / 0.5955 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3456, allocations: 3.938 kB / 0.5955 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3457, allocations: 79.95 kB / 0.5955 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.3461, allocations: 291.8 kB / 0.5958 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.3462, allocations: 34.58 kB / 0.5958 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.3462, allocations: 36.94 kB / 0.5959 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002903/0.3491, allocations: 0.8115 MB / 0.5967 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3492, allocations: 30.56 kB / 0.5967 GB, free: 500 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3492, allocations: 4 kB / 0.5967 GB, free: 496 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003176/0.3495, allocations: 109.6 kB / 0.5968 GB, free: 380 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3495, allocations: 51.41 kB / 0.5969 GB, free: 316 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.3496, allocations: 101.8 kB / 0.597 GB, free: 204 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3496, allocations: 29.7 kB / 0.597 GB, free: 168 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.3497, allocations: 84.09 kB / 0.5971 GB, free: 80 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3497, allocations: 31.73 kB / 0.5971 GB, free: 48 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.3498, allocations: 17.72 kB / 0.5971 GB, free: 24 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3499, allocations: 330.8 kB / 0.5974 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.35, allocations: 16 kB / 0.5974 GB, free: 15.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.35, allocations: 37.7 kB / 0.5975 GB, free: 15.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3501, allocations: 61.66 kB / 0.5975 GB, free: 15.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3501, allocations: 384 / 0.5975 GB, free: 15.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.3503, allocations: 101.5 kB / 0.5976 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3503, allocations: 4 kB / 0.5976 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3503, allocations: 8.031 kB / 0.5976 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3503, allocations: 0 / 0.5976 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.3504, allocations: 12 kB / 0.5977 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3504, allocations: 192 / 0.5977 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.3504, allocations: 7.938 kB / 0.5977 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3504, allocations: 4 kB / 0.5977 GB, free: 15.43 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 9.519e-05/0.3505, allocations: 121.7 kB / 0.5978 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3506, allocations: 7.938 kB / 0.5978 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.3508, allocations: 153 kB / 0.5979 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001595/0.351, allocations: 113.7 kB / 0.598 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.351, allocations: 0 / 0.598 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.351, allocations: 0 / 0.598 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.3515, allocations: 413.4 kB / 0.5984 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3515, allocations: 96 / 0.5984 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.3516, allocations: 19.94 kB / 0.5985 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3516, allocations: 0 / 0.5985 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3516, allocations: 7.922 kB / 0.5985 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3516, allocations: 4 kB / 0.5985 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3516, allocations: 0 / 0.5985 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3518, allocations: 227.4 kB / 0.5987 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.3518, allocations: 7.938 kB / 0.5987 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3518, allocations: 7.938 kB / 0.5987 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.3519, allocations: 0 / 0.5987 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.3519, allocations: 7.984 kB / 0.5987 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.3519, allocations: 4 kB / 0.5987 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.352, allocations: 83.28 kB / 0.5988 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.352, allocations: 0 / 0.5988 GB, free: 14.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001823/0.3538, allocations: 366.9 kB / 0.5991 GB, free: 13.83 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.01305/0.3668, allocations: 4.085 MB / 0.6031 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3671, allocations: 109.6 kB / 0.6032 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3671, allocations: 64 / 0.6032 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.309e-05/0.3672, allocations: 47.92 kB / 0.6033 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3676, allocations: 31.95 kB / 0.6033 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.3681, allocations: 259.3 kB / 0.6036 GB, free: 9.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3684, allocations: 0.6924 MB / 0.6042 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.3684, allocations: 23.66 kB / 0.6043 GB, free: 8.508 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3684, allocations: 0 / 0.6043 GB, free: 8.508 MB / 446.1 MB Notification: Performance of Templates: time 0.02449/0.3929, allocations: 19.48 MB / 0.6233 GB, free: 4.988 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/jenkins1/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/jenkins1/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: 8.8138561937958]