Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_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.001459/0.001459, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001668/0.001668, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2352, allocations: 49.42 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03441/0.2697, allocations: 37.64 MB / 437.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03046/0.3002, allocations: 30.6 MB / 468.5 MB, free: 4.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.3008, allocations: 7.938 kB / 468.5 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.3021, allocations: 401.7 kB / 468.9 MB, free: 3.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.3034, allocations: 0.5166 MB / 469.4 MB, free: 3.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01383/0.3173, allocations: 5.138 MB / 474.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.319, allocations: 1.355 MB / 475.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.3194, allocations: 178.5 kB / 476.1 MB, free: 12.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.3205, allocations: 0.5294 MB / 476.6 MB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007689/0.3213, allocations: 438.3 kB / 477 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3214, allocations: 52 kB / 477.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/0.3432, allocations: 12.8 MB / 489.9 MB, free: 14.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.3436, allocations: 151.5 kB / 490 MB, free: 14.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006698/0.3443, allocations: 318.8 kB / 490.3 MB, free: 14.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03407/0.3783, allocations: 14.92 MB / 0.4934 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3784, allocations: 0 / 0.4934 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3784, allocations: 0 / 0.4934 GB, free: 15.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.3784, allocations: 0 / 0.4934 GB, free: 15.49 MB / 430.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.00824/0.3867, allocations: 1.415 MB / 0.4948 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3868, allocations: 15.97 kB / 0.4948 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3869, allocations: 90.52 kB / 0.4949 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007488/0.3876, allocations: 95.23 kB / 0.495 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.3883, allocations: 385.9 kB / 0.4954 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.3883, allocations: 40.98 kB / 0.4954 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.3884, allocations: 48 kB / 0.4954 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3896, allocations: 0.6244 MB / 0.496 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3897, allocations: 0 / 0.496 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.3897, allocations: 24 kB / 0.4961 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3898, allocations: 12 kB / 0.4961 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009984/0.3908, allocations: 0.5307 MB / 0.4966 GB, free: 12.07 MB / 430.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.004355/0.3951, allocations: 3.811 MB / 0.5003 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.396, allocations: 407.8 kB / 0.5007 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.3963, allocations: 213.2 kB / 0.5009 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002988/0.3993, allocations: 3.451 MB / 0.5043 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3994, allocations: 42.94 kB / 0.5043 GB, free: 3.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 1.884e-06/0.3994, allocations: 4 kB / 0.5043 GB, free: 3.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.008881/0.4083, allocations: 2.017 MB / 0.5063 GB, free: 1.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4083, allocations: 67.78 kB / 0.5064 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.4087, allocations: 300.5 kB / 0.5066 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.4087, allocations: 41.64 kB / 0.5067 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.4089, allocations: 240.6 kB / 0.5069 GB, free: 380 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.409, allocations: 185.2 kB / 0.5071 GB, free: 192 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.4092, allocations: 114.3 kB / 0.5072 GB, free: 72 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4093, allocations: 350.8 kB / 0.5075 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.4096, allocations: 181.2 kB / 0.5077 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.41, allocations: 328 kB / 0.508 GB, free: 15.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.4108, allocations: 0.5524 MB / 0.5086 GB, free: 14.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4108, allocations: 3.938 kB / 0.5086 GB, free: 14.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001225/0.412, allocations: 0.6734 MB / 0.5092 GB, free: 13.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.412, allocations: 11.94 kB / 0.5092 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.412, allocations: 4 kB / 0.5092 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008559/0.4206, allocations: 450.5 kB / 0.5097 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.4212, allocations: 139.8 kB / 0.5098 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.4232, allocations: 3.097 MB / 0.5128 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.4235, allocations: 12 kB / 0.5128 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.4236, allocations: 28 kB / 0.5129 GB, free: 9.906 MB / 446.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.0002568/0.4238, allocations: 199.5 kB / 0.5131 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.424, allocations: 39.53 kB / 0.5131 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.4254, allocations: 1.048 MB / 0.5141 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.4254, allocations: 15.98 kB / 0.5141 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4254, allocations: 3.938 kB / 0.5141 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/0.4266, allocations: 1.091 MB / 0.5152 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.4286, allocations: 1.718 MB / 0.5169 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4287, allocations: 3.938 kB / 0.5169 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.429, allocations: 99.88 kB / 0.517 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/0.4319, allocations: 353 kB / 0.5173 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.432, allocations: 15.98 kB / 0.5173 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006203/0.4326, allocations: 1.14 MB / 0.5184 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4326, allocations: 4 kB / 0.5184 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.434, allocations: 1.128 MB / 0.5195 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4342, allocations: 132.5 kB / 0.5197 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.4342, allocations: 19.84 kB / 0.5197 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.4345, allocations: 8 kB / 0.5197 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.4345, allocations: 36.52 kB / 0.5197 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.4346, allocations: 20.08 kB / 0.5198 GB, free: 2.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.4348, allocations: 251 kB / 0.52 GB, free: 2.344 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.4348, allocations: 0 / 0.52 GB, free: 2.344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004817/0.4397, allocations: 0.9643 MB / 0.5209 GB, free: 1.379 MB / 446.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.03092/0.4706, allocations: 9.441 MB / 0.5302 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.4725, allocations: 0.7229 MB / 0.5309 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4725, allocations: 4 kB / 0.5309 GB, free: 7.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006445/0.4731, allocations: 360.6 kB / 0.5312 GB, free: 6.797 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.4747, allocations: 265 kB / 0.5315 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.4859, allocations: 5.308 MB / 0.5366 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.4865, allocations: 0.8569 MB / 0.5375 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.1922/0.6787, allocations: 235.8 kB / 0.5377 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.6791, allocations: 201.9 kB / 0.5379 GB, free: 126.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6791, allocations: 0 / 0.5379 GB, free: 126.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06376/0.7429, allocations: 42.47 MB / 0.5794 GB, free: 93.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.4, allocations: 6.906 kB / 0.5794 GB, free: 93.2 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches