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.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.0008591/0.0008591, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002327, allocations: 440 kB / 10.41 MB, free: 284 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.0008401/0.0008401, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001949, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9852/0.9852, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1021/1.087, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6514/0.6514, allocations: 118.7 MB / 362.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05775/0.7091, allocations: 35.84 MB / 398.7 MB, free: 13.1 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/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_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_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.704e-05, allocations: 2.312 kB / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2205/0.2205, allocations: 28.73 MB / 428.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.2241, allocations: 2.544 MB / 431.3 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.2246, allocations: 33.34 kB / 431.3 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.225, allocations: 134.8 kB / 431.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009254/0.2259, allocations: 439.6 kB / 431.9 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2271, allocations: 490.7 kB / 432.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.2282, allocations: 1.043 MB / 433.4 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.2285, allocations: 109.6 kB / 433.5 MB, free: 0.7578 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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/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/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/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.02119/0.2496, allocations: 10.52 MB / 444 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.2502, allocations: 364.8 kB / 444.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.159e-05/0.2503, allocations: 52.41 kB / 444.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00563/0.2559, allocations: 2.857 MB / 447.3 MB, free: 13.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.2561, allocations: 129.9 kB / 447.4 MB, free: 13.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.2563, allocations: 189 kB / 447.6 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2574, allocations: 0.7728 MB / 448.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.2574, allocations: 0 / 448.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2574, allocations: 0 / 448.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.2574, allocations: 0 / 448.4 MB, free: 13.7 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.001512/0.2589, allocations: 1.198 MB / 449.6 MB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.259, allocations: 8.031 kB / 449.6 MB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2592, allocations: 112.5 kB / 449.7 MB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.2597, allocations: 446.7 kB / 450.1 MB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.2598, allocations: 142.4 kB / 450.3 MB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.2598, allocations: 46.92 kB / 450.3 MB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.2603, allocations: 487.5 kB / 450.8 MB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2603, allocations: 4 kB / 450.8 MB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2604, allocations: 16.5 kB / 450.8 MB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.2604, allocations: 21 kB / 450.8 MB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.2607, allocations: 212.8 kB / 451 MB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.2623, allocations: 1.327 MB / 452.4 MB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.2629, allocations: 428.7 kB / 452.8 MB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.2631, allocations: 145.5 kB / 452.9 MB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/0.2637, allocations: 320.5 kB / 453.2 MB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2638, allocations: 40 kB / 453.3 MB, free: 9.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 2.104e-06/0.2638, allocations: 0 / 453.3 MB, free: 9.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001881/0.2656, allocations: 1.185 MB / 454.5 MB, free: 8.418 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.2657, allocations: 58.88 kB / 454.5 MB, free: 8.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2659, allocations: 365.9 kB / 454.9 MB, free: 8.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.2659, allocations: 42.14 kB / 454.9 MB, free: 8.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.266, allocations: 200.4 kB / 455.1 MB, free: 7.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2661, allocations: 235.6 kB / 455.3 MB, free: 7.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2662, allocations: 109.4 kB / 455.5 MB, free: 7.566 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.2663, allocations: 379.9 kB / 455.8 MB, free: 7.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2664, allocations: 74.16 kB / 455.9 MB, free: 7.148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2665, allocations: 143.6 kB / 456 MB, free: 7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.2668, allocations: 276.4 kB / 456.3 MB, free: 6.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2668, allocations: 4 kB / 456.3 MB, free: 6.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004887/0.2673, allocations: 423.8 kB / 456.7 MB, free: 6.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2673, allocations: 8.031 kB / 456.7 MB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.2673, allocations: 4 kB / 456.7 MB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.2675, allocations: 107.3 kB / 456.8 MB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.2678, allocations: 131.7 kB / 457 MB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.269, allocations: 1.832 MB / 458.8 MB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2692, allocations: 19.44 kB / 458.8 MB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.2692, allocations: 22.52 kB / 458.8 MB, free: 4.348 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.0001296/0.2693, allocations: 142.2 kB / 459 MB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2694, allocations: 71.94 kB / 459.1 MB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.2701, allocations: 0.5699 MB / 459.6 MB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2701, allocations: 11.64 kB / 459.6 MB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2701, allocations: 4 kB / 459.6 MB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2701, allocations: 3.984 kB / 459.6 MB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.2711, allocations: 0.8451 MB / 460.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2711, allocations: 4 kB / 460.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.2714, allocations: 126 kB / 460.6 MB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2715, allocations: 67.59 kB / 460.7 MB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.2717, allocations: 116.8 kB / 460.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.2717, allocations: 19.98 kB / 460.8 MB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.2729, allocations: 1.839 MB / 462.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.2729, allocations: 14.06 kB / 462.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.2736, allocations: 0.6573 MB / 463.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.2736, allocations: 12 kB / 463.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2738, allocations: 14.95 kB / 463.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.2738, allocations: 53.38 kB / 463.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2739, allocations: 20.55 kB / 463.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.274, allocations: 169.2 kB / 463.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.274, allocations: 0 / 463.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004912/0.2745, allocations: 251.5 kB / 463.8 MB, free: 15.41 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.0003059/0.2748, allocations: 227 kB / 464.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.2754, allocations: 0.5516 MB / 464.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.2754, allocations: 8.469 kB / 464.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.2758, allocations: 489.9 kB / 465.1 MB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.2766, allocations: 1.24 MB / 466.3 MB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.2835, allocations: 1.139 MB / 467.5 MB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2836, allocations: 155.2 kB / 467.6 MB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.2839, allocations: 110.5 kB / 467.7 MB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.2843, allocations: 225.1 kB / 468 MB, free: 11.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2843, allocations: 0 / 468 MB, free: 11.05 MB / 442.7 MB Notification: Performance of Templates: time 0.01504/0.2993, allocations: 14.36 MB / 482.3 MB, free: 13.13 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6367241498082876]