Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00113/0.00113, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6802/0.6802, allocations: 91.19 MB / 382.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 75.88 kB / 0.5175 GB, free: 4.141 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2801, allocations: 67.68 MB / 0.5836 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04502/0.3252, allocations: 47.36 MB / 0.6299 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.3383, allocations: 12.44 MB / 0.642 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.3387, allocations: 19.88 kB / 0.642 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.3395, allocations: 278.2 kB / 0.6423 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3409, allocations: 0.5436 MB / 0.6428 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.3428, allocations: 0.7383 MB / 0.6435 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.3438, allocations: 0.9025 MB / 0.6444 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.344, allocations: 173.4 kB / 0.6446 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02846/0.3725, allocations: 12.56 MB / 0.6569 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.3731, allocations: 390.4 kB / 0.6572 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.3732, allocations: 52 kB / 0.6573 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1149/0.4881, allocations: 53 MB / 0.709 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.4884, allocations: 159.4 kB / 0.7092 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.4889, allocations: 318.4 kB / 0.7095 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.4909, allocations: 1.118 MB / 0.7106 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4909, allocations: 0 / 0.7106 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4909, allocations: 3.938 kB / 0.7106 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.4909, allocations: 0 / 0.7106 GB, free: 11.14 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002188/0.4931, allocations: 1.04 MB / 0.7116 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4932, allocations: 12.03 kB / 0.7116 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.4933, allocations: 64.19 kB / 0.7117 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.4942, allocations: 0.5015 MB / 0.7122 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.4943, allocations: 96.28 kB / 0.7122 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.4944, allocations: 51.89 kB / 0.7123 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.4956, allocations: 0.6575 MB / 0.7129 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4956, allocations: 4 kB / 0.7129 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.4957, allocations: 16 kB / 0.713 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.4957, allocations: 21 kB / 0.713 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.4969, allocations: 0.6675 MB / 0.7136 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.5004, allocations: 2.447 MB / 0.716 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.502, allocations: 0.6889 MB / 0.7167 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.5027, allocations: 370.4 kB / 0.717 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002372/0.505, allocations: 2.631 MB / 0.7196 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5051, allocations: 47 kB / 0.7197 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/0.5051, allocations: 0 / 0.7197 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.004095/0.5092, allocations: 2.194 MB / 0.7218 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.5093, allocations: 115.3 kB / 0.7219 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.5097, allocations: 414 kB / 0.7223 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.5097, allocations: 41.7 kB / 0.7224 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5099, allocations: 232.9 kB / 0.7226 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.5101, allocations: 228.7 kB / 0.7228 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.5102, allocations: 110.2 kB / 0.7229 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5104, allocations: 366.8 kB / 0.7232 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.5109, allocations: 269.1 kB / 0.7235 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.5114, allocations: 345.4 kB / 0.7238 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5125, allocations: 0.6174 MB / 0.7244 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5125, allocations: 4 kB / 0.7244 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00156/0.5141, allocations: 0.8425 MB / 0.7253 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5141, allocations: 8 kB / 0.7253 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5142, allocations: 4 kB / 0.7253 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.5146, allocations: 128.8 kB / 0.7254 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.5151, allocations: 115.8 kB / 0.7255 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.5177, allocations: 2.476 MB / 0.7279 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.5181, allocations: 20.02 kB / 0.7279 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.5181, allocations: 31.91 kB / 0.728 GB, free: 8.125 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.5184, allocations: 197.6 kB / 0.7282 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5185, allocations: 55.41 kB / 0.7282 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.5204, allocations: 1.055 MB / 0.7292 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.5205, allocations: 3.984 kB / 0.7292 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.5205, allocations: 4 kB / 0.7293 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.5207, allocations: 188.4 kB / 0.7294 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/0.5208, allocations: 15.98 kB / 0.7294 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.5211, allocations: 20 kB / 0.7295 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.5212, allocations: 56.41 kB / 0.7295 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002044/0.5233, allocations: 0.9248 MB / 0.7304 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001897/0.5252, allocations: 1.259 MB / 0.7317 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005175/0.5257, allocations: 324.3 kB / 0.732 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003235/0.5261, allocations: 318.9 kB / 0.7323 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of Backend: time 1.623e-06/0.5261, allocations: 0 / 0.7323 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.5282, allocations: 1.072 MB / 0.7333 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002281/0.5305, allocations: 1.87 MB / 0.7351 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of Templates: time 0.2397/0.7702, allocations: 15.37 MB / 0.7501 GB, free: 144.4 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches