Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) 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.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",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.001451/0.001451, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001395/0.001395, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002408/0.002409, allocations: 59.91 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1514, allocations: 46.64 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.04467/0.1961, allocations: 26.6 MB / 354 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.05245/0.2487, allocations: 24.86 MB / 378.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.2494, allocations: 4 kB / 378.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.2509, allocations: 302.3 kB / 379.1 MB, free: 432 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.2526, allocations: 365.9 kB / 379.5 MB, free: 64 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2311/0.4837, allocations: 4.006 MB / 383.5 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.4854, allocations: 0.9394 MB / 384.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.4857, allocations: 106.4 kB / 384.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.4868, allocations: 391.9 kB / 384.9 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.4875, allocations: 302.9 kB / 385.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.4876, allocations: 36.47 kB / 385.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02623/0.5139, allocations: 10.39 MB / 395.6 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.5142, allocations: 103 kB / 395.7 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006343/0.5149, allocations: 226.1 kB / 396 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0612/0.5761, allocations: 11.49 MB / 407.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.5762, allocations: 0.7812 kB / 407.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5762, allocations: 0 / 407.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.5762, allocations: 0.8125 kB / 407.5 MB, free: 4.258 MB / 318.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.01244/0.5887, allocations: 1.137 MB / 408.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.5888, allocations: 12.84 kB / 408.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.589, allocations: 72.47 kB / 408.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.5902, allocations: 60.92 kB / 408.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.5908, allocations: 326.8 kB / 409.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.5909, allocations: 27.28 kB / 409.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/0.591, allocations: 34.5 kB / 409.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5925, allocations: 462.6 kB / 409.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.5925, allocations: 3.562 kB / 409.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.5926, allocations: 20.44 kB / 409.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5927, allocations: 8 kB / 409.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.594, allocations: 383.8 kB / 410 MB, free: 2.059 MB / 318.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.005077/0.5991, allocations: 2.95 MB / 412.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.6004, allocations: 292.4 kB / 413.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.6008, allocations: 134.1 kB / 413.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004445/0.6053, allocations: 2.469 MB / 415.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/0.6054, allocations: 42.98 kB / 415.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 5.821e-06/0.6054, allocations: 0.8125 kB / 415.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.01133/0.6168, allocations: 1.282 MB / 417.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.6169, allocations: 56.72 kB / 417.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.6174, allocations: 259.5 kB / 417.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.6175, allocations: 36.77 kB / 417.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.6178, allocations: 187.7 kB / 417.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.618, allocations: 120.2 kB / 417.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.6183, allocations: 84.69 kB / 417.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003281/0.6186, allocations: 334.3 kB / 418.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.619, allocations: 116.1 kB / 418.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.6196, allocations: 229.1 kB / 418.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.6207, allocations: 375 kB / 418.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.6207, allocations: 0 / 418.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00171/0.6224, allocations: 468.4 kB / 419.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.6225, allocations: 8 kB / 419.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.6225, allocations: 5.719 kB / 419.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008845/0.6314, allocations: 233.8 kB / 419.6 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/0.6323, allocations: 93.67 kB / 419.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.6353, allocations: 1.948 MB / 421.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.6358, allocations: 11.62 kB / 421.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-05/0.636, allocations: 23.48 kB / 421.7 MB, free: 6.77 MB / 334.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.0004395/0.6364, allocations: 164.9 kB / 421.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6367, allocations: 31.66 kB / 421.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.6389, allocations: 0.6904 MB / 422.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.6389, allocations: 4 kB / 422.6 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6389, allocations: 8.797 kB / 422.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001786/0.6407, allocations: 0.8553 MB / 423.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.6437, allocations: 1.194 MB / 424.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.6437, allocations: 0.8125 kB / 424.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.6442, allocations: 67.5 kB / 424.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/0.647, allocations: 174.8 kB / 424.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.6471, allocations: 12.23 kB / 424.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006551/0.6478, allocations: 0.5728 MB / 425.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6478, allocations: 3.938 kB / 425.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.6497, allocations: 0.7352 MB / 426.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.6499, allocations: 108.7 kB / 426.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/0.6501, allocations: 17.56 kB / 426.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.6504, allocations: 4 kB / 426.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.6505, allocations: 29.22 kB / 426.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.6506, allocations: 8 kB / 426.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004277/0.651, allocations: 225.9 kB / 426.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6511, allocations: 0.5 kB / 426.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.009548/0.6606, allocations: 0.7391 MB / 427.3 MB, free: 1.945 MB / 334.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.05348/0.7142, allocations: 7.575 MB / 434.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.7157, allocations: 0.4914 MB / 435.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.7157, allocations: 8 kB / 435.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.7162, allocations: 221.6 kB / 435.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.7175, allocations: 196.4 kB / 435.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.7292, allocations: 4.044 MB / 439.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.7298, allocations: 0.8047 MB / 440.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000618/0.7305, allocations: 190.8 kB / 440.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.7307, allocations: 135.4 kB / 440.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7307, allocations: 0 / 440.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08184/0.8126, allocations: 33.56 MB / 474.5 MB, free: 2.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.4/21.21, allocations: 15.91 kB / 474.5 MB, free: 2.691 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches