Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001389/0.001389, 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.001502/0.001502, allocations: 204.5 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2572/0.2572, allocations: 46.95 MB / 360.9 MB, free: 4.047 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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.89 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3488, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01296/0.3617, allocations: 8.327 MB / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.378, allocations: 12.41 MB / 0.5813 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.3781, allocations: 0 / 0.5813 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.3783, allocations: 39.8 kB / 0.5814 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.3848, allocations: 2.429 MB / 0.5837 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.262e-05/0.3849, allocations: 23.91 kB / 0.5838 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3851, allocations: 131.2 kB / 0.5839 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.3851, allocations: 3.984 kB / 0.5839 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.3853, allocations: 55.84 kB / 0.5839 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.3854, allocations: 43.78 kB / 0.584 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3854, allocations: 4 kB / 0.584 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.3988, allocations: 7.275 MB / 0.5911 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.3988, allocations: 11.97 kB / 0.5911 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3989, allocations: 39.88 kB / 0.5911 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01867/0.4176, allocations: 6.34 MB / 0.5973 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4176, allocations: 0 / 0.5973 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4176, allocations: 0 / 0.5973 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.4176, allocations: 0 / 0.5973 GB, free: 14.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004115/0.4217, allocations: 0.6675 MB / 0.598 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4218, allocations: 8.031 kB / 0.598 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.422, allocations: 27.92 kB / 0.598 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.4222, allocations: 117.1 kB / 0.5981 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.4222, allocations: 8 kB / 0.5981 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.4222, allocations: 8 kB / 0.5981 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.4227, allocations: 201.4 kB / 0.5983 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4227, allocations: 3.938 kB / 0.5983 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.4227, allocations: 7.984 kB / 0.5983 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4227, allocations: 4 kB / 0.5984 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.4231, allocations: 107.9 kB / 0.5985 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.4237, allocations: 332.2 kB / 0.5988 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.4242, allocations: 134.5 kB / 0.5989 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.4243, allocations: 48.83 kB / 0.5989 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002254/0.4266, allocations: 0.6399 MB / 0.5996 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.427, allocations: 220.3 kB / 0.5998 GB, free: 12.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.427, allocations: 0 / 0.5998 GB, free: 12.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008157/0.4278, allocations: 237.5 kB / 0.6 GB, free: 12.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4279, allocations: 55.41 kB / 0.6001 GB, free: 11.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.428, allocations: 105.8 kB / 0.6002 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.428, allocations: 25.7 kB / 0.6002 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.428, allocations: 95.88 kB / 0.6003 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.4281, allocations: 51.56 kB / 0.6003 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.4282, allocations: 37.7 kB / 0.6004 GB, free: 11.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4283, allocations: 326.7 kB / 0.6007 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4284, allocations: 43.97 kB / 0.6007 GB, free: 11.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4286, allocations: 69.62 kB / 0.6008 GB, free: 11.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.4289, allocations: 108.5 kB / 0.6009 GB, free: 11.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4289, allocations: 0 / 0.6009 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004102/0.4293, allocations: 161.5 kB / 0.601 GB, free: 10.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4293, allocations: 4 kB / 0.601 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4293, allocations: 256 / 0.601 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4293, allocations: 0 / 0.601 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4294, allocations: 31.98 kB / 0.6011 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4294, allocations: 3.938 kB / 0.6011 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.4295, allocations: 19.88 kB / 0.6011 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.4296, allocations: 8 kB / 0.6011 GB, free: 10.86 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.0001114/0.4297, allocations: 121.8 kB / 0.6012 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.4298, allocations: 11.95 kB / 0.6012 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/0.4304, allocations: 365.3 kB / 0.6016 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004947/0.4309, allocations: 301.5 kB / 0.6019 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4309, allocations: 0 / 0.6019 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4309, allocations: 0 / 0.6019 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.432, allocations: 0.6451 MB / 0.6025 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.432, allocations: 0 / 0.6025 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4321, allocations: 35.97 kB / 0.6025 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4322, allocations: 0 / 0.6025 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4322, allocations: 4 kB / 0.6025 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4322, allocations: 11.88 kB / 0.6025 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4322, allocations: 0 / 0.6025 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.4329, allocations: 459.2 kB / 0.603 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.433, allocations: 15.88 kB / 0.603 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.433, allocations: 7.984 kB / 0.603 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4332, allocations: 23.92 kB / 0.603 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.4333, allocations: 23.95 kB / 0.6031 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.4333, allocations: 12.06 kB / 0.6031 GB, free: 8.773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.365e-05/0.4333, allocations: 83.27 kB / 0.6031 GB, free: 8.691 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4333, allocations: 4 kB / 0.6031 GB, free: 8.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002849/0.4362, allocations: 454.7 kB / 0.6036 GB, free: 8.242 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0183/0.4545, allocations: 4.891 MB / 0.6084 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006458/0.4551, allocations: 197.5 kB / 0.6085 GB, free: 3.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4551, allocations: 4 kB / 0.6086 GB, free: 3.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.4553, allocations: 99.89 kB / 0.6086 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.456, allocations: 86.28 kB / 0.6087 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.457, allocations: 387.2 kB / 0.6091 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.4571, allocations: 107.1 kB / 0.6092 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.4573, allocations: 51.39 kB / 0.6092 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.4574, allocations: 27.44 kB / 0.6093 GB, free: 2.34 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4574, allocations: 0 / 0.6093 GB, free: 2.34 MB / 446.1 MB Notification: Performance of Templates: time 0.03326/0.4906, allocations: 21.36 MB / 0.6301 GB, free: 13.01 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.090980228036642]