Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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.0008131/0.0008131, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002043, 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.0007945/0.0007945, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001888, 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.9435/0.9435, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08606/1.03, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.6509/0.6509, allocations: 118.7 MB / 362.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07096/0.7219, allocations: 35.84 MB / 398.7 MB, free: 13.09 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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.338e-05, allocations: 6.312 kB / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.3126/0.3126, allocations: 133.3 MB / 0.5207 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005112/0.3177, allocations: 4.034 MB / 0.5247 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.3182, allocations: 55.5 kB / 0.5247 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007439/0.3189, allocations: 413.5 kB / 0.5251 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.3202, allocations: 0.8887 MB / 0.526 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3214, allocations: 0.6357 MB / 0.5266 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.3232, allocations: 2.208 MB / 0.5288 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.3236, allocations: 227.1 kB / 0.529 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.3257, allocations: 1.404 MB / 0.5304 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.3269, allocations: 1.072 MB / 0.5314 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.3272, allocations: 131.9 kB / 0.5315 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000863/0.3281, allocations: 471.3 kB / 0.532 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.3283, allocations: 314.9 kB / 0.5323 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.3287, allocations: 439.1 kB / 0.5327 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.33, allocations: 1.483 MB / 0.5342 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3301, allocations: 3.938 kB / 0.5342 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3301, allocations: 4 kB / 0.5342 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.3301, allocations: 3.938 kB / 0.5342 GB, free: 0.8594 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002449/0.3325, allocations: 2.351 MB / 0.5365 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3326, allocations: 12.03 kB / 0.5365 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.3329, allocations: 204.6 kB / 0.5367 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000957/0.3338, allocations: 0.8284 MB / 0.5375 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.3339, allocations: 122.2 kB / 0.5376 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3341, allocations: 111.9 kB / 0.5377 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009184/0.335, allocations: 0.9111 MB / 0.5386 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.335, allocations: 0 / 0.5386 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.3351, allocations: 36 kB / 0.5386 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.3351, allocations: 49.98 kB / 0.5387 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.3359, allocations: 0.6015 MB / 0.5393 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.3395, allocations: 2.699 MB / 0.5419 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.3402, allocations: 0.6258 MB / 0.5425 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.3406, allocations: 334.1 kB / 0.5428 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/0.3423, allocations: 1.085 MB / 0.5439 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3424, allocations: 51.5 kB / 0.5439 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 1.994e-06/0.3424, allocations: 0 / 0.5439 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.003641/0.346, allocations: 2.523 MB / 0.5464 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.346, allocations: 68.34 kB / 0.5465 GB, free: 4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.3465, allocations: 0.7354 MB / 0.5472 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.3465, allocations: 49.7 kB / 0.5472 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3467, allocations: 363.6 kB / 0.5476 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.3469, allocations: 452 kB / 0.548 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.3471, allocations: 234.7 kB / 0.5482 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.3472, allocations: 357.8 kB / 0.5486 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.3474, allocations: 178.5 kB / 0.5487 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.3478, allocations: 0.4904 MB / 0.5492 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.3484, allocations: 0.6248 MB / 0.5498 GB, free: 400 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3484, allocations: 0 / 0.5498 GB, free: 400 kB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0009923/0.3494, allocations: 0.8708 MB / 0.5507 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3494, allocations: 8 kB / 0.5507 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3494, allocations: 4 kB / 0.5507 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008234/0.3502, allocations: 283.3 kB / 0.551 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.3508, allocations: 295.5 kB / 0.5512 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.3528, allocations: 2.472 MB / 0.5537 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3532, allocations: 38.92 kB / 0.5537 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.3532, allocations: 47.94 kB / 0.5537 GB, free: 12.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.3534, allocations: 176.4 kB / 0.5539 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.3536, allocations: 119.9 kB / 0.554 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3549, allocations: 1.274 MB / 0.5553 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3549, allocations: 12 kB / 0.5553 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3549, allocations: 4 kB / 0.5553 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.355, allocations: 7.969 kB / 0.5553 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.357, allocations: 1.807 MB / 0.5571 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.357, allocations: 11.98 kB / 0.5571 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.3575, allocations: 247.5 kB / 0.5573 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3577, allocations: 195 kB / 0.5575 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.3585, allocations: 335.7 kB / 0.5578 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.3585, allocations: 47.94 kB / 0.5579 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.3605, allocations: 2.511 MB / 0.5603 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3605, allocations: 9.625 kB / 0.5603 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3618, allocations: 1.367 MB / 0.5617 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.3619, allocations: 31.98 kB / 0.5617 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.3622, allocations: 28 kB / 0.5617 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3624, allocations: 116.6 kB / 0.5618 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.3624, allocations: 39.94 kB / 0.5619 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002551/0.3627, allocations: 381.9 kB / 0.5622 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3627, allocations: 0 / 0.5622 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007384/0.3634, allocations: 431.7 kB / 0.5626 GB, free: 2.891 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.3646, allocations: 0.5948 MB / 0.5632 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.3658, allocations: 1.079 MB / 0.5643 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.055e-05/0.3658, allocations: 19.98 kB / 0.5643 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.3669, allocations: 0.8362 MB / 0.5651 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.3686, allocations: 2.607 MB / 0.5677 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.3831, allocations: 2.445 MB / 0.57 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3834, allocations: 286.4 kB / 0.5703 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006785/0.384, allocations: 222.9 kB / 0.5705 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/0.3847, allocations: 417 kB / 0.5709 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.563e-06/0.3847, allocations: 0 / 0.5709 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.02844/0.4132, allocations: 28.11 MB / 0.5984 GB, free: 14.4 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_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: 4.051314924843609]