Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 112.2 kB / 20.43 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 182.2 kB / 23.71 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 47.92 kB / 370.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2535, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03333/0.2868, allocations: 26.97 MB / 449.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03034/0.3172, allocations: 25.05 MB / 474.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.3176, allocations: 7.938 kB / 474.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009712/0.3185, allocations: 314.3 kB / 475 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009659/0.3195, allocations: 377.8 kB / 475.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.3319, allocations: 4.122 MB / 479.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.3335, allocations: 0.9659 MB / 480.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.3337, allocations: 81.22 kB / 480.5 MB, free: 4.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000888/0.3346, allocations: 402.6 kB / 480.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.3352, allocations: 318.8 kB / 481.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.924e-05/0.3353, allocations: 36 kB / 481.2 MB, free: 3.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01932/0.3546, allocations: 10.54 MB / 491.8 MB, free: 9.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.3549, allocations: 107.6 kB / 491.9 MB, free: 9.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.3553, allocations: 223.2 kB / 492.1 MB, free: 8.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02662/0.3819, allocations: 11.5 MB / 0.4918 GB, free: 13.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3819, allocations: 0 / 0.4918 GB, free: 13.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3819, allocations: 4 kB / 0.4918 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.3819, allocations: 4 kB / 0.4918 GB, free: 13.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006113/0.388, allocations: 1.101 MB / 0.4929 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3881, allocations: 8.031 kB / 0.4929 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.805e-05/0.3882, allocations: 70.53 kB / 0.493 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.3887, allocations: 67.73 kB / 0.493 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.3893, allocations: 272.5 kB / 0.4933 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3893, allocations: 24.66 kB / 0.4933 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.3894, allocations: 35.94 kB / 0.4933 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009266/0.3903, allocations: 463.8 kB / 0.4938 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3904, allocations: 7.938 kB / 0.4938 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.3904, allocations: 12 kB / 0.4938 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3904, allocations: 8 kB / 0.4938 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.3912, allocations: 390.3 kB / 0.4942 GB, free: 10.84 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.3952, allocations: 2.818 MB / 0.4969 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.3959, allocations: 282 kB / 0.4972 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.3961, allocations: 132 kB / 0.4973 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.3975, allocations: 463.4 kB / 0.4978 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.3976, allocations: 46.48 kB / 0.4978 GB, free: 6.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.3976, allocations: 4 kB / 0.4978 GB, free: 6.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005088/0.4027, allocations: 1.144 MB / 0.4989 GB, free: 5.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4027, allocations: 55.41 kB / 0.499 GB, free: 5.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.403, allocations: 261.8 kB / 0.4992 GB, free: 5.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.4031, allocations: 33.7 kB / 0.4993 GB, free: 5.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4032, allocations: 196.4 kB / 0.4995 GB, free: 5.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4033, allocations: 126.9 kB / 0.4996 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4035, allocations: 82.12 kB / 0.4997 GB, free: 4.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4036, allocations: 338.8 kB / 0.5 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.4038, allocations: 116.8 kB / 0.5001 GB, free: 4.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.4042, allocations: 230 kB / 0.5003 GB, free: 4.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.4047, allocations: 374 kB / 0.5007 GB, free: 3.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4047, allocations: 0 / 0.5007 GB, free: 3.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008634/0.4056, allocations: 459.1 kB / 0.5011 GB, free: 3.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4056, allocations: 8.031 kB / 0.5011 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4056, allocations: 8 kB / 0.5011 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004577/0.4102, allocations: 229.4 kB / 0.5013 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.4106, allocations: 91.83 kB / 0.5014 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.4124, allocations: 1.836 MB / 0.5032 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.4127, allocations: 12.06 kB / 0.5032 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.4128, allocations: 23.98 kB / 0.5033 GB, free: 0.9883 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002865/0.4131, allocations: 161.7 kB / 0.5034 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4132, allocations: 35.75 kB / 0.5034 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.4143, allocations: 0.7085 MB / 0.5041 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4143, allocations: 4 kB / 0.5041 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4143, allocations: 4 kB / 0.5041 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009998/0.4153, allocations: 0.8869 MB / 0.505 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.4172, allocations: 1.178 MB / 0.5062 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4172, allocations: 0 / 0.5062 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.4174, allocations: 63.91 kB / 0.5062 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.4191, allocations: 184.5 kB / 0.5064 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.4191, allocations: 16.05 kB / 0.5064 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004656/0.4196, allocations: 0.572 MB / 0.507 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4196, allocations: 3.938 kB / 0.507 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.4207, allocations: 0.7422 MB / 0.5077 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4208, allocations: 35.78 kB / 0.5077 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.4209, allocations: 7.953 kB / 0.5077 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4211, allocations: 11.94 kB / 0.5078 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.4211, allocations: 27.89 kB / 0.5078 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.4211, allocations: 11.98 kB / 0.5078 GB, free: 12.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.4214, allocations: 227.1 kB / 0.508 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4214, allocations: 4.062 kB / 0.508 GB, free: 11.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004191/0.4256, allocations: 0.748 MB / 0.5087 GB, free: 11.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02647/0.4521, allocations: 7.59 MB / 0.5162 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4532, allocations: 477.8 kB / 0.5166 GB, free: 3.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4532, allocations: 0 / 0.5166 GB, free: 3.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.4537, allocations: 210.4 kB / 0.5168 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4547, allocations: 193.5 kB / 0.517 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008409/0.4632, allocations: 4.058 MB / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.4636, allocations: 0.8052 MB / 0.5217 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004371/0.4641, allocations: 186.9 kB / 0.5219 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.4643, allocations: 139.4 kB / 0.5221 GB, free: 13.26 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4643, allocations: 0 / 0.5221 GB, free: 13.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2629/0.7272, allocations: 34.21 MB / 0.5555 GB, free: 92.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.48, allocations: 6.516 kB / 0.5555 GB, free: 92.46 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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: 19.668181918095797]