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.001402/0.001402, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001392/0.001392, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9225/0.9225, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 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.7343/0.7343, allocations: 118.6 MB / 379.7 MB, free: 1.363 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.693e-06/1.693e-06, allocations: 0 / 484.8 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.43e-05, allocations: 8.734 kB / 484.8 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1259/0.1259, allocations: 133.9 MB / 0.6043 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00582/0.1317, allocations: 3.679 MB / 0.6079 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.1329, allocations: 99.12 kB / 0.608 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.134, allocations: 0.5549 MB / 0.6085 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.1363, allocations: 1.331 MB / 0.6098 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1376, allocations: 0.6584 MB / 0.6105 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002434/0.1401, allocations: 2.917 MB / 0.6133 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.1404, allocations: 241.3 kB / 0.6135 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.1429, allocations: 1.662 MB / 0.6152 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.1439, allocations: 1.064 MB / 0.6162 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.144, allocations: 108 kB / 0.6163 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.1447, allocations: 347.5 kB / 0.6166 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.1449, allocations: 350.3 kB / 0.617 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.1454, allocations: 0.561 MB / 0.6175 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.147, allocations: 1.568 MB / 0.619 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.147, allocations: 0 / 0.619 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.062e-06/0.147, allocations: 4 kB / 0.619 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.147, allocations: 4 kB / 0.619 GB, free: 10.85 MB / 0.5417 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.002174/0.1492, allocations: 2.194 MB / 0.6212 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1492, allocations: 16.03 kB / 0.6212 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.1496, allocations: 347.3 kB / 0.6215 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.1509, allocations: 1.205 MB / 0.6227 GB, free: 7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.151, allocations: 78.47 kB / 0.6228 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1511, allocations: 116.4 kB / 0.6229 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.1519, allocations: 0.8791 MB / 0.6238 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.152, allocations: 4 kB / 0.6238 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.152, allocations: 40 kB / 0.6238 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.152, allocations: 28 kB / 0.6238 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.1525, allocations: 443.5 kB / 0.6243 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.156, allocations: 4.025 MB / 0.6282 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.1568, allocations: 0.5559 MB / 0.6287 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.157, allocations: 241.6 kB / 0.629 GB, free: 356 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.1586, allocations: 1.586 MB / 0.6305 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1586, allocations: 61.72 kB / 0.6306 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 2.835e-06/0.1586, allocations: 0 / 0.6306 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.00149/0.1601, allocations: 1.068 MB / 0.6316 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1601, allocations: 115.5 kB / 0.6317 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007287/0.1609, allocations: 1.073 MB / 0.6328 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.1609, allocations: 45.7 kB / 0.6328 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.1613, allocations: 0.7175 MB / 0.6335 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.1615, allocations: 388.5 kB / 0.6339 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.1617, allocations: 220.4 kB / 0.6341 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1618, allocations: 0.5198 MB / 0.6346 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.162, allocations: 134.5 kB / 0.6347 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.1624, allocations: 0.5394 MB / 0.6353 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.1631, allocations: 0.536 MB / 0.6358 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1631, allocations: 3.938 kB / 0.6358 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0009839/0.1641, allocations: 0.8786 MB / 0.6366 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1641, allocations: 5.875 kB / 0.6366 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1641, allocations: 4 kB / 0.6366 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.1644, allocations: 158.4 kB / 0.6368 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.1648, allocations: 207.7 kB / 0.637 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2547/0.4195, allocations: 8.753 MB / 0.6455 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.4203, allocations: 89.52 kB / 0.6456 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/0.4204, allocations: 42.94 kB / 0.6457 GB, free: 49.17 MB / 0.5573 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.0003521/0.4208, allocations: 212.7 kB / 0.6459 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.421, allocations: 195.9 kB / 0.6461 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.4229, allocations: 1.583 MB / 0.6476 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4229, allocations: 9.875 kB / 0.6476 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4229, allocations: 3.094 kB / 0.6476 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4229, allocations: 4.75 kB / 0.6476 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.4249, allocations: 1.718 MB / 0.6493 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4249, allocations: 5.703 kB / 0.6493 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.4252, allocations: 129.9 kB / 0.6494 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/0.4255, allocations: 162.2 kB / 0.6496 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.4256, allocations: 30.34 kB / 0.6496 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.4283, allocations: 8.771 MB / 0.6582 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4283, allocations: 4 kB / 0.6582 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.4297, allocations: 1.303 MB / 0.6595 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.43, allocations: 234.7 kB / 0.6597 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.4302, allocations: 34.91 kB / 0.6597 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.4304, allocations: 21.84 kB / 0.6597 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4306, allocations: 76.14 kB / 0.6598 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.4306, allocations: 28.05 kB / 0.6598 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005172/0.4311, allocations: 0.6731 MB / 0.6605 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4311, allocations: 0 / 0.6605 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009838/0.4321, allocations: 420.5 kB / 0.6609 GB, free: 38.35 MB / 0.5573 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.0009177/0.433, allocations: 407 kB / 0.6613 GB, free: 38.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.4341, allocations: 1.345 MB / 0.6626 GB, free: 37.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.4341, allocations: 0 / 0.6626 GB, free: 37.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.4346, allocations: 1.101 MB / 0.6637 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4361, allocations: 0.5772 MB / 0.6642 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.4397, allocations: 2.58 MB / 0.6668 GB, free: 35.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.4399, allocations: 266.4 kB / 0.667 GB, free: 35.01 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007885/0.4407, allocations: 271.2 kB / 0.6673 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.4414, allocations: 492.2 kB / 0.6677 GB, free: 34.87 MB / 0.5573 GB Notification: Performance of SimCode: time 1.783e-06/0.4414, allocations: 2.641 kB / 0.6677 GB, free: 34.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.03284/0.4742, allocations: 24.12 MB / 0.6913 GB, free: 30.82 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] 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","",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.559388909023255]