Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.001567/0.001567, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001681/0.001681, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 59.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2485, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03641/0.285, allocations: 34.71 MB / 431.1 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03329/0.3182, allocations: 27.15 MB / 458.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.3188, allocations: 7.938 kB / 458.2 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.3198, allocations: 373.9 kB / 458.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.3209, allocations: 0.54 MB / 459.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.3352, allocations: 5.241 MB / 464.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.3372, allocations: 1.375 MB / 465.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.3375, allocations: 122.8 kB / 465.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009134/0.3384, allocations: 0.545 MB / 466.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000575/0.339, allocations: 442.1 kB / 466.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.222e-05/0.3391, allocations: 52 kB / 466.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02519/0.3642, allocations: 12.43 MB / 479.3 MB, free: 15.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.3645, allocations: 151.6 kB / 479.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000448/0.365, allocations: 279 kB / 479.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04296/0.4079, allocations: 14.94 MB / 494.7 MB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.408, allocations: 0 / 494.7 MB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.408, allocations: 0 / 494.7 MB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.408, allocations: 4 kB / 494.7 MB, free: 0.5391 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.008525/0.4165, allocations: 1.385 MB / 496.1 MB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.4166, allocations: 15.98 kB / 496.1 MB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.4167, allocations: 90.53 kB / 496.2 MB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007356/0.4174, allocations: 99.56 kB / 496.3 MB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/0.4182, allocations: 332.3 kB / 496.6 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.4182, allocations: 29 kB / 496.6 MB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.703e-05/0.4183, allocations: 51.95 kB / 496.7 MB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4198, allocations: 0.8252 MB / 497.5 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.4198, allocations: 7.938 kB / 497.5 MB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.4199, allocations: 20 kB / 497.5 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4199, allocations: 12 kB / 497.5 MB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.4211, allocations: 0.5346 MB / 498.1 MB, free: 12.97 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.00475/0.4259, allocations: 2.797 MB / 0.4891 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.4269, allocations: 396 kB / 0.4895 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.4272, allocations: 197.4 kB / 0.4897 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002106/0.4293, allocations: 0.6246 MB / 0.4903 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.4294, allocations: 34.94 kB / 0.4904 GB, free: 8.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.214e-06/0.4294, allocations: 4 kB / 0.4904 GB, free: 8.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009223/0.4386, allocations: 1.893 MB / 0.4922 GB, free: 6.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.4387, allocations: 67.72 kB / 0.4923 GB, free: 6.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.439, allocations: 312.4 kB / 0.4926 GB, free: 6.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.4391, allocations: 33.7 kB / 0.4926 GB, free: 6.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.4393, allocations: 237.1 kB / 0.4928 GB, free: 6.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.4395, allocations: 206.2 kB / 0.493 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.4396, allocations: 122.3 kB / 0.4931 GB, free: 5.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4398, allocations: 346.8 kB / 0.4935 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.4401, allocations: 181.2 kB / 0.4936 GB, free: 5.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.4406, allocations: 328.1 kB / 0.494 GB, free: 4.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.4414, allocations: 0.5445 MB / 0.4945 GB, free: 4.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4414, allocations: 0 / 0.4945 GB, free: 4.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001292/0.4427, allocations: 0.6737 MB / 0.4951 GB, free: 3.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4427, allocations: 8.5 kB / 0.4952 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4427, allocations: 12 kB / 0.4952 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008535/0.4513, allocations: 442 kB / 0.4956 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.4519, allocations: 143.8 kB / 0.4957 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.4547, allocations: 2.986 MB / 0.4986 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.4551, allocations: 16 kB / 0.4987 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.4551, allocations: 31.98 kB / 0.4987 GB, free: 15.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.4555, allocations: 182 kB / 0.4989 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4556, allocations: 47.72 kB / 0.4989 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.4573, allocations: 1.083 MB / 0.5 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4573, allocations: 7.984 kB / 0.5 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.4573, allocations: 7.938 kB / 0.5 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.4587, allocations: 1.106 MB / 0.5011 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.4611, allocations: 1.658 MB / 0.5027 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4611, allocations: 3.938 kB / 0.5027 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.4615, allocations: 99.83 kB / 0.5028 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/0.4644, allocations: 357.1 kB / 0.5031 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.4644, allocations: 16 kB / 0.5031 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008414/0.4652, allocations: 1.152 MB / 0.5043 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4652, allocations: 0 / 0.5043 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.4669, allocations: 1.147 MB / 0.5054 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.467, allocations: 51.64 kB / 0.5054 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.467, allocations: 23.83 kB / 0.5054 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.4673, allocations: 12 kB / 0.5055 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.4673, allocations: 32.44 kB / 0.5055 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.4674, allocations: 28.17 kB / 0.5055 GB, free: 8.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.4677, allocations: 247 kB / 0.5058 GB, free: 8.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4677, allocations: 0 / 0.5058 GB, free: 8.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004738/0.4724, allocations: 0.974 MB / 0.5067 GB, free: 7.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.03156/0.504, allocations: 9.467 MB / 0.5159 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.5057, allocations: 0.6912 MB / 0.5166 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5057, allocations: 3.938 kB / 0.5166 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006496/0.5063, allocations: 352.3 kB / 0.517 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5077, allocations: 272.9 kB / 0.5172 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.5187, allocations: 5.34 MB / 0.5224 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.519, allocations: 264.9 kB / 0.5227 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005378/0.5195, allocations: 241 kB / 0.5229 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.5198, allocations: 199.4 kB / 0.5231 GB, free: 6.301 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5198, allocations: 0 / 0.5231 GB, free: 6.301 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/0.7727, allocations: 43.61 MB / 0.5657 GB, free: 142.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.52, allocations: 7.719 kB / 0.5657 GB, free: 142.2 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.87940581003204]