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.R134a2.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008693/0.0008696, allocations: 178.1 kB / 17.36 MB, free: 4.324 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.429/1.429, allocations: 205.6 MB / 223.7 MB, free: 8.934 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.0007591/0.0007591, allocations: 90.36 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 12 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2212, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02593/0.2472, allocations: 34.96 MB / 411.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03329/0.2805, allocations: 39.97 MB / 451.5 MB, free: 2.938 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006194/0.2812, allocations: 15.94 kB / 451.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.2824, allocations: 350.3 kB / 451.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.2838, allocations: 0.5013 MB / 452.4 MB, free: 2.074 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01507/0.2989, allocations: 4.151 MB / 456.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.3013, allocations: 2.026 MB / 458.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.3017, allocations: 143.7 kB / 458.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3028, allocations: 466.2 kB / 459.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008256/0.3037, allocations: 458.1 kB / 459.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3038, allocations: 24 kB / 459.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06325/0.3671, allocations: 38.98 MB / 498.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.3674, allocations: 115.6 kB / 498.7 MB, free: 3.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.3681, allocations: 316.5 kB / 499 MB, free: 3.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2668/0.6349, allocations: 26.12 MB / 0.5128 GB, free: 52.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.635, allocations: 0 / 0.5128 GB, free: 52.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.635, allocations: 0 / 0.5128 GB, free: 52.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.635, allocations: 0 / 0.5128 GB, free: 52.71 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01026/0.6452, allocations: 1.317 MB / 0.5141 GB, free: 51.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6453, allocations: 9.375 kB / 0.5141 GB, free: 51.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.646, allocations: 89.39 kB / 0.5142 GB, free: 51.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.6464, allocations: 385.3 kB / 0.5146 GB, free: 51.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.6464, allocations: 35.94 kB / 0.5146 GB, free: 51.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.6465, allocations: 48.22 kB / 0.5147 GB, free: 51.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009811/0.6475, allocations: 0.6153 MB / 0.5153 GB, free: 51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6475, allocations: 3.906 kB / 0.5153 GB, free: 51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.6475, allocations: 28.12 kB / 0.5153 GB, free: 50.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6476, allocations: 16.98 kB / 0.5153 GB, free: 50.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/0.6484, allocations: 0.52 MB / 0.5158 GB, free: 50.63 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.003438/0.6518, allocations: 3.799 MB / 0.5195 GB, free: 47.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.6526, allocations: 427.3 kB / 0.5199 GB, free: 46.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.6529, allocations: 207.5 kB / 0.5201 GB, free: 46.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002477/0.6554, allocations: 3.543 MB / 0.5236 GB, free: 42.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.6554, allocations: 39 kB / 0.5236 GB, free: 42.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.284e-06/0.6554, allocations: 0 / 0.5236 GB, free: 42.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.008103/0.6635, allocations: 2.049 MB / 0.5256 GB, free: 40.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.6636, allocations: 59.59 kB / 0.5257 GB, free: 40.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.6638, allocations: 302.9 kB / 0.526 GB, free: 40.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6639, allocations: 37.64 kB / 0.526 GB, free: 40.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.664, allocations: 230.9 kB / 0.5262 GB, free: 40.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.42e-05/0.6641, allocations: 194.4 kB / 0.5264 GB, free: 40.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.6641, allocations: 14.5 kB / 0.5264 GB, free: 40.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.6642, allocations: 349.8 kB / 0.5268 GB, free: 39.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.6645, allocations: 177.5 kB / 0.5269 GB, free: 39.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.6648, allocations: 334.2 kB / 0.5273 GB, free: 39.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.6654, allocations: 0.5435 MB / 0.5278 GB, free: 39.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6654, allocations: 0 / 0.5278 GB, free: 39.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001109/0.6665, allocations: 0.6714 MB / 0.5284 GB, free: 38.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6666, allocations: 6 kB / 0.5285 GB, free: 38.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6666, allocations: 8 kB / 0.5285 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008201/0.6748, allocations: 447.8 kB / 0.5289 GB, free: 38.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.6754, allocations: 149.5 kB / 0.529 GB, free: 38.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.6767, allocations: 2.989 MB / 0.532 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.6772, allocations: 44.69 kB / 0.532 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.6772, allocations: 28.31 kB / 0.532 GB, free: 34.93 MB / 378.7 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.0002451/0.6775, allocations: 196.1 kB / 0.5322 GB, free: 34.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.6776, allocations: 39.53 kB / 0.5322 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.6789, allocations: 1.05 MB / 0.5333 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.6789, allocations: 18.19 kB / 0.5333 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6789, allocations: 0.8125 kB / 0.5333 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008593/0.6798, allocations: 1.087 MB / 0.5344 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.6816, allocations: 1.733 MB / 0.536 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.6816, allocations: 3.938 kB / 0.536 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.6819, allocations: 105.6 kB / 0.5361 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/0.6849, allocations: 356.4 kB / 0.5365 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.6849, allocations: 17.81 kB / 0.5365 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004612/0.6854, allocations: 1.15 MB / 0.5376 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6854, allocations: 2.844 kB / 0.5376 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.6867, allocations: 1.127 MB / 0.5387 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.6868, allocations: 138.4 kB / 0.5389 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.6869, allocations: 16.62 kB / 0.5389 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.6872, allocations: 32.39 kB / 0.5389 GB, free: 29.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.6873, allocations: 35 kB / 0.5389 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.6874, allocations: 21.06 kB / 0.539 GB, free: 29.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.6876, allocations: 246 kB / 0.5392 GB, free: 29.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6876, allocations: 0 / 0.5392 GB, free: 29.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007498/0.6951, allocations: 0.9669 MB / 0.5401 GB, free: 28.36 MB / 378.7 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.05159/0.7467, allocations: 7.866 MB / 0.5478 GB, free: 20.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.7482, allocations: 0.6942 MB / 0.5485 GB, free: 20.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7482, allocations: 0 / 0.5485 GB, free: 20.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.7487, allocations: 362.9 kB / 0.5488 GB, free: 20.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.7503, allocations: 266.2 kB / 0.5491 GB, free: 19.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.7523, allocations: 1.647 MB / 0.5507 GB, free: 18.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.7526, allocations: 0.8676 MB / 0.5516 GB, free: 17.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.7531, allocations: 245.2 kB / 0.5518 GB, free: 17.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.7533, allocations: 46.56 kB / 0.5518 GB, free: 17.15 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.7533, allocations: 2.625 kB / 0.5518 GB, free: 17.15 MB / 378.7 MB Notification: Performance of Templates: time 0.04833/0.8016, allocations: 35.42 MB / 0.5864 GB, free: 14.25 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches