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.002007/0.002007, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002516/0.002516, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2357/0.2357, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.002914/0.002914, allocations: 68.12 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3432, allocations: 66.04 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01303/0.3562, allocations: 8.047 MB / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.3693, allocations: 9.893 MB / 0.5786 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.3693, allocations: 0 / 0.5786 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.3696, allocations: 43.81 kB / 0.5786 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.3744, allocations: 1.846 MB / 0.5804 GB, free: 304 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.49e-06/0.3744, allocations: 0 / 0.5804 GB, free: 304 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.995e-05/0.3745, allocations: 55.59 kB / 0.5805 GB, free: 248 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.3745, allocations: 4 kB / 0.5805 GB, free: 244 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3747, allocations: 35.86 kB / 0.5805 GB, free: 208 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.3747, allocations: 15.92 kB / 0.5805 GB, free: 192 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.3747, allocations: 0 / 0.5805 GB, free: 192 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.3852, allocations: 6.588 MB / 0.587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.3853, allocations: 0 / 0.587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.3853, allocations: 19.92 kB / 0.587 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.3988, allocations: 5.096 MB / 0.592 GB, free: 4.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3988, allocations: 0 / 0.592 GB, free: 4.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3988, allocations: 0 / 0.592 GB, free: 4.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3988, allocations: 0 / 0.592 GB, free: 4.465 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.00269/0.4015, allocations: 0.5075 MB / 0.5925 GB, free: 3.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4016, allocations: 8.031 kB / 0.5925 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.4017, allocations: 11.98 kB / 0.5925 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4018, allocations: 105.2 kB / 0.5926 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4018, allocations: 11.94 kB / 0.5926 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.4018, allocations: 0 / 0.5926 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.402, allocations: 85.61 kB / 0.5927 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.402, allocations: 3.938 kB / 0.5927 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.402, allocations: 0 / 0.5927 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.402, allocations: 0 / 0.5927 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.4022, allocations: 83.95 kB / 0.5928 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.4027, allocations: 272.4 kB / 0.593 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4028, allocations: 42.45 kB / 0.5931 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.4028, allocations: 24.91 kB / 0.5931 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/0.4057, allocations: 0.8076 MB / 0.5939 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.4058, allocations: 30.56 kB / 0.5939 GB, free: 2.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4058, allocations: 4 kB / 0.5939 GB, free: 2.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002838/0.4061, allocations: 109.7 kB / 0.594 GB, free: 2.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.4061, allocations: 55.41 kB / 0.5941 GB, free: 2.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.4062, allocations: 97.84 kB / 0.5942 GB, free: 2.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4062, allocations: 25.7 kB / 0.5942 GB, free: 2.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.4063, allocations: 92.03 kB / 0.5943 GB, free: 1.953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.4063, allocations: 31.73 kB / 0.5943 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4063, allocations: 21.72 kB / 0.5943 GB, free: 1.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4065, allocations: 322.8 kB / 0.5946 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.4065, allocations: 20 kB / 0.5946 GB, free: 1.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.4066, allocations: 37.81 kB / 0.5947 GB, free: 1.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.4067, allocations: 69.97 kB / 0.5947 GB, free: 1.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4067, allocations: 0 / 0.5947 GB, free: 1.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.4069, allocations: 101.7 kB / 0.5948 GB, free: 1.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4069, allocations: 4 kB / 0.5948 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4069, allocations: 0 / 0.5948 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4069, allocations: 4 kB / 0.5949 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.407, allocations: 16.02 kB / 0.5949 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.407, allocations: 192 / 0.5949 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.407, allocations: 4 kB / 0.5949 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.407, allocations: 4 kB / 0.5949 GB, free: 1.297 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.0001028/0.4071, allocations: 125.7 kB / 0.595 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.4072, allocations: 3.953 kB / 0.595 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.4074, allocations: 149.7 kB / 0.5951 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001605/0.4076, allocations: 117.6 kB / 0.5953 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4076, allocations: 0 / 0.5953 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4076, allocations: 0 / 0.5953 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.4081, allocations: 377.9 kB / 0.5956 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4081, allocations: 4 kB / 0.5956 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.4081, allocations: 15.98 kB / 0.5956 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4081, allocations: 0 / 0.5956 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4082, allocations: 0 / 0.5956 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4082, allocations: 0 / 0.5956 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4082, allocations: 11.92 kB / 0.5956 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.4084, allocations: 223.2 kB / 0.5959 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.4084, allocations: 15.89 kB / 0.5959 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.4085, allocations: 7.984 kB / 0.5959 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.4085, allocations: 4 kB / 0.5959 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.4085, allocations: 7.938 kB / 0.5959 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4085, allocations: 7.984 kB / 0.5959 GB, free: 184 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.4086, allocations: 83.22 kB / 0.596 GB, free: 100 kB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4086, allocations: 4 kB / 0.596 GB, free: 96 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001933/0.4105, allocations: 355 kB / 0.5963 GB, free: 15.75 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.01404/0.4246, allocations: 4.088 MB / 0.6003 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.4249, allocations: 105.7 kB / 0.6004 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4249, allocations: 0 / 0.6004 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.425, allocations: 51.92 kB / 0.6005 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4254, allocations: 34.61 kB / 0.6005 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.4259, allocations: 233.6 kB / 0.6007 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.889e-05/0.426, allocations: 79.08 kB / 0.6008 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.426, allocations: 12.12 kB / 0.6008 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.4261, allocations: 15.44 kB / 0.6008 GB, free: 11.07 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4261, allocations: 0 / 0.6008 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Templates: time 0.02736/0.4534, allocations: 18.42 MB / 0.6188 GB, free: 8.652 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/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.823717778548598]