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.001309/0.001309, allocations: 80.59 kB / 19.76 MB, free: 1.898 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.001426/0.001426, allocations: 160.2 kB / 23.01 MB, free: 4.578 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 9.258 MB / 190.1 MB " [Timeout remaining time 179] 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 0.7501/0.7501, allocations: 79.6 MB / 339.4 MB, free: 11.54 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002733/0.002733, allocations: 89.11 kB / 0.4924 GB, free: 26.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1218, allocations: 74.59 MB / 0.5652 GB, free: 6.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4894/0.6112, allocations: 150 MB / 0.7117 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.6263, allocations: 10.52 MB / 0.7219 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/0.6301, allocations: 102 kB / 0.722 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.6333, allocations: 0.8366 MB / 0.7228 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005693/0.639, allocations: 1.732 MB / 0.7245 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.6432, allocations: 1.359 MB / 0.7259 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003786/0.647, allocations: 2.589 MB / 0.7284 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.6476, allocations: 238.4 kB / 0.7286 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.652, allocations: 1.893 MB / 0.7305 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.654, allocations: 1.09 MB / 0.7315 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.6543, allocations: 110.3 kB / 0.7316 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.6583, allocations: 1.557 MB / 0.7332 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.6589, allocations: 337 kB / 0.7335 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.6602, allocations: 0.6483 MB / 0.7341 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005413/0.6656, allocations: 2.484 MB / 0.7365 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6656, allocations: 0.8438 kB / 0.7365 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6656, allocations: 0 / 0.7365 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.89e-05/0.6656, allocations: 0.9688 kB / 0.7365 GB, free: 2.859 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.004448/0.6701, allocations: 2.087 MB / 0.7386 GB, free: 17.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6701, allocations: 11.16 kB / 0.7386 GB, free: 17.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/0.6708, allocations: 233.4 kB / 0.7388 GB, free: 17.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.6731, allocations: 1.139 MB / 0.7399 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.6731, allocations: 78.97 kB / 0.74 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.6733, allocations: 114 kB / 0.7401 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.6752, allocations: 1.242 MB / 0.7413 GB, free: 17.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.6752, allocations: 4.812 kB / 0.7413 GB, free: 17.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.6753, allocations: 42.84 kB / 0.7414 GB, free: 17.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.6753, allocations: 36.23 kB / 0.7414 GB, free: 17.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.6768, allocations: 1.085 MB / 0.7425 GB, free: 17.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006062/0.6828, allocations: 3.685 MB / 0.7461 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.6842, allocations: 0.701 MB / 0.7467 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.6848, allocations: 388.2 kB / 0.7471 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003178/0.688, allocations: 1.499 MB / 0.7486 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.688, allocations: 41.94 kB / 0.7486 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 4.008e-06/0.688, allocations: 0 / 0.7486 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.003138/0.6912, allocations: 1.428 MB / 0.75 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.6912, allocations: 120.7 kB / 0.7501 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6926, allocations: 1.079 MB / 0.7512 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.6927, allocations: 44.3 kB / 0.7512 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.6931, allocations: 0.6521 MB / 0.7519 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.6933, allocations: 388.9 kB / 0.7522 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.6936, allocations: 200.9 kB / 0.7524 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6938, allocations: 342.7 kB / 0.7528 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.6943, allocations: 295.1 kB / 0.753 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/0.695, allocations: 0.5153 MB / 0.7535 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.6964, allocations: 0.7914 MB / 0.7543 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6964, allocations: 3.562 kB / 0.7543 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002302/0.6987, allocations: 1.148 MB / 0.7554 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6988, allocations: 7.156 kB / 0.7554 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6988, allocations: 3.469 kB / 0.7554 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/0.6993, allocations: 158.8 kB / 0.7556 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.7001, allocations: 208 kB / 0.7558 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.7059, allocations: 6.619 MB / 0.7623 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/0.7069, allocations: 82.56 kB / 0.7623 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.707, allocations: 48.56 kB / 0.7624 GB, free: 5.359 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.0007061/0.7077, allocations: 307.6 kB / 0.7627 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.7081, allocations: 151 kB / 0.7628 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.7109, allocations: 1.676 MB / 0.7645 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.711, allocations: 9.953 kB / 0.7645 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.711, allocations: 5.344 kB / 0.7645 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.711, allocations: 10.36 kB / 0.7645 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.7145, allocations: 1.974 MB / 0.7664 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7145, allocations: 3.469 kB / 0.7664 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.715, allocations: 125.2 kB / 0.7665 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.7156, allocations: 167.4 kB / 0.7667 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.7156, allocations: 28.14 kB / 0.7667 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005687/0.7213, allocations: 6.611 MB / 0.7732 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.7213, allocations: 6.781 kB / 0.7732 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.724, allocations: 1.515 MB / 0.7747 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/0.7246, allocations: 236.1 kB / 0.7749 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.7248, allocations: 33.42 kB / 0.7749 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.7254, allocations: 22.62 kB / 0.7749 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.7255, allocations: 77.23 kB / 0.775 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.7256, allocations: 37.7 kB / 0.775 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001112/0.7267, allocations: 0.8202 MB / 0.7758 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7267, allocations: 0 / 0.7758 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00154/0.7282, allocations: 477 kB / 0.7763 GB, free: 11.11 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.002052/0.7303, allocations: 0.7387 MB / 0.777 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.7326, allocations: 1.284 MB / 0.7783 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7326, allocations: 0 / 0.7783 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.7339, allocations: 0.9109 MB / 0.7792 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.7357, allocations: 328.7 kB / 0.7795 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.7414, allocations: 2.845 MB / 0.7823 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.742, allocations: 0.6292 MB / 0.7829 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009305/0.7429, allocations: 266.1 kB / 0.7831 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.7432, allocations: 119.7 kB / 0.7832 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of SimCode: time 8.61e-07/0.7432, allocations: 2.75 kB / 0.7832 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of Templates: time 0.03888/0.7821, allocations: 20.84 MB / 0.8036 GB, free: 7.602 MB / 0.6387 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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/jenkins1/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: 6.493354088161141]