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.001617/0.001617, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001814/0.001814, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.525/1.525, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2312/0.2312, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.002127/0.002127, allocations: 71.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01316/0.3551, allocations: 8.051 MB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.3683, allocations: 9.893 MB / 0.5793 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.3683, allocations: 0 / 0.5793 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.3685, allocations: 31.83 kB / 0.5794 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005664/0.3742, allocations: 1.854 MB / 0.5812 GB, free: 260 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.152e-06/0.3742, allocations: 4 kB / 0.5812 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3743, allocations: 47.69 kB / 0.5812 GB, free: 208 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.3744, allocations: 3.984 kB / 0.5812 GB, free: 204 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3745, allocations: 31.86 kB / 0.5813 GB, free: 172 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.3746, allocations: 19.86 kB / 0.5813 GB, free: 152 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.527e-06/0.3746, allocations: 0 / 0.5813 GB, free: 152 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.3855, allocations: 6.584 MB / 0.5877 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.3855, allocations: 4 kB / 0.5877 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3855, allocations: 19.92 kB / 0.5877 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.401, allocations: 5.096 MB / 0.5927 GB, free: 4.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.401, allocations: 0 / 0.5927 GB, free: 4.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.401, allocations: 0 / 0.5927 GB, free: 4.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.401, allocations: 0 / 0.5927 GB, free: 4.426 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.002915/0.404, allocations: 0.5036 MB / 0.5932 GB, free: 3.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.404, allocations: 8.031 kB / 0.5932 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.4041, allocations: 11.98 kB / 0.5932 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4042, allocations: 117 kB / 0.5933 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4042, allocations: 4 kB / 0.5933 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.4043, allocations: 4 kB / 0.5933 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.4044, allocations: 85.67 kB / 0.5934 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4044, allocations: 3.938 kB / 0.5934 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.4044, allocations: 0 / 0.5934 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.4045, allocations: 4 kB / 0.5934 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4046, allocations: 75.95 kB / 0.5935 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.405, allocations: 272.3 kB / 0.5938 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.4051, allocations: 42.5 kB / 0.5938 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.4052, allocations: 28.91 kB / 0.5938 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002888/0.4081, allocations: 0.8036 MB / 0.5946 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4081, allocations: 42.55 kB / 0.5946 GB, free: 2.316 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4081, allocations: 0 / 0.5946 GB, free: 2.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003027/0.4084, allocations: 109.7 kB / 0.5947 GB, free: 2.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.4085, allocations: 51.41 kB / 0.5948 GB, free: 2.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.4085, allocations: 97.84 kB / 0.5949 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4086, allocations: 33.7 kB / 0.5949 GB, free: 1.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.4086, allocations: 88.03 kB / 0.595 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.4087, allocations: 31.8 kB / 0.595 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.4087, allocations: 25.7 kB / 0.5951 GB, free: 1.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4089, allocations: 318.8 kB / 0.5954 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.4089, allocations: 19.98 kB / 0.5954 GB, free: 1.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.409, allocations: 41.64 kB / 0.5954 GB, free: 1.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.4091, allocations: 66.03 kB / 0.5955 GB, free: 1.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4091, allocations: 0 / 0.5955 GB, free: 1.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.4093, allocations: 97.58 kB / 0.5956 GB, free: 1.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4093, allocations: 4 kB / 0.5956 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4093, allocations: 4 kB / 0.5956 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4093, allocations: 3.984 kB / 0.5956 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.4094, allocations: 8 kB / 0.5956 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4094, allocations: 0 / 0.5956 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.4094, allocations: 3.938 kB / 0.5956 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.4094, allocations: 8 kB / 0.5956 GB, free: 1.254 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.0001059/0.4095, allocations: 113.8 kB / 0.5957 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.4096, allocations: 3.953 kB / 0.5957 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.4098, allocations: 153.7 kB / 0.5959 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001606/0.41, allocations: 121.6 kB / 0.596 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.41, allocations: 0 / 0.596 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.41, allocations: 0 / 0.596 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.4105, allocations: 377.9 kB / 0.5963 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4105, allocations: 0 / 0.5963 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.4106, allocations: 15.98 kB / 0.5964 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4106, allocations: 0 / 0.5964 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.4106, allocations: 0 / 0.5964 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4106, allocations: 8 kB / 0.5964 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4106, allocations: 4.188 kB / 0.5964 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.4109, allocations: 223.3 kB / 0.5966 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.4109, allocations: 19.83 kB / 0.5966 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.4109, allocations: 8 kB / 0.5966 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.411, allocations: 4 kB / 0.5966 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.411, allocations: 7.922 kB / 0.5966 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.411, allocations: 4 kB / 0.5966 GB, free: 148 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.4111, allocations: 87.27 kB / 0.5967 GB, free: 60 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4111, allocations: 0 / 0.5967 GB, free: 60 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.00229/0.4134, allocations: 355 kB / 0.5971 GB, free: 15.71 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.01441/0.4278, allocations: 4.092 MB / 0.601 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.4281, allocations: 97.67 kB / 0.6011 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.4281, allocations: 4 kB / 0.6011 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.4282, allocations: 51.92 kB / 0.6012 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4286, allocations: 46.78 kB / 0.6012 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.4291, allocations: 247.3 kB / 0.6015 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.467e-05/0.4292, allocations: 79.08 kB / 0.6015 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.4293, allocations: 23.42 kB / 0.6016 GB, free: 11 MB / 446.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4293, allocations: 4 kB / 0.6016 GB, free: 11 MB / 446.1 MB Notification: Performance of Templates: time 0.02709/0.4563, allocations: 19.51 MB / 0.6206 GB, free: 7.461 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 -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: 9.61190715432167]