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.001789/0.001789, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002311/0.002311, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2395/0.2395, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.002331/0.002331, allocations: 72.14 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3596, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01361/0.3732, allocations: 8.335 MB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.3903, allocations: 12.4 MB / 0.5813 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.3904, allocations: 0 / 0.5813 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.3906, allocations: 39.8 kB / 0.5814 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008422/0.399, allocations: 2.43 MB / 0.5837 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.3992, allocations: 27.84 kB / 0.5838 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.3994, allocations: 139.1 kB / 0.5839 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.3994, allocations: 4 kB / 0.5839 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3996, allocations: 55.83 kB / 0.5839 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3997, allocations: 39.78 kB / 0.584 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3998, allocations: 4 kB / 0.584 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.4137, allocations: 7.13 MB / 0.591 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.4138, allocations: 15.91 kB / 0.591 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.4139, allocations: 43.86 kB / 0.591 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01961/0.4335, allocations: 6.332 MB / 0.5972 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4335, allocations: 0 / 0.5972 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4335, allocations: 0 / 0.5972 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4335, allocations: 0 / 0.5972 GB, free: 15.09 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.004017/0.4375, allocations: 0.6675 MB / 0.5978 GB, free: 14.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4375, allocations: 8.031 kB / 0.5979 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.4378, allocations: 31.88 kB / 0.5979 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4379, allocations: 113.1 kB / 0.598 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.4379, allocations: 8 kB / 0.598 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.4379, allocations: 12 kB / 0.598 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.4384, allocations: 202.7 kB / 0.5982 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4384, allocations: 3.938 kB / 0.5982 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.4384, allocations: 4 kB / 0.5982 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4385, allocations: 4 kB / 0.5982 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.4388, allocations: 114.4 kB / 0.5983 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007963/0.4396, allocations: 328.2 kB / 0.5986 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.4401, allocations: 130.5 kB / 0.5988 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.4403, allocations: 52.83 kB / 0.5988 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/0.4426, allocations: 0.636 MB / 0.5994 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.443, allocations: 220.3 kB / 0.5996 GB, free: 12.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.443, allocations: 0 / 0.5996 GB, free: 12.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008237/0.4438, allocations: 237.5 kB / 0.5999 GB, free: 12.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.4439, allocations: 55.41 kB / 0.5999 GB, free: 12.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.444, allocations: 105.8 kB / 0.6 GB, free: 12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.444, allocations: 25.7 kB / 0.6 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.4441, allocations: 95.88 kB / 0.6001 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.4442, allocations: 55.56 kB / 0.6002 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.4442, allocations: 33.7 kB / 0.6002 GB, free: 11.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4444, allocations: 326.7 kB / 0.6005 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4445, allocations: 43.97 kB / 0.6006 GB, free: 11.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.4447, allocations: 65.67 kB / 0.6006 GB, free: 11.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.4449, allocations: 104.5 kB / 0.6007 GB, free: 11.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4449, allocations: 0 / 0.6007 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004223/0.4454, allocations: 173.3 kB / 0.6009 GB, free: 11.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4454, allocations: 4 kB / 0.6009 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4454, allocations: 3.984 kB / 0.6009 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4454, allocations: 0 / 0.6009 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.4455, allocations: 31.98 kB / 0.6009 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4456, allocations: 0 / 0.6009 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4457, allocations: 19.88 kB / 0.601 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4457, allocations: 11.98 kB / 0.601 GB, free: 10.98 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.0001178/0.4458, allocations: 117.8 kB / 0.6011 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.4459, allocations: 11.95 kB / 0.6011 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.4465, allocations: 361.3 kB / 0.6014 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004763/0.447, allocations: 301.5 kB / 0.6017 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.447, allocations: 0 / 0.6017 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.447, allocations: 0 / 0.6017 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4482, allocations: 0.649 MB / 0.6024 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4482, allocations: 256 / 0.6024 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4483, allocations: 35.98 kB / 0.6024 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4483, allocations: 0 / 0.6024 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4483, allocations: 0 / 0.6024 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4483, allocations: 7.938 kB / 0.6024 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4483, allocations: 0 / 0.6024 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.4491, allocations: 463.2 kB / 0.6028 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.4491, allocations: 23.8 kB / 0.6029 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.4492, allocations: 8 kB / 0.6029 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.4494, allocations: 23.91 kB / 0.6029 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.4494, allocations: 19.97 kB / 0.6029 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.4495, allocations: 12.06 kB / 0.6029 GB, free: 8.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.4495, allocations: 87.27 kB / 0.603 GB, free: 8.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4495, allocations: 3.938 kB / 0.603 GB, free: 8.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002729/0.4523, allocations: 454.7 kB / 0.6035 GB, free: 8.371 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.01925/0.4715, allocations: 4.88 MB / 0.6082 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006574/0.4722, allocations: 189.5 kB / 0.6084 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4722, allocations: 4 kB / 0.6084 GB, free: 3.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.4724, allocations: 103.9 kB / 0.6085 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.4731, allocations: 83.78 kB / 0.6086 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.4741, allocations: 391.2 kB / 0.609 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.4742, allocations: 107.1 kB / 0.6091 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.4744, allocations: 55.2 kB / 0.6091 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.4744, allocations: 27.42 kB / 0.6091 GB, free: 2.477 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4744, allocations: 0 / 0.6091 GB, free: 2.477 MB / 446.1 MB Notification: Performance of Templates: time 0.03534/0.5098, allocations: 21.31 MB / 0.6299 GB, free: 13.21 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/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.046637093648314]