Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001592/0.001593, allocations: 108 kB / 15.61 MB, free: 152 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.001952/0.001952, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.553/1.553, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8253/0.8253, allocations: 93.71 MB / 384.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 82.59 kB / 463.4 MB, free: 22.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1778, allocations: 68.26 MB / 0.5192 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06324/0.2411, allocations: 47.36 MB / 0.5654 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.2574, allocations: 12.45 MB / 0.5776 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008866/0.2583, allocations: 23.81 kB / 0.5776 GB, free: 11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.2596, allocations: 274.2 kB / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.2617, allocations: 0.5475 MB / 0.5784 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.2646, allocations: 0.7431 MB / 0.5791 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.2662, allocations: 0.918 MB / 0.58 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.2666, allocations: 173.4 kB / 0.5802 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3417/0.6084, allocations: 12.56 MB / 0.5925 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.6091, allocations: 397.5 kB / 0.5928 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.6093, allocations: 56.66 kB / 0.5929 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1178/0.7271, allocations: 53 MB / 0.6447 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004085/0.7275, allocations: 150.9 kB / 0.6448 GB, free: 7.793 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.7281, allocations: 327 kB / 0.6451 GB, free: 7.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.7304, allocations: 1.1 MB / 0.6462 GB, free: 7.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7304, allocations: 3.188 kB / 0.6462 GB, free: 7.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.7304, allocations: 4 kB / 0.6462 GB, free: 7.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.7304, allocations: 0 / 0.6462 GB, free: 7.176 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.002146/0.7326, allocations: 1.059 MB / 0.6472 GB, free: 6.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.7326, allocations: 9.406 kB / 0.6472 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.7328, allocations: 70.11 kB / 0.6473 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.7334, allocations: 491 kB / 0.6478 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.7335, allocations: 92.98 kB / 0.6479 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.7336, allocations: 48.41 kB / 0.6479 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.7347, allocations: 0.6527 MB / 0.6485 GB, free: 5.434 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.7348, allocations: 3.375 kB / 0.6485 GB, free: 5.434 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.7348, allocations: 15.25 kB / 0.6486 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.7349, allocations: 25.05 kB / 0.6486 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.736, allocations: 0.6626 MB / 0.6492 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.7397, allocations: 2.473 MB / 0.6516 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.7414, allocations: 0.6887 MB / 0.6523 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.7421, allocations: 374.9 kB / 0.6527 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002626/0.7448, allocations: 2.626 MB / 0.6552 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.7448, allocations: 47.06 kB / 0.6553 GB, free: 13.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 3.086e-06/0.7448, allocations: 0 / 0.6553 GB, free: 13.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.004359/0.7492, allocations: 2.191 MB / 0.6574 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.7492, allocations: 63.91 kB / 0.6575 GB, free: 11.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.7497, allocations: 426.1 kB / 0.6579 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.7498, allocations: 37.7 kB / 0.6579 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.75, allocations: 244.8 kB / 0.6582 GB, free: 10.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.7502, allocations: 216.7 kB / 0.6584 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.7504, allocations: 110.1 kB / 0.6585 GB, free: 10.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7505, allocations: 381.5 kB / 0.6588 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.7511, allocations: 257.1 kB / 0.6591 GB, free: 9.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.7516, allocations: 339.6 kB / 0.6594 GB, free: 9.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7527, allocations: 0.6161 MB / 0.66 GB, free: 8.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7527, allocations: 0 / 0.66 GB, free: 8.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001592/0.7543, allocations: 0.8451 MB / 0.6608 GB, free: 8.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.7544, allocations: 8 kB / 0.6608 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.7544, allocations: 7.984 kB / 0.6609 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.7549, allocations: 128.8 kB / 0.661 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.7554, allocations: 118.2 kB / 0.6611 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.7582, allocations: 2.475 MB / 0.6635 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.7586, allocations: 16.03 kB / 0.6635 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.7587, allocations: 31.97 kB / 0.6635 GB, free: 5.254 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.0002908/0.759, allocations: 196 kB / 0.6637 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.7591, allocations: 59.25 kB / 0.6638 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.7612, allocations: 1.053 MB / 0.6648 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.7612, allocations: 8 kB / 0.6648 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7612, allocations: 0 / 0.6648 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.7612, allocations: 7.984 kB / 0.6648 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.764, allocations: 1.659 MB / 0.6665 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.764, allocations: 8.031 kB / 0.6665 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.7645, allocations: 99.39 kB / 0.6666 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/0.7649, allocations: 141.5 kB / 0.6667 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.765, allocations: 15.98 kB / 0.6667 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.7678, allocations: 2.477 MB / 0.6691 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7679, allocations: 0 / 0.6691 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.7702, allocations: 1.295 MB / 0.6704 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.7704, allocations: 192.3 kB / 0.6706 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/0.7705, allocations: 19.94 kB / 0.6706 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.7709, allocations: 19.83 kB / 0.6706 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.771, allocations: 48.48 kB / 0.6707 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.7711, allocations: 22.17 kB / 0.6707 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003893/0.7715, allocations: 338.8 kB / 0.671 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7715, allocations: 0 / 0.671 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009496/0.7724, allocations: 296 kB / 0.6713 GB, free: 13.16 MB / 0.4981 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.0006204/0.7731, allocations: 406.6 kB / 0.6717 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.7751, allocations: 0.9851 MB / 0.6726 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.7751, allocations: 2.812 kB / 0.6726 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.7761, allocations: 0.6001 MB / 0.6732 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7772, allocations: 205.6 kB / 0.6734 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.7798, allocations: 1.442 MB / 0.6748 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.7803, allocations: 0.9035 MB / 0.6757 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004957/0.7808, allocations: 133.4 kB / 0.6758 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.781, allocations: 63.41 kB / 0.6759 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.781, allocations: 3.094 kB / 0.6759 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of Templates: time 0.02314/0.8042, allocations: 14.23 MB / 0.6898 GB, free: 10.37 MB / 0.5137 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches