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.008942/0.008942, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.002176/0.002176, allocations: 195 kB / 16.67 MB, free: 5.934 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8298/0.8298, allocations: 91.18 MB / 381.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 75.88 kB / 0.5168 GB, free: 4.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3481, allocations: 67.69 MB / 0.5829 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04614/0.3943, allocations: 47.36 MB / 0.6292 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.4082, allocations: 12.45 MB / 0.6413 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.4089, allocations: 23.81 kB / 0.6414 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.4097, allocations: 270.2 kB / 0.6416 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.4113, allocations: 0.5358 MB / 0.6421 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.4134, allocations: 0.7353 MB / 0.6429 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.4145, allocations: 0.8948 MB / 0.6437 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.4148, allocations: 169.4 kB / 0.6439 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02888/0.4437, allocations: 12.55 MB / 0.6562 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.4443, allocations: 390.4 kB / 0.6565 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.4444, allocations: 55.94 kB / 0.6566 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1224/0.5668, allocations: 53 MB / 0.7083 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.5673, allocations: 151.4 kB / 0.7085 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.5678, allocations: 322.3 kB / 0.7088 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.5704, allocations: 1.113 MB / 0.7099 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5704, allocations: 0 / 0.7099 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5704, allocations: 3.938 kB / 0.7099 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.5704, allocations: 0 / 0.7099 GB, free: 11.2 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.002075/0.5725, allocations: 1.078 MB / 0.7109 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5725, allocations: 8.031 kB / 0.7109 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.5727, allocations: 68.52 kB / 0.711 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.5734, allocations: 0.502 MB / 0.7115 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.5735, allocations: 92.28 kB / 0.7116 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/0.5736, allocations: 47.95 kB / 0.7116 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.5747, allocations: 0.6693 MB / 0.7123 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5747, allocations: 0 / 0.7123 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.5748, allocations: 16 kB / 0.7123 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.5748, allocations: 28.94 kB / 0.7123 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.576, allocations: 0.6597 MB / 0.713 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.5796, allocations: 2.456 MB / 0.7154 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5813, allocations: 0.6928 MB / 0.716 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.5819, allocations: 370.3 kB / 0.7164 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002635/0.5846, allocations: 2.628 MB / 0.719 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.5846, allocations: 47 kB / 0.719 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.765e-06/0.5846, allocations: 4 kB / 0.719 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.004335/0.589, allocations: 2.191 MB / 0.7212 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.5891, allocations: 111.4 kB / 0.7213 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.5896, allocations: 422 kB / 0.7217 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.5896, allocations: 33.7 kB / 0.7217 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.5899, allocations: 237 kB / 0.7219 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.59, allocations: 234 kB / 0.7221 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.5902, allocations: 118.1 kB / 0.7223 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5904, allocations: 370.8 kB / 0.7226 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.5909, allocations: 261.1 kB / 0.7229 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.5915, allocations: 341.5 kB / 0.7232 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5926, allocations: 0.629 MB / 0.7238 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5927, allocations: 0 / 0.7238 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001635/0.5943, allocations: 0.8389 MB / 0.7246 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5943, allocations: 8 kB / 0.7246 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.5944, allocations: 8 kB / 0.7246 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/0.5948, allocations: 140.7 kB / 0.7248 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.5953, allocations: 107.9 kB / 0.7249 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.5982, allocations: 2.478 MB / 0.7273 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.5985, allocations: 27.95 kB / 0.7273 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.5986, allocations: 27.98 kB / 0.7273 GB, free: 8.109 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.0002637/0.5989, allocations: 189.8 kB / 0.7275 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.599, allocations: 63.62 kB / 0.7276 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.6011, allocations: 1.051 MB / 0.7286 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.6011, allocations: 8 kB / 0.7286 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.6011, allocations: 4 kB / 0.7286 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.6011, allocations: 3.984 kB / 0.7286 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.6039, allocations: 1.659 MB / 0.7303 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.6039, allocations: 7.984 kB / 0.7303 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.6044, allocations: 99.81 kB / 0.7304 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.6048, allocations: 135.1 kB / 0.7305 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.6049, allocations: 19.98 kB / 0.7305 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.6075, allocations: 2.477 MB / 0.7329 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6075, allocations: 0 / 0.7329 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.6097, allocations: 1.294 MB / 0.7342 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.61, allocations: 192.6 kB / 0.7344 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.6101, allocations: 15.94 kB / 0.7344 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.6104, allocations: 19.98 kB / 0.7344 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.6105, allocations: 48.48 kB / 0.7344 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.6106, allocations: 27.98 kB / 0.7345 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003684/0.611, allocations: 326.9 kB / 0.7348 GB, free: 212 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.611, allocations: 0 / 0.7348 GB, free: 212 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.2644/0.8754, allocations: 286.7 kB / 0.7351 GB, free: 151.3 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.0007715/0.8762, allocations: 418.3 kB / 0.7355 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.878, allocations: 0.9042 MB / 0.7363 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.878, allocations: 0 / 0.7363 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000934/0.879, allocations: 0.6099 MB / 0.7369 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/0.88, allocations: 210.9 kB / 0.7371 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.8824, allocations: 1.419 MB / 0.7385 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.8828, allocations: 0.9012 MB / 0.7394 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004856/0.8833, allocations: 139.2 kB / 0.7395 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.8835, allocations: 62.5 kB / 0.7396 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.8835, allocations: 0 / 0.7396 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01977/0.9033, allocations: 14.39 MB / 0.7537 GB, free: 140.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches