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.001265/0.001265, allocations: 107.6 kB / 21.19 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.001451/0.001451, allocations: 214.1 kB / 24.48 MB, free: 3.957 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.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2271/0.2271, allocations: 46.96 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] 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.001983/0.001983, allocations: 63.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4301, allocations: 66.03 MB / 0.5618 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01374/0.4439, allocations: 8.338 MB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.4617, allocations: 12.4 MB / 0.5821 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.4618, allocations: 0 / 0.5821 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.4621, allocations: 39.81 kB / 0.5821 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00836/0.4705, allocations: 2.434 MB / 0.5845 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.4706, allocations: 23.89 kB / 0.5845 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.4709, allocations: 131.2 kB / 0.5846 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.4709, allocations: 4 kB / 0.5846 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.4711, allocations: 67.7 kB / 0.5847 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.4713, allocations: 47.77 kB / 0.5847 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.4713, allocations: 0 / 0.5847 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/0.4842, allocations: 7.267 MB / 0.5918 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.4843, allocations: 11.98 kB / 0.5918 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.4844, allocations: 47.78 kB / 0.5919 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.5004, allocations: 6.332 MB / 0.5981 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5004, allocations: 0 / 0.5981 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5004, allocations: 0 / 0.5981 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.5005, allocations: 0 / 0.5981 GB, free: 14.98 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.004659/0.5051, allocations: 0.6753 MB / 0.5987 GB, free: 14.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.5052, allocations: 8.031 kB / 0.5987 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.5054, allocations: 23.94 kB / 0.5988 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.5056, allocations: 113.1 kB / 0.5989 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.5056, allocations: 8 kB / 0.5989 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.5056, allocations: 4 kB / 0.5989 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.5061, allocations: 202.7 kB / 0.5991 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.5061, allocations: 3.938 kB / 0.5991 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.5062, allocations: 8 kB / 0.5991 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.5062, allocations: 0 / 0.5991 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.5065, allocations: 119.9 kB / 0.5992 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007358/0.5073, allocations: 324.2 kB / 0.5995 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.5078, allocations: 130.5 kB / 0.5996 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.5079, allocations: 56.83 kB / 0.5997 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002455/0.5104, allocations: 0.6322 MB / 0.6003 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.5108, allocations: 220.3 kB / 0.6005 GB, free: 12.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.5108, allocations: 0 / 0.6005 GB, free: 12.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008161/0.5116, allocations: 237.5 kB / 0.6007 GB, free: 12.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.5116, allocations: 55.41 kB / 0.6008 GB, free: 12.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.5117, allocations: 101.8 kB / 0.6009 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.5118, allocations: 29.7 kB / 0.6009 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.5118, allocations: 95.81 kB / 0.601 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.5119, allocations: 55.52 kB / 0.6011 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.5119, allocations: 33.7 kB / 0.6011 GB, free: 11.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5121, allocations: 326.8 kB / 0.6014 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5122, allocations: 47.97 kB / 0.6015 GB, free: 11.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.5124, allocations: 63.92 kB / 0.6015 GB, free: 11.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.5127, allocations: 108.6 kB / 0.6016 GB, free: 11.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5127, allocations: 0 / 0.6016 GB, free: 11.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003879/0.513, allocations: 161.7 kB / 0.6018 GB, free: 10.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5131, allocations: 8 kB / 0.6018 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5131, allocations: 7.938 kB / 0.6018 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5131, allocations: 0 / 0.6018 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.5132, allocations: 23.98 kB / 0.6018 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5132, allocations: 3.938 kB / 0.6018 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.5133, allocations: 19.94 kB / 0.6018 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.5133, allocations: 8 kB / 0.6018 GB, free: 10.89 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.0001145/0.5135, allocations: 121.8 kB / 0.602 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.5135, allocations: 11.95 kB / 0.602 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.5142, allocations: 361.3 kB / 0.6023 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004665/0.5146, allocations: 301.6 kB / 0.6026 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5147, allocations: 0 / 0.6026 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5147, allocations: 0 / 0.6026 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.5158, allocations: 0.6499 MB / 0.6032 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.5158, allocations: 3.984 kB / 0.6032 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.5159, allocations: 31.92 kB / 0.6033 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5159, allocations: 4 kB / 0.6033 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.5159, allocations: 8 kB / 0.6033 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5159, allocations: 0 / 0.6033 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5159, allocations: 0 / 0.6033 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.5167, allocations: 455.2 kB / 0.6037 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.5167, allocations: 23.86 kB / 0.6037 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.5167, allocations: 4 kB / 0.6037 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.5169, allocations: 35.97 kB / 0.6038 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.517, allocations: 11.97 kB / 0.6038 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.517, allocations: 12 kB / 0.6038 GB, free: 8.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.081e-05/0.5171, allocations: 83.27 kB / 0.6039 GB, free: 8.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5171, allocations: 0 / 0.6039 GB, free: 8.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00329/0.5204, allocations: 454.7 kB / 0.6043 GB, free: 8.285 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.01793/0.5383, allocations: 4.898 MB / 0.6091 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006529/0.5389, allocations: 196.5 kB / 0.6093 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.539, allocations: 0 / 0.6093 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.5392, allocations: 99.89 kB / 0.6094 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.5398, allocations: 83.88 kB / 0.6095 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.5407, allocations: 412.8 kB / 0.6099 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.5408, allocations: 111.1 kB / 0.61 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.5409, allocations: 27.44 kB / 0.61 GB, free: 2.402 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5409, allocations: 0 / 0.61 GB, free: 2.402 MB / 446.1 MB Notification: Performance of Templates: time 0.03108/0.572, allocations: 21.48 MB / 0.631 GB, free: 12.89 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/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/jenkins1/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: 10.609771907998947]