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.001452/0.001452, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001529/0.001529, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2385/0.2385, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.003075/0.003075, allocations: 63.91 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3415, allocations: 66.04 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01267/0.3541, allocations: 8.791 MB / 0.5697 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.3711, allocations: 14.16 MB / 0.5835 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.3712, allocations: 4 kB / 0.5835 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3714, allocations: 55.66 kB / 0.5836 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007248/0.3787, allocations: 2.453 MB / 0.586 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.3788, allocations: 19.97 kB / 0.586 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.379, allocations: 123.3 kB / 0.5861 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.3791, allocations: 0 / 0.5861 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3793, allocations: 71.7 kB / 0.5862 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3794, allocations: 39.84 kB / 0.5862 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3794, allocations: 4 kB / 0.5862 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/0.3923, allocations: 7.364 MB / 0.5934 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.3923, allocations: 11.94 kB / 0.5934 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3924, allocations: 47.84 kB / 0.5935 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.4089, allocations: 6.34 MB / 0.5997 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4089, allocations: 0 / 0.5997 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4089, allocations: 0 / 0.5997 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.4089, allocations: 4 kB / 0.5997 GB, free: 12.8 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.004413/0.4133, allocations: 0.6736 MB / 0.6003 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4134, allocations: 8.031 kB / 0.6004 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.4136, allocations: 23.94 kB / 0.6004 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.4138, allocations: 113.2 kB / 0.6005 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.4138, allocations: 4 kB / 0.6005 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.4138, allocations: 8 kB / 0.6005 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.4142, allocations: 137.5 kB / 0.6006 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.4143, allocations: 3.938 kB / 0.6006 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.4143, allocations: 4 kB / 0.6006 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4143, allocations: 4 kB / 0.6006 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.4146, allocations: 111.9 kB / 0.6007 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.4155, allocations: 0.581 MB / 0.6013 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.416, allocations: 134.5 kB / 0.6014 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.4161, allocations: 44.83 kB / 0.6015 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/0.4185, allocations: 0.6477 MB / 0.6021 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.4189, allocations: 142 kB / 0.6022 GB, free: 9.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.4189, allocations: 0 / 0.6022 GB, free: 9.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008108/0.4197, allocations: 237.5 kB / 0.6025 GB, free: 9.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.4198, allocations: 51.41 kB / 0.6025 GB, free: 9.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.4199, allocations: 105.8 kB / 0.6026 GB, free: 9.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.4199, allocations: 29.7 kB / 0.6027 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.42, allocations: 95.88 kB / 0.6027 GB, free: 9.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.42, allocations: 47.58 kB / 0.6028 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.4201, allocations: 37.7 kB / 0.6028 GB, free: 9.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4203, allocations: 326.8 kB / 0.6031 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4204, allocations: 43.97 kB / 0.6032 GB, free: 8.977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.4206, allocations: 73.48 kB / 0.6033 GB, free: 8.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.4208, allocations: 108.2 kB / 0.6034 GB, free: 8.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4208, allocations: 0 / 0.6034 GB, free: 8.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004027/0.4212, allocations: 157.5 kB / 0.6035 GB, free: 8.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4213, allocations: 8 kB / 0.6035 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4213, allocations: 0 / 0.6035 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4213, allocations: 0 / 0.6035 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.4214, allocations: 23.98 kB / 0.6035 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4214, allocations: 4 kB / 0.6035 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4215, allocations: 23.88 kB / 0.6036 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.4216, allocations: 4 kB / 0.6036 GB, free: 8.566 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.0001284/0.4217, allocations: 129.6 kB / 0.6037 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.4218, allocations: 7.953 kB / 0.6037 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.4224, allocations: 357.4 kB / 0.604 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004701/0.4229, allocations: 311.4 kB / 0.6043 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4229, allocations: 0 / 0.6043 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4229, allocations: 0 / 0.6043 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.424, allocations: 0.6923 MB / 0.605 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.424, allocations: 256 / 0.605 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4242, allocations: 27.98 kB / 0.605 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.4242, allocations: 4 kB / 0.605 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4242, allocations: 4 kB / 0.605 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4242, allocations: 3.938 kB / 0.605 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4242, allocations: 0 / 0.605 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.4249, allocations: 459.1 kB / 0.6055 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.425, allocations: 23.86 kB / 0.6055 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.425, allocations: 7.938 kB / 0.6055 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.4252, allocations: 28.03 kB / 0.6055 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.4253, allocations: 23.91 kB / 0.6056 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.4253, allocations: 8 kB / 0.6056 GB, free: 6.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.4254, allocations: 87.27 kB / 0.6057 GB, free: 6.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4254, allocations: 0 / 0.6057 GB, free: 6.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003443/0.4288, allocations: 454.7 kB / 0.6061 GB, free: 5.895 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.01759/0.4464, allocations: 4.88 MB / 0.6109 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.447, allocations: 197.7 kB / 0.611 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.447, allocations: 0 / 0.611 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.4473, allocations: 115.8 kB / 0.6112 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.4479, allocations: 72.08 kB / 0.6112 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.4487, allocations: 391.2 kB / 0.6116 GB, free: 212 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.4491, allocations: 0.7212 MB / 0.6123 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.4492, allocations: 48.86 kB / 0.6123 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.4493, allocations: 31.38 kB / 0.6124 GB, free: 15.38 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4493, allocations: 0 / 0.6124 GB, free: 15.38 MB / 462.1 MB Notification: Performance of Templates: time 0.03375/0.483, allocations: 21.17 MB / 0.6331 GB, free: 10.19 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.524280804907903]