Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.00141/0.00141, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00152/0.00152, allocations: 158.2 kB / 23 MB, free: 4.602 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7343/0.7343, allocations: 74.91 MB / 334.7 MB, free: 15.52 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [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.002605/0.002605, allocations: 83.66 kB / 496.4 MB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1428, allocations: 73.04 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.5437/0.6864, allocations: 150.2 MB / 0.7027 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.6991, allocations: 10.52 MB / 0.713 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.7005, allocations: 106.5 kB / 0.7131 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.7026, allocations: 0.8307 MB / 0.7139 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.7071, allocations: 1.73 MB / 0.7156 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.7111, allocations: 1.363 MB / 0.7169 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00363/0.7147, allocations: 2.59 MB / 0.7195 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.7153, allocations: 236.4 kB / 0.7197 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.7181, allocations: 1.493 MB / 0.7212 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.7195, allocations: 1.085 MB / 0.7222 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.7197, allocations: 108.2 kB / 0.7223 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.7229, allocations: 1.559 MB / 0.7238 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.7232, allocations: 343.4 kB / 0.7242 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.7238, allocations: 0.6453 MB / 0.7248 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.7264, allocations: 2.481 MB / 0.7272 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7264, allocations: 0.9062 kB / 0.7272 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7264, allocations: 0 / 0.7272 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.7264, allocations: 0.9688 kB / 0.7272 GB, free: 2.691 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003236/0.7297, allocations: 2.096 MB / 0.7293 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.7297, allocations: 8.156 kB / 0.7293 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005006/0.7302, allocations: 236.9 kB / 0.7295 GB, free: 17.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.7319, allocations: 1.132 MB / 0.7306 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.732, allocations: 82.75 kB / 0.7307 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.7321, allocations: 115.5 kB / 0.7308 GB, free: 17.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.7337, allocations: 1.231 MB / 0.732 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.7337, allocations: 3.625 kB / 0.732 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.7338, allocations: 45.3 kB / 0.732 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.7338, allocations: 25.5 kB / 0.7321 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.7352, allocations: 1.089 MB / 0.7331 GB, free: 16.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/0.74, allocations: 3.69 MB / 0.7367 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.7412, allocations: 0.7023 MB / 0.7374 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.7417, allocations: 381.4 kB / 0.7378 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002765/0.7444, allocations: 1.496 MB / 0.7392 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.7445, allocations: 47.97 kB / 0.7393 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 2.986e-06/0.7445, allocations: 0.8438 kB / 0.7393 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.002927/0.7474, allocations: 1.434 MB / 0.7407 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.7475, allocations: 114.1 kB / 0.7408 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7486, allocations: 1.075 MB / 0.7419 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.7487, allocations: 43.14 kB / 0.7419 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.7491, allocations: 0.6527 MB / 0.7425 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.7492, allocations: 393 kB / 0.7429 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.7495, allocations: 203.4 kB / 0.7431 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7496, allocations: 342.8 kB / 0.7434 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.7501, allocations: 299.1 kB / 0.7437 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.7507, allocations: 0.5111 MB / 0.7442 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.7518, allocations: 0.7835 MB / 0.745 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.7518, allocations: 4.781 kB / 0.745 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001887/0.7537, allocations: 1.156 MB / 0.7461 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7538, allocations: 6.781 kB / 0.7461 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7538, allocations: 8.109 kB / 0.7461 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.7542, allocations: 163.2 kB / 0.7463 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.7549, allocations: 206 kB / 0.7465 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.7605, allocations: 6.611 MB / 0.7529 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.7611, allocations: 82.98 kB / 0.753 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.43e-05/0.7612, allocations: 48.86 kB / 0.7531 GB, free: 6.758 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005108/0.7617, allocations: 305.4 kB / 0.7534 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.762, allocations: 156 kB / 0.7535 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.7644, allocations: 1.671 MB / 0.7551 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.7644, allocations: 8.781 kB / 0.7551 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7644, allocations: 6.156 kB / 0.7551 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.7645, allocations: 5.797 kB / 0.7552 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.7671, allocations: 1.974 MB / 0.7571 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.7671, allocations: 3.688 kB / 0.7571 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.7676, allocations: 126.9 kB / 0.7572 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.768, allocations: 160.4 kB / 0.7574 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.7681, allocations: 30.39 kB / 0.7574 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005403/0.7735, allocations: 6.611 MB / 0.7638 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7735, allocations: 6.188 kB / 0.7638 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.7758, allocations: 1.517 MB / 0.7653 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.7762, allocations: 234.6 kB / 0.7656 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.7764, allocations: 31.42 kB / 0.7656 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.7769, allocations: 16.88 kB / 0.7656 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.777, allocations: 79.95 kB / 0.7657 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.7771, allocations: 35.81 kB / 0.7657 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001/0.7781, allocations: 0.8239 MB / 0.7665 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7781, allocations: 0 / 0.7665 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001379/0.7794, allocations: 469.8 kB / 0.767 GB, free: 14.08 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.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 (70): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001925/0.7814, allocations: 0.7548 MB / 0.7677 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.7834, allocations: 1.291 MB / 0.769 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7834, allocations: 4.781 kB / 0.769 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7846, allocations: 0.9056 MB / 0.7698 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.7862, allocations: 326.4 kB / 0.7702 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.7916, allocations: 2.835 MB / 0.7729 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/0.7922, allocations: 0.6276 MB / 0.7735 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007504/0.7929, allocations: 263.3 kB / 0.7738 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.7932, allocations: 121.4 kB / 0.7739 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of SimCode: time 8.32e-07/0.7932, allocations: 0 / 0.7739 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.03788/0.8311, allocations: 20.85 MB / 0.7943 GB, free: 14.42 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.97286744590383]