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.001285/0.001285, allocations: 114.5 kB / 17.73 MB, free: 5.297 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.00131/0.00131, allocations: 187 kB / 18.67 MB, free: 4.367 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.367/1.367, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001712/0.001712, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08299/0.08471, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1951/0.2799, allocations: 37.66 MB / 412.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03466/0.3146, allocations: 30.6 MB / 442.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.3152, allocations: 11.94 kB / 442.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.3165, allocations: 409.7 kB / 443.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.3177, allocations: 0.5166 MB / 443.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01423/0.332, allocations: 5.121 MB / 449 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.3339, allocations: 1.355 MB / 450.3 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.3342, allocations: 174.5 kB / 450.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.3351, allocations: 0.5372 MB / 451 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.3356, allocations: 450.2 kB / 451.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.3357, allocations: 52 kB / 451.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02614/0.3619, allocations: 12.79 MB / 464.3 MB, free: 6.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.3622, allocations: 147.5 kB / 464.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.3627, allocations: 330.7 kB / 464.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04267/0.4054, allocations: 14.92 MB / 479.7 MB, free: 6.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4055, allocations: 4 kB / 479.7 MB, free: 6.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4055, allocations: 4 kB / 479.7 MB, free: 6.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.4055, allocations: 0 / 479.7 MB, free: 6.656 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.007297/0.4128, allocations: 1.464 MB / 481.2 MB, free: 5.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4129, allocations: 15.89 kB / 481.2 MB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.83e-05/0.413, allocations: 86.52 kB / 481.3 MB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006837/0.4137, allocations: 99.56 kB / 481.4 MB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.4142, allocations: 402 kB / 481.8 MB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.4143, allocations: 37 kB / 481.8 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.4144, allocations: 44 kB / 481.8 MB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4155, allocations: 0.6166 MB / 482.5 MB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.4156, allocations: 7.891 kB / 482.5 MB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.4156, allocations: 24 kB / 482.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.4156, allocations: 12 kB / 482.5 MB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.4167, allocations: 0.5346 MB / 483 MB, free: 3.176 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.004241/0.4209, allocations: 3.797 MB / 486.8 MB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.4219, allocations: 419.7 kB / 487.2 MB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.4222, allocations: 217.2 kB / 487.5 MB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003407/0.4256, allocations: 3.451 MB / 490.9 MB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.4257, allocations: 38.94 kB / 491 MB, free: 10.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.4257, allocations: 0 / 491 MB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009292/0.435, allocations: 2.032 MB / 493 MB, free: 8.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4351, allocations: 67.72 kB / 493 MB, free: 8.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.4354, allocations: 304.5 kB / 493.3 MB, free: 7.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.4355, allocations: 41.69 kB / 493.4 MB, free: 7.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4356, allocations: 229.2 kB / 493.6 MB, free: 7.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.4358, allocations: 206.2 kB / 493.8 MB, free: 7.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.436, allocations: 118.3 kB / 493.9 MB, free: 7.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4361, allocations: 350.8 kB / 494.3 MB, free: 6.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.4365, allocations: 177.2 kB / 494.4 MB, free: 6.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.4369, allocations: 333 kB / 494.8 MB, free: 6.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.4378, allocations: 0.5484 MB / 495.3 MB, free: 5.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4378, allocations: 10.81 kB / 495.3 MB, free: 5.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001312/0.4391, allocations: 0.6702 MB / 496 MB, free: 4.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4391, allocations: 11.94 kB / 496 MB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4391, allocations: 4 kB / 496 MB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008544/0.4477, allocations: 446.2 kB / 496.4 MB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.4483, allocations: 143.8 kB / 496.6 MB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.4508, allocations: 3.085 MB / 499.7 MB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.4512, allocations: 19.94 kB / 499.7 MB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.4512, allocations: 31.98 kB / 499.7 MB, free: 0.9805 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.0002969/0.4515, allocations: 187.1 kB / 499.9 MB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.4517, allocations: 43.72 kB / 500 MB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.4533, allocations: 1.055 MB / 0.4893 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.4534, allocations: 15.98 kB / 0.4893 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4534, allocations: 0 / 0.4893 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/0.4546, allocations: 1.087 MB / 0.4903 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.457, allocations: 1.731 MB / 0.492 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.457, allocations: 0 / 0.492 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.4574, allocations: 99.83 kB / 0.4921 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/0.4603, allocations: 357 kB / 0.4925 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.4603, allocations: 15.98 kB / 0.4925 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007558/0.4611, allocations: 1.148 MB / 0.4936 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4611, allocations: 3.984 kB / 0.4936 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.4627, allocations: 1.125 MB / 0.4947 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4628, allocations: 124.7 kB / 0.4948 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.4629, allocations: 13.62 kB / 0.4948 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.4631, allocations: 11.94 kB / 0.4948 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.4632, allocations: 40.55 kB / 0.4949 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.4633, allocations: 24.08 kB / 0.4949 GB, free: 9.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.4636, allocations: 251 kB / 0.4951 GB, free: 9.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.4636, allocations: 0 / 0.4951 GB, free: 9.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004699/0.4683, allocations: 0.9778 MB / 0.4961 GB, free: 8.434 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.03092/0.4992, allocations: 9.46 MB / 0.5053 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.5009, allocations: 0.7163 MB / 0.506 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5009, allocations: 4 kB / 0.506 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.5016, allocations: 367.5 kB / 0.5064 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.503, allocations: 264.9 kB / 0.5066 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.5137, allocations: 5.333 MB / 0.5119 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.5142, allocations: 0.8687 MB / 0.5127 GB, free: 7.137 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005459/0.5148, allocations: 236.1 kB / 0.5129 GB, free: 6.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.5151, allocations: 203.4 kB / 0.5131 GB, free: 6.703 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5151, allocations: 0 / 0.5131 GB, free: 6.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2321/0.7472, allocations: 42.21 MB / 0.5543 GB, free: 147.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.74, allocations: 5.078 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