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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 212.8 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7559/0.7559, allocations: 100.9 MB / 413.3 MB, free: 2.883 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 84.94 kB / 0.5646 GB, free: 35.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1182, allocations: 74.61 MB / 0.6374 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.0573/0.1755, allocations: 42.92 MB / 0.6793 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.1904, allocations: 11.38 MB / 0.6904 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.191, allocations: 31.69 kB / 0.6905 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.1919, allocations: 242.3 kB / 0.6907 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.1936, allocations: 0.5476 MB / 0.6912 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.1959, allocations: 0.7449 MB / 0.692 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.1971, allocations: 0.9297 MB / 0.6929 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.1974, allocations: 105.9 kB / 0.693 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02995/0.2274, allocations: 12.49 MB / 0.7052 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007568/0.2281, allocations: 378.4 kB / 0.7055 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2283, allocations: 55.94 kB / 0.7056 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3915/0.6198, allocations: 52.45 MB / 0.7568 GB, free: 58.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.6201, allocations: 152.1 kB / 0.757 GB, free: 58.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.6204, allocations: 265.4 kB / 0.7572 GB, free: 58.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.6225, allocations: 1.118 MB / 0.7583 GB, free: 58.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6225, allocations: 0.7969 kB / 0.7583 GB, free: 58.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6225, allocations: 1.094 kB / 0.7583 GB, free: 58.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.6225, allocations: 0 / 0.7583 GB, free: 58.55 MB / 0.5762 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.00206/0.6245, allocations: 1.011 MB / 0.7593 GB, free: 58.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6246, allocations: 11.31 kB / 0.7593 GB, free: 58.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.6248, allocations: 86.17 kB / 0.7594 GB, free: 57.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.6256, allocations: 442.2 kB / 0.7598 GB, free: 57.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.6257, allocations: 146.1 kB / 0.7599 GB, free: 57.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.6258, allocations: 49.41 kB / 0.76 GB, free: 57.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.627, allocations: 0.7109 MB / 0.7607 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.627, allocations: 0.5312 kB / 0.7607 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.627, allocations: 18.22 kB / 0.7607 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.6271, allocations: 21.42 kB / 0.7607 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6283, allocations: 0.6792 MB / 0.7614 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.6315, allocations: 1.909 MB / 0.7632 GB, free: 57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.6329, allocations: 0.65 MB / 0.7639 GB, free: 56.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/0.6335, allocations: 337.3 kB / 0.7642 GB, free: 56.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/0.635, allocations: 318.4 kB / 0.7645 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.635, allocations: 42.03 kB / 0.7645 GB, free: 56.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.474e-06/0.635, allocations: 0 / 0.7645 GB, free: 56.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004104/0.6391, allocations: 1.99 MB / 0.7665 GB, free: 56.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.6391, allocations: 59.31 kB / 0.7665 GB, free: 56.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.6395, allocations: 375.2 kB / 0.7669 GB, free: 56.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.6395, allocations: 35.11 kB / 0.7669 GB, free: 56.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.6397, allocations: 247.7 kB / 0.7672 GB, free: 56.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.6398, allocations: 238.5 kB / 0.7674 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.6399, allocations: 111.2 kB / 0.7675 GB, free: 56.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.64, allocations: 362.6 kB / 0.7679 GB, free: 55.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.6405, allocations: 266.2 kB / 0.7681 GB, free: 55.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.641, allocations: 333.2 kB / 0.7684 GB, free: 55.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.642, allocations: 0.6261 MB / 0.769 GB, free: 55.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.642, allocations: 5.812 kB / 0.769 GB, free: 55.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001912/0.6439, allocations: 0.8576 MB / 0.7699 GB, free: 55.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6439, allocations: 5.844 kB / 0.7699 GB, free: 55.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.6439, allocations: 5.5 kB / 0.7699 GB, free: 55.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.6444, allocations: 135 kB / 0.77 GB, free: 55.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.6449, allocations: 107.9 kB / 0.7701 GB, free: 55.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.6473, allocations: 2.32 MB / 0.7724 GB, free: 54.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.6477, allocations: 22.59 kB / 0.7724 GB, free: 54.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.6478, allocations: 25.36 kB / 0.7724 GB, free: 54.19 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.0003034/0.6481, allocations: 194.3 kB / 0.7726 GB, free: 54.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.6483, allocations: 65.48 kB / 0.7727 GB, free: 54.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.6501, allocations: 1.053 MB / 0.7737 GB, free: 53.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.6501, allocations: 6.969 kB / 0.7737 GB, free: 53.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.6501, allocations: 2.891 kB / 0.7737 GB, free: 53.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6501, allocations: 9.016 kB / 0.7737 GB, free: 53.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.6526, allocations: 1.49 MB / 0.7752 GB, free: 53.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.6526, allocations: 3.625 kB / 0.7752 GB, free: 53.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.653, allocations: 98.86 kB / 0.7753 GB, free: 53.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.6533, allocations: 139.5 kB / 0.7754 GB, free: 53.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.6534, allocations: 30.17 kB / 0.7754 GB, free: 53.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.6553, allocations: 2.321 MB / 0.7777 GB, free: 52.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6554, allocations: 4.375 kB / 0.7777 GB, free: 52.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.6573, allocations: 1.305 MB / 0.779 GB, free: 52.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.6576, allocations: 110.1 kB / 0.7791 GB, free: 52.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.6576, allocations: 10.84 kB / 0.7791 GB, free: 52.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.6579, allocations: 18.97 kB / 0.7791 GB, free: 52.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.658, allocations: 51.94 kB / 0.7792 GB, free: 52.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.6581, allocations: 24.95 kB / 0.7792 GB, free: 52.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002681/0.6583, allocations: 283.4 kB / 0.7795 GB, free: 51.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6583, allocations: 0 / 0.7795 GB, free: 51.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009419/0.6593, allocations: 299.6 kB / 0.7798 GB, free: 51.89 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.0006062/0.6599, allocations: 413.7 kB / 0.7801 GB, free: 51.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.6614, allocations: 0.8784 MB / 0.781 GB, free: 51.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6614, allocations: 1.312 kB / 0.781 GB, free: 51.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.6622, allocations: 0.5728 MB / 0.7816 GB, free: 51.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.6629, allocations: 153.2 kB / 0.7817 GB, free: 51.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.665, allocations: 1.437 MB / 0.7831 GB, free: 50.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.6652, allocations: 309.2 kB / 0.7834 GB, free: 50.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003402/0.6655, allocations: 123.8 kB / 0.7835 GB, free: 50.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.6657, allocations: 59.59 kB / 0.7836 GB, free: 50.55 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.6657, allocations: 0 / 0.7836 GB, free: 50.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.01839/0.6841, allocations: 14.31 MB / 0.7976 GB, free: 45.96 MB / 0.5762 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.107683230191469]