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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 195.6 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6493/0.6493, allocations: 91.18 MB / 381.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 77.34 kB / 460.3 MB, free: 23.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1101, allocations: 67.69 MB / 0.5156 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04633/0.1565, allocations: 47.36 MB / 0.5618 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.1685, allocations: 12.44 MB / 0.574 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005478/0.169, allocations: 19.88 kB / 0.574 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.1697, allocations: 274.2 kB / 0.5743 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1711, allocations: 0.5319 MB / 0.5748 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.1729, allocations: 0.75 MB / 0.5755 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008296/0.1738, allocations: 0.8909 MB / 0.5764 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.174, allocations: 177.4 kB / 0.5766 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2596/0.4336, allocations: 12.53 MB / 0.5888 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.4343, allocations: 391.4 kB / 0.5892 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.4344, allocations: 52.5 kB / 0.5892 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1122/0.5466, allocations: 53 MB / 0.641 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.547, allocations: 149.1 kB / 0.6411 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.5475, allocations: 320.5 kB / 0.6414 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.5499, allocations: 1.093 MB / 0.6425 GB, free: 12.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.55, allocations: 4 kB / 0.6425 GB, free: 12.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.55, allocations: 0 / 0.6425 GB, free: 12.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.55, allocations: 7.922 kB / 0.6425 GB, free: 12.14 MB / 478.1 MB 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.002206/0.5522, allocations: 1.057 MB / 0.6435 GB, free: 11.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.5523, allocations: 11.81 kB / 0.6436 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.5524, allocations: 70.69 kB / 0.6436 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.553, allocations: 474.7 kB / 0.6441 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/0.5531, allocations: 95.36 kB / 0.6442 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-05/0.5532, allocations: 47.75 kB / 0.6442 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.5542, allocations: 0.6548 MB / 0.6449 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.5543, allocations: 0 / 0.6449 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.5543, allocations: 25.84 kB / 0.6449 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.5544, allocations: 24.08 kB / 0.6449 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5554, allocations: 0.6581 MB / 0.6455 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.5588, allocations: 2.462 MB / 0.6479 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5603, allocations: 0.7003 MB / 0.6486 GB, free: 7.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/0.561, allocations: 371.1 kB / 0.649 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/0.5634, allocations: 2.629 MB / 0.6515 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.5634, allocations: 46.78 kB / 0.6516 GB, free: 3.727 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 2.284e-06/0.5635, allocations: 0 / 0.6516 GB, free: 3.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.004122/0.5676, allocations: 2.185 MB / 0.6537 GB, free: 1.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5676, allocations: 59.91 kB / 0.6538 GB, free: 1.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.5681, allocations: 414 kB / 0.6542 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.5681, allocations: 40.98 kB / 0.6542 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.5683, allocations: 228.9 kB / 0.6544 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.5685, allocations: 229.9 kB / 0.6547 GB, free: 496 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.5686, allocations: 111.3 kB / 0.6548 GB, free: 380 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5688, allocations: 378.7 kB / 0.6551 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.5693, allocations: 261.1 kB / 0.6554 GB, free: 15.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.5698, allocations: 327.7 kB / 0.6557 GB, free: 15.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5709, allocations: 0.6202 MB / 0.6563 GB, free: 14.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5709, allocations: 0 / 0.6563 GB, free: 14.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001563/0.5725, allocations: 0.8528 MB / 0.6571 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5725, allocations: 4 kB / 0.6571 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.5725, allocations: 4 kB / 0.6571 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.573, allocations: 141.9 kB / 0.6573 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.5734, allocations: 107 kB / 0.6574 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.5763, allocations: 2.475 MB / 0.6598 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.5766, allocations: 19.98 kB / 0.6598 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.5767, allocations: 25.22 kB / 0.6598 GB, free: 11.04 MB / 494.1 MB 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.0002827/0.577, allocations: 200.2 kB / 0.66 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.5771, allocations: 56 kB / 0.6601 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.5791, allocations: 1.058 MB / 0.6611 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5791, allocations: 4 kB / 0.6611 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.5791, allocations: 4 kB / 0.6611 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.5791, allocations: 3.984 kB / 0.6611 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.5818, allocations: 1.658 MB / 0.6627 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5818, allocations: 8.906 kB / 0.6627 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.5823, allocations: 99.39 kB / 0.6628 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.5827, allocations: 140.6 kB / 0.663 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.5827, allocations: 19.98 kB / 0.663 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.5853, allocations: 2.476 MB / 0.6654 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5853, allocations: 0 / 0.6654 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.5874, allocations: 1.294 MB / 0.6667 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.5877, allocations: 189.4 kB / 0.6669 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.5878, allocations: 23.84 kB / 0.6669 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.5881, allocations: 23.97 kB / 0.6669 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.5882, allocations: 44.5 kB / 0.6669 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.5883, allocations: 19.98 kB / 0.667 GB, free: 3.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003451/0.5886, allocations: 326.9 kB / 0.6673 GB, free: 3.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5886, allocations: 4 kB / 0.6673 GB, free: 3.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008967/0.5895, allocations: 292 kB / 0.6676 GB, free: 2.945 MB / 494.1 MB 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.0006813/0.5902, allocations: 410.4 kB / 0.6679 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.5921, allocations: 0.9889 MB / 0.6689 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5921, allocations: 0 / 0.6689 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.5931, allocations: 0.6025 MB / 0.6695 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/0.5941, allocations: 210 kB / 0.6697 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.5966, allocations: 1.425 MB / 0.6711 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.5971, allocations: 0.8957 MB / 0.672 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004339/0.5975, allocations: 140.7 kB / 0.6721 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.5977, allocations: 67.39 kB / 0.6722 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.5977, allocations: 0 / 0.6722 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.02443/0.6222, allocations: 14.19 MB / 0.686 GB, free: 224 kB / 0.4981 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