Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001714/0.001714, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002113/0.002113, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.548/1.548, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2248/0.2248, allocations: 46.95 MB / 361.6 MB, free: 4.035 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,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") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.88 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2776, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0124/0.29, allocations: 8.058 MB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.3025, allocations: 9.9 MB / 0.5793 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.3025, allocations: 0 / 0.5793 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.3027, allocations: 31.83 kB / 0.5794 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.3074, allocations: 1.85 MB / 0.5812 GB, free: 284 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.779e-06/0.3074, allocations: 0 / 0.5812 GB, free: 284 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.367e-05/0.3075, allocations: 51.61 kB / 0.5812 GB, free: 232 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.3075, allocations: 7.984 kB / 0.5812 GB, free: 224 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3077, allocations: 31.84 kB / 0.5813 GB, free: 192 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.3077, allocations: 11.94 kB / 0.5813 GB, free: 180 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3077, allocations: 4 kB / 0.5813 GB, free: 176 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.3181, allocations: 6.693 MB / 0.5878 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.3181, allocations: 3.984 kB / 0.5878 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.3182, allocations: 15.94 kB / 0.5878 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.3318, allocations: 5.092 MB / 0.5928 GB, free: 4.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3318, allocations: 0 / 0.5928 GB, free: 4.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3318, allocations: 0 / 0.5928 GB, free: 4.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3318, allocations: 0 / 0.5928 GB, free: 4.348 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.00232/0.3341, allocations: 0.5036 MB / 0.5933 GB, free: 3.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3341, allocations: 12.03 kB / 0.5933 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3343, allocations: 11.98 kB / 0.5933 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3344, allocations: 117.1 kB / 0.5934 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3344, allocations: 0 / 0.5934 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.3344, allocations: 7.938 kB / 0.5934 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3345, allocations: 81.66 kB / 0.5935 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3346, allocations: 11.88 kB / 0.5935 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3346, allocations: 0 / 0.5935 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3346, allocations: 0 / 0.5935 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3347, allocations: 75.97 kB / 0.5936 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.3351, allocations: 260.5 kB / 0.5938 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.3352, allocations: 46.44 kB / 0.5939 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.3352, allocations: 32.92 kB / 0.5939 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003121/0.3383, allocations: 0.8036 MB / 0.5947 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3384, allocations: 34.56 kB / 0.5947 GB, free: 2.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3384, allocations: 4 kB / 0.5947 GB, free: 2.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002827/0.3387, allocations: 113.8 kB / 0.5949 GB, free: 2.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.3387, allocations: 55.34 kB / 0.5949 GB, free: 2.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.3388, allocations: 101.8 kB / 0.595 GB, free: 1.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3388, allocations: 29.7 kB / 0.595 GB, free: 1.914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.3388, allocations: 88.03 kB / 0.5951 GB, free: 1.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3389, allocations: 27.75 kB / 0.5951 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.3389, allocations: 25.7 kB / 0.5952 GB, free: 1.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3391, allocations: 318.8 kB / 0.5955 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.3391, allocations: 23.98 kB / 0.5955 GB, free: 1.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.3392, allocations: 37.64 kB / 0.5955 GB, free: 1.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/0.3393, allocations: 62.09 kB / 0.5956 GB, free: 1.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3393, allocations: 3.938 kB / 0.5956 GB, free: 1.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001706/0.3394, allocations: 93.58 kB / 0.5957 GB, free: 1.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3394, allocations: 8 kB / 0.5957 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3394, allocations: 0 / 0.5957 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3395, allocations: 3.984 kB / 0.5957 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.3395, allocations: 8 kB / 0.5957 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3395, allocations: 0 / 0.5957 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.3396, allocations: 8.188 kB / 0.5957 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.3396, allocations: 19.95 kB / 0.5957 GB, free: 1.164 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 8.12e-05/0.3397, allocations: 109.8 kB / 0.5958 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.3397, allocations: 7.953 kB / 0.5958 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.34, allocations: 149.7 kB / 0.596 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000151/0.3401, allocations: 113.6 kB / 0.5961 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3401, allocations: 7.984 kB / 0.5961 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3401, allocations: 0 / 0.5961 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.3406, allocations: 377.3 kB / 0.5965 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3406, allocations: 0 / 0.5965 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.3407, allocations: 19.98 kB / 0.5965 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3407, allocations: 3.938 kB / 0.5965 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3407, allocations: 8 kB / 0.5965 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3407, allocations: 0 / 0.5965 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3407, allocations: 3.938 kB / 0.5965 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3409, allocations: 219.4 kB / 0.5967 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.3409, allocations: 15.89 kB / 0.5967 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.341, allocations: 4 kB / 0.5967 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.341, allocations: 0 / 0.5967 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.341, allocations: 11.92 kB / 0.5967 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3411, allocations: 4 kB / 0.5967 GB, free: 64 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.5e-05/0.3411, allocations: 87.27 kB / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3411, allocations: 0 / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001709/0.3428, allocations: 359 kB / 0.5972 GB, free: 15.62 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.01363/0.3564, allocations: 4.092 MB / 0.6012 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3567, allocations: 105.7 kB / 0.6013 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3567, allocations: 0 / 0.6013 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.3568, allocations: 47.98 kB / 0.6013 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3572, allocations: 31.97 kB / 0.6013 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.3577, allocations: 221.6 kB / 0.6015 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.3577, allocations: 83.08 kB / 0.6016 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.3578, allocations: 16.11 kB / 0.6016 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.3578, allocations: 15.44 kB / 0.6017 GB, free: 10.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3578, allocations: 4 kB / 0.6017 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Templates: time 0.02757/0.3854, allocations: 18.47 MB / 0.6197 GB, free: 8.477 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.537421860004542]