Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008806/0.0008809, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.6 MB / 223.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000771/0.0007713, allocations: 88.16 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01926/0.246, allocations: 24.71 MB / 401.3 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02403/0.2701, allocations: 32.05 MB / 433.4 MB, free: 5.727 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/0.2706, allocations: 4 kB / 433.4 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008831/0.2715, allocations: 242.8 kB / 433.6 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008313/0.2724, allocations: 354.1 kB / 433.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01069/0.2831, allocations: 3.246 MB / 437.2 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.2847, allocations: 1.399 MB / 438.6 MB, free: 480 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.2849, allocations: 82.08 kB / 438.7 MB, free: 396 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006516/0.2856, allocations: 334.8 kB / 439 MB, free: 60 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.286, allocations: 310.7 kB / 439.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.2861, allocations: 16 kB / 439.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04951/0.3356, allocations: 30.52 MB / 469.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.3359, allocations: 79.72 kB / 469.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.3364, allocations: 236.8 kB / 470.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05943/0.3959, allocations: 20.12 MB / 490.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.3959, allocations: 3.938 kB / 490.3 MB, free: 12.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.396, allocations: 4 kB / 490.3 MB, free: 12.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.396, allocations: 0 / 490.3 MB, free: 12.56 MB / 378.7 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.00727/0.4033, allocations: 1.061 MB / 491.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.4034, allocations: 12.03 kB / 491.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.4041, allocations: 75.38 kB / 491.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.4047, allocations: 314.8 kB / 491.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.4048, allocations: 32.66 kB / 491.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.4048, allocations: 32 kB / 491.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.4059, allocations: 459.8 kB / 492.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.4059, allocations: 0 / 492.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.406, allocations: 20 kB / 492.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4061, allocations: 11.94 kB / 492.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.4068, allocations: 386.2 kB / 492.6 MB, free: 10.06 MB / 378.7 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.003712/0.4105, allocations: 2.945 MB / 495.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.4112, allocations: 293.6 kB / 495.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.4114, allocations: 133.3 kB / 496 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002306/0.4137, allocations: 2.533 MB / 498.5 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4137, allocations: 42.55 kB / 498.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.4137, allocations: 4 kB / 498.6 MB, free: 3.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00516/0.4189, allocations: 1.293 MB / 499.9 MB, free: 1.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.419, allocations: 51.41 kB / 499.9 MB, free: 1.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.4193, allocations: 258.6 kB / 0.4885 GB, free: 1.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4193, allocations: 33.7 kB / 0.4885 GB, free: 1.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4195, allocations: 195.9 kB / 0.4887 GB, free: 1.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.4196, allocations: 118.3 kB / 0.4888 GB, free: 1.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.4196, allocations: 16 kB / 0.4888 GB, free: 1.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4197, allocations: 334.8 kB / 0.4891 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.4199, allocations: 108.8 kB / 0.4892 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.4202, allocations: 234 kB / 0.4894 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.4207, allocations: 373.5 kB / 0.4898 GB, free: 176 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4207, allocations: 0 / 0.4898 GB, free: 176 kB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.1759/0.5966, allocations: 450.7 kB / 0.4902 GB, free: 108.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.5967, allocations: 4.938 kB / 0.4902 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.5967, allocations: 3.969 kB / 0.4902 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005691/0.6024, allocations: 248.5 kB / 0.4905 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.6029, allocations: 90.34 kB / 0.4906 GB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.6043, allocations: 1.841 MB / 0.4924 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.6048, allocations: 27.91 kB / 0.4924 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.6048, allocations: 22.25 kB / 0.4924 GB, free: 106.3 MB / 378.7 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.0002627/0.6051, allocations: 170.6 kB / 0.4926 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.239e-05/0.6052, allocations: 29.31 kB / 0.4926 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.6065, allocations: 0.6884 MB / 0.4933 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.6065, allocations: 11.59 kB / 0.4933 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6066, allocations: 3.938 kB / 0.4933 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000888/0.6074, allocations: 0.864 MB / 0.4941 GB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.6092, allocations: 1.191 MB / 0.4953 GB, free: 104.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.6093, allocations: 3.969 kB / 0.4953 GB, free: 104.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.6096, allocations: 61.78 kB / 0.4954 GB, free: 104.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002065/0.6117, allocations: 184 kB / 0.4955 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.6117, allocations: 11.03 kB / 0.4955 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002934/0.612, allocations: 0.5776 MB / 0.4961 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6121, allocations: 0 / 0.4961 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.6133, allocations: 0.7283 MB / 0.4968 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.6135, allocations: 125.6 kB / 0.4969 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.6136, allocations: 15.75 kB / 0.497 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.6139, allocations: 24.02 kB / 0.497 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.6141, allocations: 18.66 kB / 0.497 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.6141, allocations: 15.23 kB / 0.497 GB, free: 103.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003594/0.6145, allocations: 218.7 kB / 0.4972 GB, free: 103.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6145, allocations: 0 / 0.4972 GB, free: 103.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005045/0.6196, allocations: 0.7384 MB / 0.4979 GB, free: 103.3 MB / 378.7 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.03456/0.6541, allocations: 6.394 MB / 0.5042 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.6551, allocations: 473.1 kB / 0.5046 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6552, allocations: 6.531 kB / 0.5046 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.6555, allocations: 227.3 kB / 0.5049 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6567, allocations: 184.8 kB / 0.505 GB, free: 99.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.6581, allocations: 1.12 MB / 0.5061 GB, free: 99.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.6584, allocations: 0.8033 MB / 0.5069 GB, free: 98.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.6588, allocations: 193.1 kB / 0.5071 GB, free: 98.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.6589, allocations: 41.55 kB / 0.5071 GB, free: 98.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6589, allocations: 0 / 0.5071 GB, free: 98.37 MB / 378.7 MB Notification: Performance of Templates: time 0.03165/0.6906, allocations: 28.54 MB / 0.535 GB, free: 70.39 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches