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.001113/0.001113, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.00253, allocations: 435.8 kB / 10.33 MB, free: 368 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002341, 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.9156/0.9156, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08746/1.003, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.6661/0.6661, allocations: 118.7 MB / 362.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05884/0.725, allocations: 35.84 MB / 398.5 MB, free: 13.25 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.542e-06/1.542e-06, allocations: 0 / 399.7 MB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.238e-05, allocations: 2.312 kB / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.3193/0.3193, allocations: 133.3 MB / 0.5205 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005202/0.3245, allocations: 4.038 MB / 0.5244 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008029/0.3253, allocations: 59.44 kB / 0.5245 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.326, allocations: 397.7 kB / 0.5249 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.3276, allocations: 0.8849 MB / 0.5257 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3291, allocations: 0.6384 MB / 0.5263 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.3311, allocations: 2.212 MB / 0.5285 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.3315, allocations: 219.2 kB / 0.5287 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.3333, allocations: 1.398 MB / 0.5301 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.3343, allocations: 1.08 MB / 0.5311 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.3345, allocations: 124 kB / 0.5313 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007719/0.3353, allocations: 475.3 kB / 0.5317 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.3355, allocations: 318.9 kB / 0.532 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.3359, allocations: 439.1 kB / 0.5324 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3374, allocations: 1.491 MB / 0.5339 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.55e-05/0.3374, allocations: 0 / 0.5339 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3374, allocations: 0 / 0.5339 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.423e-05/0.3375, allocations: 0 / 0.5339 GB, free: 1.125 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.002754/0.3402, allocations: 2.347 MB / 0.5362 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.3403, allocations: 8.031 kB / 0.5362 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.3406, allocations: 208.6 kB / 0.5364 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.3416, allocations: 0.8309 MB / 0.5372 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.3417, allocations: 122.2 kB / 0.5373 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3418, allocations: 111.9 kB / 0.5374 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/0.3427, allocations: 0.915 MB / 0.5383 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3428, allocations: 0 / 0.5383 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.3428, allocations: 36 kB / 0.5383 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.3429, allocations: 49.98 kB / 0.5384 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.3436, allocations: 0.6015 MB / 0.539 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.3475, allocations: 2.707 MB / 0.5416 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.3481, allocations: 0.6157 MB / 0.5422 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.3484, allocations: 326.6 kB / 0.5425 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.35, allocations: 1.085 MB / 0.5436 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.35, allocations: 47.56 kB / 0.5436 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 2.796e-06/0.35, allocations: 0 / 0.5436 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.003253/0.3533, allocations: 2.295 MB / 0.5459 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3533, allocations: 64.41 kB / 0.5459 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.3539, allocations: 0.7316 MB / 0.5467 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.354, allocations: 45.7 kB / 0.5467 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.3542, allocations: 371.5 kB / 0.5471 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.3544, allocations: 444 kB / 0.5475 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.3547, allocations: 238.7 kB / 0.5477 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3549, allocations: 357.8 kB / 0.5481 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.3552, allocations: 178.5 kB / 0.5482 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.3557, allocations: 0.4942 MB / 0.5487 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.3565, allocations: 0.6208 MB / 0.5493 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3565, allocations: 4 kB / 0.5493 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001324/0.3579, allocations: 0.863 MB / 0.5502 GB, free: 36 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3579, allocations: 4.125 kB / 0.5502 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3579, allocations: 8 kB / 0.5502 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/0.3585, allocations: 282.6 kB / 0.5504 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.3594, allocations: 301 kB / 0.5507 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.362, allocations: 2.476 MB / 0.5531 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.3626, allocations: 34.98 kB / 0.5532 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.3627, allocations: 47.94 kB / 0.5532 GB, free: 12.8 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.0003026/0.363, allocations: 172.4 kB / 0.5534 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.3632, allocations: 123.9 kB / 0.5535 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.365, allocations: 1.277 MB / 0.5548 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.365, allocations: 12 kB / 0.5548 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.365, allocations: 4 kB / 0.5548 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.365, allocations: 7.969 kB / 0.5548 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.368, allocations: 1.809 MB / 0.5565 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.368, allocations: 8 kB / 0.5565 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.3687, allocations: 240.8 kB / 0.5568 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.3691, allocations: 183.6 kB / 0.557 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.3698, allocations: 339.4 kB / 0.5573 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-05/0.3699, allocations: 47.88 kB / 0.5573 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.3725, allocations: 2.51 MB / 0.5598 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3725, allocations: 8 kB / 0.5598 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.3744, allocations: 1.363 MB / 0.5611 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.3746, allocations: 32 kB / 0.5611 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.375, allocations: 24.73 kB / 0.5612 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.3752, allocations: 116.6 kB / 0.5613 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.143e-05/0.3753, allocations: 43.94 kB / 0.5613 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003737/0.3756, allocations: 381 kB / 0.5617 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3756, allocations: 0 / 0.5617 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00107/0.3767, allocations: 431.7 kB / 0.5621 GB, free: 3.43 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.001664/0.3784, allocations: 0.5985 MB / 0.5627 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.38, allocations: 1.063 MB / 0.5637 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-05/0.38, allocations: 24.05 kB / 0.5637 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3811, allocations: 0.7734 MB / 0.5645 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.3827, allocations: 0.6366 MB / 0.5651 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.4024, allocations: 2.455 MB / 0.5675 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.4027, allocations: 286.3 kB / 0.5678 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007298/0.4034, allocations: 231.2 kB / 0.568 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.4041, allocations: 409 kB / 0.5684 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.263e-06/0.4041, allocations: 0 / 0.5684 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.02996/0.4341, allocations: 27.87 MB / 0.5956 GB, free: 1.637 MB / 0.5573 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.011389088816941]