Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008274/0.0008274, allocations: 183.4 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007681/0.0007684, allocations: 88.33 kB / 294.3 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002432, allocations: 7.938 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1955, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01804/0.2135, allocations: 24.69 MB / 429.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02476/0.2384, allocations: 32.03 MB / 461.3 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.2387, allocations: 4 kB / 461.3 MB, free: 4.547 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.2394, allocations: 250.8 kB / 461.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.2401, allocations: 362.1 kB / 461.9 MB, free: 3.945 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008956/0.2491, allocations: 3.249 MB / 465.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.2504, allocations: 1.399 MB / 466.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.2506, allocations: 81.02 kB / 466.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.2511, allocations: 346.7 kB / 467 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.2515, allocations: 290.8 kB / 467.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.2515, allocations: 20 kB / 467.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04276/0.2943, allocations: 30.52 MB / 497.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.2946, allocations: 87.64 kB / 497.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.2949, allocations: 232.8 kB / 498.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2205/0.5155, allocations: 20.11 MB / 0.5061 GB, free: 51.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5155, allocations: 4.844 kB / 0.5061 GB, free: 51.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5155, allocations: 0 / 0.5061 GB, free: 51.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.5156, allocations: 0 / 0.5061 GB, free: 51.09 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.006912/0.5225, allocations: 1.065 MB / 0.5071 GB, free: 50.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.5225, allocations: 9.25 kB / 0.5071 GB, free: 50.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.523, allocations: 67.2 kB / 0.5072 GB, free: 50.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.5234, allocations: 322 kB / 0.5075 GB, free: 50.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.5234, allocations: 27.41 kB / 0.5075 GB, free: 50.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.5234, allocations: 30.97 kB / 0.5075 GB, free: 50.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.5242, allocations: 467.2 kB / 0.508 GB, free: 50.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5242, allocations: 3.938 kB / 0.508 GB, free: 50.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.5242, allocations: 12.69 kB / 0.508 GB, free: 50.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5243, allocations: 10.41 kB / 0.508 GB, free: 50.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.5249, allocations: 387.8 kB / 0.5084 GB, free: 50.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.00267/0.5276, allocations: 2.947 MB / 0.5113 GB, free: 48.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.5281, allocations: 287.9 kB / 0.5115 GB, free: 48.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.5283, allocations: 130.6 kB / 0.5117 GB, free: 48.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.53, allocations: 2.536 MB / 0.5141 GB, free: 45.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.53, allocations: 38.25 kB / 0.5142 GB, free: 45.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.003e-06/0.53, allocations: 0 / 0.5142 GB, free: 45.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004436/0.5345, allocations: 1.292 MB / 0.5154 GB, free: 45.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.5345, allocations: 58.69 kB / 0.5155 GB, free: 45.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.5348, allocations: 259.7 kB / 0.5157 GB, free: 45.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.5348, allocations: 31.08 kB / 0.5158 GB, free: 45.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5349, allocations: 186.6 kB / 0.5159 GB, free: 44.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.535, allocations: 121 kB / 0.5161 GB, free: 44.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.535, allocations: 8.75 kB / 0.5161 GB, free: 44.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.5351, allocations: 336.3 kB / 0.5164 GB, free: 44.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.5353, allocations: 117.2 kB / 0.5165 GB, free: 44.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.5356, allocations: 227.3 kB / 0.5167 GB, free: 44.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.536, allocations: 373.4 kB / 0.5171 GB, free: 44.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5361, allocations: 0 / 0.5171 GB, free: 44.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007228/0.5368, allocations: 464.6 kB / 0.5175 GB, free: 44.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5368, allocations: 6.781 kB / 0.5175 GB, free: 44.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5368, allocations: 5.312 kB / 0.5175 GB, free: 44.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/0.541, allocations: 239.1 kB / 0.5178 GB, free: 44.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.5413, allocations: 91.36 kB / 0.5178 GB, free: 44.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.5422, allocations: 1.837 MB / 0.5196 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.5425, allocations: 35.06 kB / 0.5197 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.5425, allocations: 29.75 kB / 0.5197 GB, free: 42.37 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.0001454/0.5426, allocations: 169.7 kB / 0.5199 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.5427, allocations: 31.28 kB / 0.5199 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008136/0.5435, allocations: 0.6858 MB / 0.5206 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.5435, allocations: 12.23 kB / 0.5206 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5435, allocations: 3.594 kB / 0.5206 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005748/0.5441, allocations: 0.8628 MB / 0.5214 GB, free: 41.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.5453, allocations: 1.184 MB / 0.5226 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5453, allocations: 7.438 kB / 0.5226 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.5455, allocations: 57.42 kB / 0.5226 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.547, allocations: 183.6 kB / 0.5228 GB, free: 41.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.5471, allocations: 8.969 kB / 0.5228 GB, free: 41.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002082/0.5473, allocations: 0.5739 MB / 0.5234 GB, free: 40.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5473, allocations: 2.844 kB / 0.5234 GB, free: 40.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/0.548, allocations: 0.7405 MB / 0.5241 GB, free: 40.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.5481, allocations: 120.8 kB / 0.5242 GB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.5482, allocations: 7.938 kB / 0.5242 GB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.5484, allocations: 25.62 kB / 0.5242 GB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.5485, allocations: 18.05 kB / 0.5243 GB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.5485, allocations: 15.8 kB / 0.5243 GB, free: 40.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.5487, allocations: 221 kB / 0.5245 GB, free: 40.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5487, allocations: 0 / 0.5245 GB, free: 40.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004928/0.5536, allocations: 0.7433 MB / 0.5252 GB, free: 40.33 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.03329/0.5869, allocations: 6.393 MB / 0.5315 GB, free: 37.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008319/0.5878, allocations: 475.9 kB / 0.5319 GB, free: 37.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5878, allocations: 4 kB / 0.5319 GB, free: 37.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.5881, allocations: 220.2 kB / 0.5321 GB, free: 37.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5892, allocations: 190.4 kB / 0.5323 GB, free: 37.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5904, allocations: 1.122 MB / 0.5334 GB, free: 36.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.5906, allocations: 0.8016 MB / 0.5342 GB, free: 35.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.591, allocations: 190.6 kB / 0.5344 GB, free: 35.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.591, allocations: 40.94 kB / 0.5344 GB, free: 35.51 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.591, allocations: 0 / 0.5344 GB, free: 35.51 MB / 378.7 MB Notification: Performance of Templates: time 0.03155/0.6226, allocations: 28.54 MB / 0.5623 GB, free: 9.613 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches