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.001104/0.001104, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002632, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.001135/0.001135, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002493, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9291/0.9291, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08948/1.019, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6956/0.6956, allocations: 118.7 MB / 362.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05547/0.7511, allocations: 35.85 MB / 398.5 MB, free: 13.35 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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="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="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 1.463e-06/1.463e-06, allocations: 0 / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.229e-05, allocations: 2.312 kB / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.1886/0.1887, allocations: 28.72 MB / 428.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.1914, allocations: 2.547 MB / 431.1 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.1916, allocations: 33.31 kB / 431.1 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1919, allocations: 135.6 kB / 431.2 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.1926, allocations: 433.5 kB / 431.6 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.1935, allocations: 489 kB / 432.1 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007574/0.1942, allocations: 1.047 MB / 433.2 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1944, allocations: 106 kB / 433.3 MB, free: 0.7109 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. Notification: Performance of NFEvalConstants.evaluate: time 0.01854/0.213, allocations: 10.52 MB / 443.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.2134, allocations: 363.1 kB / 444.2 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.2134, allocations: 52.31 kB / 444.2 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.2181, allocations: 2.858 MB / 447.1 MB, free: 13.97 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.2182, allocations: 118 kB / 447.2 MB, free: 13.94 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.2184, allocations: 198.8 kB / 447.4 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008172/0.2192, allocations: 0.7802 MB / 448.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.2192, allocations: 0 / 448.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2192, allocations: 3.188 kB / 448.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.2192, allocations: 0 / 448.2 MB, free: 13.68 MB / 426.7 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.001292/0.2205, allocations: 1.194 MB / 449.4 MB, free: 12.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.2205, allocations: 8.031 kB / 449.4 MB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2207, allocations: 106.2 kB / 449.5 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.2212, allocations: 453.8 kB / 449.9 MB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.2213, allocations: 140.5 kB / 450 MB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.2214, allocations: 53.58 kB / 450.1 MB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.2218, allocations: 480.3 kB / 450.6 MB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2218, allocations: 0 / 450.6 MB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.2218, allocations: 16.44 kB / 450.6 MB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.2219, allocations: 27.19 kB / 450.6 MB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.2221, allocations: 216.8 kB / 450.8 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.2238, allocations: 1.323 MB / 452.1 MB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.2244, allocations: 425.2 kB / 452.6 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2246, allocations: 155.7 kB / 452.7 MB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.2252, allocations: 316.1 kB / 453 MB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2252, allocations: 39.69 kB / 453.1 MB, free: 9.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 1.703e-06/0.2252, allocations: 0 / 453.1 MB, free: 9.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001455/0.2267, allocations: 1.018 MB / 454.1 MB, free: 8.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2267, allocations: 64.05 kB / 454.1 MB, free: 8.602 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.2269, allocations: 363.7 kB / 454.5 MB, free: 8.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.2269, allocations: 36.83 kB / 454.5 MB, free: 8.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.2273, allocations: 194.9 kB / 454.7 MB, free: 8.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2274, allocations: 241.2 kB / 455 MB, free: 7.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2275, allocations: 106.5 kB / 455.1 MB, free: 7.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.2276, allocations: 379 kB / 455.4 MB, free: 7.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2277, allocations: 78.2 kB / 455.5 MB, free: 7.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.2278, allocations: 147.3 kB / 455.6 MB, free: 7.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.2281, allocations: 275 kB / 455.9 MB, free: 6.996 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2281, allocations: 0 / 455.9 MB, free: 6.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004907/0.2286, allocations: 422.4 kB / 456.3 MB, free: 6.609 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2286, allocations: 4 kB / 456.3 MB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2286, allocations: 4.156 kB / 456.3 MB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.2288, allocations: 113.1 kB / 456.4 MB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.2291, allocations: 132 kB / 456.6 MB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.2303, allocations: 1.841 MB / 458.4 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2304, allocations: 11.38 kB / 458.4 MB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2305, allocations: 26.84 kB / 458.5 MB, free: 4.605 MB / 426.7 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.0001154/0.2306, allocations: 141.3 kB / 458.6 MB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2307, allocations: 73.38 kB / 458.7 MB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/0.2313, allocations: 0.5676 MB / 459.2 MB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2313, allocations: 11.98 kB / 459.2 MB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2313, allocations: 0 / 459.2 MB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2313, allocations: 0 / 459.2 MB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.2323, allocations: 0.8548 MB / 460.1 MB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2323, allocations: 0 / 460.1 MB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.2325, allocations: 123.4 kB / 460.2 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.2326, allocations: 71.27 kB / 460.3 MB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.2329, allocations: 113.1 kB / 460.4 MB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.2329, allocations: 15.98 kB / 460.4 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.234, allocations: 1.844 MB / 462.3 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.234, allocations: 12.02 kB / 462.3 MB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.2349, allocations: 0.649 MB / 462.9 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.235, allocations: 16 kB / 462.9 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.2351, allocations: 16 kB / 463 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.2352, allocations: 55.48 kB / 463 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.2352, allocations: 15.98 kB / 463 MB, free: 172 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2353, allocations: 168.9 kB / 463.2 MB, free: 20 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2353, allocations: 0 / 463.2 MB, free: 20 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.2358, allocations: 251.5 kB / 463.4 MB, free: 15.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 48 * 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.0002847/0.2361, allocations: 235.1 kB / 463.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.2367, allocations: 0.5463 MB / 464.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/0.2367, allocations: 8 kB / 464.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.237, allocations: 455 kB / 464.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.2376, allocations: 297.7 kB / 465 MB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.2447, allocations: 1.141 MB / 466.1 MB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2448, allocations: 163.5 kB / 466.3 MB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.2451, allocations: 112.7 kB / 466.4 MB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.2454, allocations: 221.2 kB / 466.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2454, allocations: 0 / 466.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of Templates: time 0.01514/0.2606, allocations: 14.24 MB / 480.8 MB, free: 14.78 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.58378691598773]