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.007037/0.007037, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001525/0.001525, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6253/0.6253, allocations: 91.2 MB / 381.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 71.89 kB / 0.5168 GB, free: 9.027 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 67.7 MB / 0.5829 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2923/0.4026, allocations: 47.35 MB / 0.6292 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.4164, allocations: 12.45 MB / 0.6413 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008151/0.4173, allocations: 18.81 kB / 0.6414 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.4181, allocations: 271.8 kB / 0.6416 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.4196, allocations: 0.5374 MB / 0.6421 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.4216, allocations: 0.7463 MB / 0.6429 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4226, allocations: 0.9007 MB / 0.6437 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.4229, allocations: 165.2 kB / 0.6439 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03058/0.4535, allocations: 12.56 MB / 0.6562 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.454, allocations: 394.5 kB / 0.6565 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.497e-05/0.4541, allocations: 53.28 kB / 0.6566 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1124/0.5666, allocations: 53 MB / 0.7083 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.5668, allocations: 151.4 kB / 0.7085 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.5673, allocations: 314.4 kB / 0.7088 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.5693, allocations: 1.118 MB / 0.7099 GB, free: 5.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5693, allocations: 0 / 0.7099 GB, free: 5.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5693, allocations: 3.938 kB / 0.7099 GB, free: 5.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.5693, allocations: 0 / 0.7099 GB, free: 5.719 MB / 0.545 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.001961/0.5713, allocations: 1.056 MB / 0.7109 GB, free: 4.613 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.5713, allocations: 8.031 kB / 0.7109 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.5714, allocations: 72.19 kB / 0.711 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.5721, allocations: 0.4939 MB / 0.7115 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.78e-05/0.5722, allocations: 96.33 kB / 0.7116 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.5723, allocations: 47.91 kB / 0.7116 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009924/0.5733, allocations: 0.6614 MB / 0.7123 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.5734, allocations: 4 kB / 0.7123 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.5734, allocations: 20.86 kB / 0.7123 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.5735, allocations: 20.98 kB / 0.7123 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.5745, allocations: 0.6636 MB / 0.713 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.5778, allocations: 2.451 MB / 0.7153 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.5793, allocations: 0.6971 MB / 0.716 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.5799, allocations: 366.4 kB / 0.7164 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002535/0.5825, allocations: 2.635 MB / 0.719 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.5825, allocations: 47.06 kB / 0.719 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/0.5826, allocations: 0 / 0.719 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.003981/0.5865, allocations: 2.186 MB / 0.7211 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.5866, allocations: 119.4 kB / 0.7212 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.587, allocations: 414 kB / 0.7216 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.5871, allocations: 33.7 kB / 0.7217 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.5872, allocations: 232.9 kB / 0.7219 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.5874, allocations: 220.8 kB / 0.7221 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.5876, allocations: 122 kB / 0.7222 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5877, allocations: 366.8 kB / 0.7226 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.5882, allocations: 269.1 kB / 0.7228 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.5887, allocations: 337.5 kB / 0.7231 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009958/0.5897, allocations: 0.6213 MB / 0.7238 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5897, allocations: 0 / 0.7238 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001481/0.5912, allocations: 0.8542 MB / 0.7246 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5913, allocations: 4 kB / 0.7246 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.5913, allocations: 4 kB / 0.7246 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.5917, allocations: 136.4 kB / 0.7247 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.5922, allocations: 107.8 kB / 0.7248 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.5947, allocations: 2.48 MB / 0.7273 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.5951, allocations: 19.98 kB / 0.7273 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.5951, allocations: 27.92 kB / 0.7273 GB, free: 2.695 MB / 0.5606 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.0002275/0.5954, allocations: 197.7 kB / 0.7275 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5955, allocations: 55.34 kB / 0.7275 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.5973, allocations: 1.048 MB / 0.7286 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5973, allocations: 7.938 kB / 0.7286 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5973, allocations: 4 kB / 0.7286 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5973, allocations: 7.984 kB / 0.7286 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.5998, allocations: 1.655 MB / 0.7302 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5998, allocations: 4 kB / 0.7302 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.6003, allocations: 100.7 kB / 0.7303 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003628/0.6007, allocations: 136.9 kB / 0.7304 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.6007, allocations: 23.98 kB / 0.7305 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.6031, allocations: 2.48 MB / 0.7329 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6031, allocations: 0 / 0.7329 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.6051, allocations: 1.282 MB / 0.7341 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.6054, allocations: 196.2 kB / 0.7343 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.6054, allocations: 12 kB / 0.7343 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.6058, allocations: 19.98 kB / 0.7343 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.6059, allocations: 52.5 kB / 0.7344 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.6059, allocations: 23.97 kB / 0.7344 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003169/0.6062, allocations: 322.9 kB / 0.7347 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.353e-06/0.6062, allocations: 0 / 0.7347 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007936/0.607, allocations: 299.8 kB / 0.735 GB, free: 10.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 47 * 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 Backend phase and start with SimCode phase: time 0.0005492/0.6076, allocations: 402.9 kB / 0.7354 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.6091, allocations: 0.9036 MB / 0.7363 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6091, allocations: 0 / 0.7363 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009017/0.61, allocations: 0.6026 MB / 0.7369 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.6109, allocations: 209.5 kB / 0.7371 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.613, allocations: 1.412 MB / 0.7384 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.6135, allocations: 0.8994 MB / 0.7393 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.6138, allocations: 136.7 kB / 0.7395 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.614, allocations: 63.41 kB / 0.7395 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.614, allocations: 0 / 0.7395 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of Templates: time 0.01938/0.6333, allocations: 14.38 MB / 0.7536 GB, free: 7.48 MB / 0.5919 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches