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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6346/0.6346, allocations: 94.58 MB / 399.1 MB, free: 15.81 MB / 334.1 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 83.84 kB / 0.5448 GB, free: 12.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3849, allocations: 71.83 MB / 0.615 GB, free: 4.125 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05648/0.4414, allocations: 47.94 MB / 0.6618 GB, free: 400 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.4565, allocations: 12.63 MB / 0.6741 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.4571, allocations: 19.62 kB / 0.6741 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.458, allocations: 279.5 kB / 0.6744 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.4596, allocations: 0.5531 MB / 0.6749 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.4618, allocations: 0.7467 MB / 0.6757 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.463, allocations: 0.9209 MB / 0.6766 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.4633, allocations: 106.8 kB / 0.6767 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03466/0.4979, allocations: 12.58 MB / 0.689 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007358/0.4986, allocations: 402.4 kB / 0.6893 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.4988, allocations: 56 kB / 0.6894 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1333/0.6321, allocations: 53.13 MB / 0.7413 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.6324, allocations: 155.4 kB / 0.7414 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006524/0.6331, allocations: 318.3 kB / 0.7417 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.636, allocations: 1.121 MB / 0.7428 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.636, allocations: 4 kB / 0.7428 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.636, allocations: 4 kB / 0.7428 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.242e-05/0.6361, allocations: 0 / 0.7428 GB, free: 1.227 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.002559/0.6386, allocations: 1.097 MB / 0.7439 GB, free: 76 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6387, allocations: 8.031 kB / 0.7439 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.6389, allocations: 72.56 kB / 0.744 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008767/0.6397, allocations: 0.5174 MB / 0.7445 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.6398, allocations: 92.34 kB / 0.7446 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.6399, allocations: 44 kB / 0.7446 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.6412, allocations: 0.652 MB / 0.7452 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6412, allocations: 0 / 0.7452 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.6412, allocations: 16 kB / 0.7453 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.6413, allocations: 17 kB / 0.7453 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.6426, allocations: 0.6675 MB / 0.7459 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.6468, allocations: 2.456 MB / 0.7483 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.6486, allocations: 0.664 MB / 0.749 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006674/0.6492, allocations: 334.4 kB / 0.7493 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002937/0.6522, allocations: 2.635 MB / 0.7519 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.6522, allocations: 43.06 kB / 0.7519 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.966e-06/0.6522, allocations: 3.938 kB / 0.7519 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004583/0.6568, allocations: 2.191 MB / 0.7541 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.6569, allocations: 59.97 kB / 0.7541 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.6574, allocations: 430 kB / 0.7545 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.6574, allocations: 37.7 kB / 0.7546 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.6576, allocations: 237 kB / 0.7548 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.6578, allocations: 230 kB / 0.755 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.6581, allocations: 114.2 kB / 0.7551 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.6583, allocations: 370.8 kB / 0.7555 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.6588, allocations: 261.1 kB / 0.7557 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.6594, allocations: 331.7 kB / 0.756 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.6605, allocations: 0.6173 MB / 0.7566 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6605, allocations: 3.938 kB / 0.7566 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001788/0.6623, allocations: 0.8467 MB / 0.7575 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6623, allocations: 4 kB / 0.7575 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.6624, allocations: 4 kB / 0.7575 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004552/0.6628, allocations: 144.8 kB / 0.7576 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.6633, allocations: 107.9 kB / 0.7577 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.6664, allocations: 2.474 MB / 0.7601 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.6669, allocations: 23.95 kB / 0.7601 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.6669, allocations: 23.98 kB / 0.7602 GB, free: 14.29 MB / 0.5919 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.0003157/0.6672, allocations: 205.6 kB / 0.7604 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.6674, allocations: 63.58 kB / 0.7604 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.6694, allocations: 1.04 MB / 0.7614 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6695, allocations: 12 kB / 0.7615 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.6695, allocations: 0 / 0.7615 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6695, allocations: 7.984 kB / 0.7615 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6725, allocations: 1.651 MB / 0.7631 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.6725, allocations: 11.98 kB / 0.7631 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.673, allocations: 95.88 kB / 0.7632 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.6735, allocations: 140.7 kB / 0.7633 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.6735, allocations: 19.98 kB / 0.7633 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.6765, allocations: 2.478 MB / 0.7658 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6765, allocations: 0 / 0.7658 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.6789, allocations: 1.286 MB / 0.767 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.6792, allocations: 192.6 kB / 0.7672 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.6793, allocations: 12 kB / 0.7672 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.6796, allocations: 31.91 kB / 0.7672 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.6797, allocations: 56.42 kB / 0.7673 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.6798, allocations: 19.98 kB / 0.7673 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004096/0.6802, allocations: 334.9 kB / 0.7676 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6802, allocations: 0 / 0.7676 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009461/0.6811, allocations: 291.3 kB / 0.7679 GB, free: 6.082 MB / 0.5919 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.0006764/0.6818, allocations: 410.5 kB / 0.7683 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.6836, allocations: 0.8605 MB / 0.7691 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6836, allocations: 4.312 kB / 0.7691 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6846, allocations: 0.579 MB / 0.7697 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/0.6856, allocations: 211.8 kB / 0.7699 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.6882, allocations: 1.439 MB / 0.7713 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.6888, allocations: 0.8996 MB / 0.7722 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004083/0.6892, allocations: 144.6 kB / 0.7723 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.6894, allocations: 67.39 kB / 0.7724 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6894, allocations: 0 / 0.7724 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of Templates: time 0.02533/0.7147, allocations: 14.64 MB / 0.7867 GB, free: 2.789 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.286732958629727]