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: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 109.4 kB / 18.4 MB, free: 4.562 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.001599/0.001599, allocations: 189.3 kB / 19.33 MB, free: 3.645 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.407/1.407, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001369/0.001369, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2436/0.3471, allocations: 37.66 MB / 413.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03552/0.3826, allocations: 30.6 MB / 444.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009449/0.3836, allocations: 11.94 kB / 444.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3853, allocations: 405.7 kB / 444.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.387, allocations: 0.5205 MB / 445 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01767/0.4047, allocations: 5.123 MB / 450.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.407, allocations: 1.355 MB / 451.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.4074, allocations: 173.1 kB / 451.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.4088, allocations: 0.5372 MB / 452.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009415/0.4097, allocations: 442.2 kB / 452.6 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.4099, allocations: 59.94 kB / 452.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03012/0.4401, allocations: 12.79 MB / 465.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.4405, allocations: 147.6 kB / 465.6 MB, free: 5.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.4413, allocations: 330.7 kB / 465.9 MB, free: 5.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04804/0.4893, allocations: 14.91 MB / 480.9 MB, free: 6.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4894, allocations: 0 / 480.9 MB, free: 6.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4894, allocations: 0 / 480.9 MB, free: 6.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.325e-05/0.4894, allocations: 0 / 480.9 MB, free: 6.406 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.009297/0.4987, allocations: 1.424 MB / 482.3 MB, free: 4.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.4988, allocations: 11.89 kB / 482.3 MB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.4997, allocations: 99.39 kB / 482.4 MB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.5004, allocations: 389.8 kB / 482.8 MB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.5004, allocations: 37 kB / 482.8 MB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.5005, allocations: 48 kB / 482.9 MB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.5019, allocations: 0.6127 MB / 483.5 MB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.5019, allocations: 11.84 kB / 483.5 MB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.502, allocations: 20 kB / 483.5 MB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.502, allocations: 16 kB / 483.5 MB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5031, allocations: 0.523 MB / 484 MB, free: 3.09 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.004492/0.5076, allocations: 3.799 MB / 487.8 MB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.5086, allocations: 415.7 kB / 488.2 MB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.5089, allocations: 221.1 kB / 488.5 MB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003893/0.5128, allocations: 3.455 MB / 491.9 MB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.5129, allocations: 38.92 kB / 492 MB, free: 10.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 3.055e-06/0.5129, allocations: 4 kB / 492 MB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009612/0.5225, allocations: 2.024 MB / 494 MB, free: 8.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5226, allocations: 55.84 kB / 494 MB, free: 7.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.523, allocations: 308.4 kB / 494.3 MB, free: 7.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.5231, allocations: 37.64 kB / 494.4 MB, free: 7.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.5233, allocations: 244.6 kB / 494.6 MB, free: 7.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.5235, allocations: 193.2 kB / 494.8 MB, free: 7.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.5237, allocations: 114.3 kB / 494.9 MB, free: 7.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5239, allocations: 346.8 kB / 495.3 MB, free: 6.719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.5242, allocations: 173.2 kB / 495.4 MB, free: 6.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.5247, allocations: 333.1 kB / 495.7 MB, free: 6.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.5255, allocations: 0.5523 MB / 496.3 MB, free: 5.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.5255, allocations: 4 kB / 496.3 MB, free: 5.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00139/0.5269, allocations: 0.6694 MB / 497 MB, free: 4.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.527, allocations: 8 kB / 497 MB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.527, allocations: 7.938 kB / 497 MB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008376/0.5354, allocations: 446.3 kB / 497.4 MB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.536, allocations: 143.8 kB / 497.6 MB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.5386, allocations: 3.089 MB / 0.4889 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.539, allocations: 23.92 kB / 0.4889 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.5391, allocations: 24 kB / 0.489 GB, free: 0.9141 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.0003622/0.5395, allocations: 191.1 kB / 0.4891 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.5396, allocations: 43.44 kB / 0.4892 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.5415, allocations: 1.057 MB / 0.4902 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.5415, allocations: 8 kB / 0.4902 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5415, allocations: 0 / 0.4902 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.5428, allocations: 1.091 MB / 0.4913 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.5454, allocations: 1.729 MB / 0.493 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5454, allocations: 0 / 0.493 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.5458, allocations: 103.9 kB / 0.4931 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.5486, allocations: 353 kB / 0.4934 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.5487, allocations: 12 kB / 0.4934 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.5497, allocations: 1.152 MB / 0.4946 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.5497, allocations: 3.984 kB / 0.4946 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.5514, allocations: 1.128 MB / 0.4957 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.5516, allocations: 124.5 kB / 0.4958 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.5517, allocations: 12 kB / 0.4958 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.552, allocations: 15.94 kB / 0.4958 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.552, allocations: 36.61 kB / 0.4958 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.5521, allocations: 21.11 kB / 0.4959 GB, free: 9.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.5524, allocations: 251 kB / 0.4961 GB, free: 9.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5524, allocations: 0 / 0.4961 GB, free: 9.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007184/0.5596, allocations: 0.9604 MB / 0.497 GB, free: 8.383 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.03436/0.594, allocations: 7.873 MB / 0.5047 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.5961, allocations: 0.7201 MB / 0.5054 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5962, allocations: 0 / 0.5054 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.597, allocations: 371.5 kB / 0.5058 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.5986, allocations: 264.9 kB / 0.506 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.6014, allocations: 1.346 MB / 0.5073 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.602, allocations: 0.8687 MB / 0.5082 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.6022, allocations: 55.44 kB / 0.5083 GB, free: 12.81 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6022, allocations: 0 / 0.5083 GB, free: 12.81 MB / 446.1 MB Notification: Performance of Templates: time 0.04946/0.6516, allocations: 38.75 MB / 0.5461 GB, free: 5.988 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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