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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 113.4 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 188.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 52.14 kB / 328 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/0.08683, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2035/0.2903, allocations: 37.66 MB / 412.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03161/0.322, allocations: 30.6 MB / 442.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/0.3226, allocations: 11.94 kB / 442.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3237, allocations: 409.7 kB / 443.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009783/0.3247, allocations: 0.5127 MB / 443.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.3373, allocations: 5.13 MB / 449 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.3389, allocations: 1.359 MB / 450.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.3392, allocations: 175.3 kB / 450.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.3399, allocations: 0.5372 MB / 451 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.3404, allocations: 438.3 kB / 451.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.3404, allocations: 52 kB / 451.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02191/0.3624, allocations: 12.8 MB / 464.3 MB, free: 6.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.3627, allocations: 147.5 kB / 464.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.3632, allocations: 322.7 kB / 464.8 MB, free: 5.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03433/0.3975, allocations: 14.91 MB / 479.7 MB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3976, allocations: 4 kB / 479.7 MB, free: 6.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3976, allocations: 0 / 479.7 MB, free: 6.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.3976, allocations: 0 / 479.7 MB, free: 6.688 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.00779/0.4054, allocations: 1.424 MB / 481.1 MB, free: 5.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4055, allocations: 11.89 kB / 481.1 MB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.4056, allocations: 86.52 kB / 481.2 MB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000734/0.4064, allocations: 95.33 kB / 481.3 MB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.407, allocations: 397.8 kB / 481.7 MB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.407, allocations: 37.88 kB / 481.7 MB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.4071, allocations: 51.91 kB / 481.8 MB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.4083, allocations: 0.6166 MB / 482.4 MB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.4083, allocations: 0 / 482.4 MB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/0.4084, allocations: 24 kB / 482.4 MB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4084, allocations: 15.94 kB / 482.4 MB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/0.4094, allocations: 0.5268 MB / 483 MB, free: 3.27 MB / 398.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.00428/0.4137, allocations: 3.801 MB / 486.8 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.4145, allocations: 415.7 kB / 487.2 MB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.4148, allocations: 213.2 kB / 487.4 MB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002988/0.4178, allocations: 3.459 MB / 490.8 MB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4179, allocations: 38.94 kB / 490.9 MB, free: 10.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.973e-06/0.4179, allocations: 0 / 490.9 MB, free: 10.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.008866/0.4268, allocations: 2.028 MB / 492.9 MB, free: 8.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4268, allocations: 59.78 kB / 493 MB, free: 8.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.4271, allocations: 304.5 kB / 493.3 MB, free: 7.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.4272, allocations: 37.7 kB / 493.3 MB, free: 7.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4273, allocations: 228.6 kB / 493.5 MB, free: 7.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.4275, allocations: 197.2 kB / 493.7 MB, free: 7.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.4276, allocations: 114.3 kB / 493.8 MB, free: 7.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4278, allocations: 346.8 kB / 494.2 MB, free: 6.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.4281, allocations: 185.2 kB / 494.3 MB, free: 6.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.4284, allocations: 332.1 kB / 494.7 MB, free: 6.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.4292, allocations: 0.5446 MB / 495.2 MB, free: 5.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4292, allocations: 4 kB / 495.2 MB, free: 5.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00135/0.4305, allocations: 0.6737 MB / 495.9 MB, free: 5.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4306, allocations: 11.88 kB / 495.9 MB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.4306, allocations: 7.625 kB / 495.9 MB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008625/0.4392, allocations: 450.2 kB / 496.3 MB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.4399, allocations: 143.8 kB / 496.5 MB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.4418, allocations: 3.085 MB / 499.6 MB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.4422, allocations: 23.94 kB / 499.6 MB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.4422, allocations: 24 kB / 499.6 MB, free: 1.098 MB / 414.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.0002616/0.4425, allocations: 189.6 kB / 499.8 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.4426, allocations: 43.53 kB / 499.8 MB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.4441, allocations: 1.054 MB / 0.4892 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4442, allocations: 11.98 kB / 0.4892 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4442, allocations: 0 / 0.4892 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.4453, allocations: 1.091 MB / 0.4902 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.4475, allocations: 1.729 MB / 0.4919 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4475, allocations: 0 / 0.4919 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.4479, allocations: 107.8 kB / 0.492 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.4508, allocations: 349.1 kB / 0.4924 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.4509, allocations: 19.98 kB / 0.4924 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006527/0.4516, allocations: 1.144 MB / 0.4935 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4516, allocations: 0 / 0.4935 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.4531, allocations: 1.124 MB / 0.4946 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.4532, allocations: 124.4 kB / 0.4947 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.4533, allocations: 15.38 kB / 0.4947 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.4536, allocations: 15.94 kB / 0.4947 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.4537, allocations: 32.52 kB / 0.4948 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.4537, allocations: 28.08 kB / 0.4948 GB, free: 9.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.454, allocations: 247 kB / 0.495 GB, free: 9.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.454, allocations: 4 kB / 0.495 GB, free: 9.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005083/0.4591, allocations: 0.9565 MB / 0.496 GB, free: 8.57 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.03105/0.4901, allocations: 9.448 MB / 0.5052 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.4919, allocations: 0.7213 MB / 0.5059 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.492, allocations: 0 / 0.5059 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.4926, allocations: 363.5 kB / 0.5062 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.4942, allocations: 265.8 kB / 0.5065 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.5053, allocations: 5.297 MB / 0.5117 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.5058, allocations: 0.8687 MB / 0.5125 GB, free: 7.328 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005433/0.5063, allocations: 240.1 kB / 0.5128 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.5066, allocations: 199.4 kB / 0.5129 GB, free: 6.895 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5066, allocations: 0 / 0.5129 GB, free: 6.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2333/0.7399, allocations: 42.45 MB / 0.5544 GB, free: 147.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15, allocations: 3.125 kB / 0.5544 GB, free: 147.6 MB / 478.1 MB (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 --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) 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) Reference file matches