Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00181/0.00181, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001593/0.001593, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.079/1.079, allocations: 118.6 MB / 378.2 MB, free: 1.449 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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.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_dev_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_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.331e-05, allocations: 2.312 kB / 482.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.2179/0.2179, allocations: 151 MB / 0.6191 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.2354, allocations: 10.7 MB / 0.6295 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.237, allocations: 107.1 kB / 0.6296 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.2396, allocations: 0.8616 MB / 0.6305 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005656/0.2452, allocations: 1.91 MB / 0.6323 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.2495, allocations: 1.412 MB / 0.6337 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004606/0.2541, allocations: 2.913 MB / 0.6365 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006923/0.2548, allocations: 237.4 kB / 0.6368 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.2597, allocations: 1.951 MB / 0.6387 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.2621, allocations: 1.06 MB / 0.6397 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.2625, allocations: 112 kB / 0.6398 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.2666, allocations: 1.582 MB / 0.6414 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000523/0.2671, allocations: 342.3 kB / 0.6417 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.2684, allocations: 0.5649 MB / 0.6422 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2937/0.5621, allocations: 2.571 MB / 0.6447 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.5621, allocations: 0 / 0.6447 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5621, allocations: 0.9688 kB / 0.6447 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001253/0.5622, allocations: 0 / 0.6447 GB, free: 18.86 MB / 0.5573 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.005971/0.5682, allocations: 2.146 MB / 0.6468 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5683, allocations: 9.5 kB / 0.6469 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.5694, allocations: 342.7 kB / 0.6472 GB, free: 17.69 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.5721, allocations: 1.25 MB / 0.6484 GB, free: 17.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/0.5721, allocations: 80.84 kB / 0.6485 GB, free: 17.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.5723, allocations: 111.9 kB / 0.6486 GB, free: 17.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.5743, allocations: 1.237 MB / 0.6498 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.5743, allocations: 1.562 kB / 0.6498 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.887e-05/0.5744, allocations: 54.55 kB / 0.6498 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.5744, allocations: 27.22 kB / 0.6499 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.5759, allocations: 1.085 MB / 0.6509 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/0.5816, allocations: 3.769 MB / 0.6546 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.583, allocations: 0.7063 MB / 0.6553 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.5835, allocations: 383.4 kB / 0.6557 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003109/0.5866, allocations: 1.496 MB / 0.6571 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.5867, allocations: 54.97 kB / 0.6572 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 2.806e-06/0.5867, allocations: 1.203 kB / 0.6572 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.003336/0.59, allocations: 1.478 MB / 0.6586 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.59, allocations: 119.7 kB / 0.6587 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.5914, allocations: 1.126 MB / 0.6598 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.5914, allocations: 47.61 kB / 0.6599 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.5918, allocations: 0.6702 MB / 0.6605 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.5921, allocations: 392.4 kB / 0.6609 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.5924, allocations: 203.4 kB / 0.6611 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.5924, allocations: 343.9 kB / 0.6614 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.5929, allocations: 292.8 kB / 0.6617 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.5936, allocations: 0.6326 MB / 0.6623 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5947, allocations: 0.7947 MB / 0.6631 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5947, allocations: 1.656 kB / 0.6631 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002301/0.597, allocations: 1.201 MB / 0.6643 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.597, allocations: 8.25 kB / 0.6643 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5971, allocations: 8.094 kB / 0.6643 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.5977, allocations: 160.1 kB / 0.6644 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.5985, allocations: 212.5 kB / 0.6647 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006595/0.6051, allocations: 6.619 MB / 0.6711 GB, free: 22.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.6065, allocations: 92.08 kB / 0.6712 GB, free: 22.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.6066, allocations: 47.02 kB / 0.6712 GB, free: 22.84 MB / 0.573 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.0008768/0.6075, allocations: 315.4 kB / 0.6715 GB, free: 22.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.608, allocations: 194.4 kB / 0.6717 GB, free: 22.64 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.6114, allocations: 1.673 MB / 0.6734 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.6114, allocations: 8.625 kB / 0.6734 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.6114, allocations: 5.406 kB / 0.6734 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.6115, allocations: 6.656 kB / 0.6734 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.6154, allocations: 1.987 MB / 0.6753 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6154, allocations: 3.406 kB / 0.6753 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.6159, allocations: 125.5 kB / 0.6755 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/0.6165, allocations: 173.8 kB / 0.6756 GB, free: 21.63 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.6166, allocations: 33.36 kB / 0.6756 GB, free: 21.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.6233, allocations: 6.628 MB / 0.6821 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.6233, allocations: 8.344 kB / 0.6821 GB, free: 15.67 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.6267, allocations: 1.544 MB / 0.6836 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007856/0.6275, allocations: 237.5 kB / 0.6839 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.6278, allocations: 36.3 kB / 0.6839 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.6283, allocations: 19.95 kB / 0.6839 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.6285, allocations: 78.81 kB / 0.684 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.6286, allocations: 35.05 kB / 0.684 GB, free: 15.04 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001385/0.63, allocations: 0.8493 MB / 0.6849 GB, free: 14.93 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.63, allocations: 1.438 kB / 0.6849 GB, free: 14.93 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002176/0.6322, allocations: 0.4955 MB / 0.6853 GB, free: 14.86 MB / 0.573 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.002456/0.6346, allocations: 0.7564 MB / 0.6861 GB, free: 14.68 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.6374, allocations: 1.288 MB / 0.6873 GB, free: 14.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.6374, allocations: 0 / 0.6873 GB, free: 14.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.639, allocations: 0.9022 MB / 0.6882 GB, free: 13.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.6426, allocations: 0.573 MB / 0.6888 GB, free: 13.46 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/0.6485, allocations: 2.817 MB / 0.6915 GB, free: 12.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.6492, allocations: 0.6398 MB / 0.6922 GB, free: 12.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001204/0.6504, allocations: 283.7 kB / 0.6924 GB, free: 12.06 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.6507, allocations: 133.3 kB / 0.6926 GB, free: 12.05 MB / 0.573 GB Notification: Performance of SimCode: time 1.162e-06/0.6507, allocations: 0 / 0.6926 GB, free: 12.05 MB / 0.573 GB Notification: Performance of Templates: time 0.04308/0.6938, allocations: 26.26 MB / 0.7182 GB, free: 5.617 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 7.371385122998618]