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.0009873/0.0009873, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001204/0.001204, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9169/0.9169, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.666/0.666, allocations: 118.6 MB / 378.9 MB, free: 1.359 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.553e-06/1.553e-06, allocations: 0 / 484.1 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.871e-05, allocations: 3.438 kB / 484.1 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.133/0.133, allocations: 134 MB / 0.6035 GB, free: 10 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003793/0.1368, allocations: 3.672 MB / 0.6071 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.1373, allocations: 99.06 kB / 0.6072 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.1383, allocations: 0.5548 MB / 0.6078 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.14, allocations: 1.323 MB / 0.609 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1412, allocations: 0.6623 MB / 0.6097 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002517/0.1437, allocations: 2.909 MB / 0.6125 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.1441, allocations: 241.3 kB / 0.6128 GB, free: 500 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.1465, allocations: 1.665 MB / 0.6144 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.1477, allocations: 1.067 MB / 0.6154 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.1479, allocations: 108 kB / 0.6155 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.1485, allocations: 343.4 kB / 0.6159 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.1488, allocations: 358.3 kB / 0.6162 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.1494, allocations: 0.5532 MB / 0.6167 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.1511, allocations: 1.572 MB / 0.6183 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1511, allocations: 0 / 0.6183 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1511, allocations: 7.938 kB / 0.6183 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.1511, allocations: 0 / 0.6183 GB, free: 10.83 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.001939/0.1531, allocations: 2.198 MB / 0.6204 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.1531, allocations: 8.031 kB / 0.6204 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.1535, allocations: 343.4 kB / 0.6208 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1546, allocations: 1.216 MB / 0.622 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.1546, allocations: 78.47 kB / 0.622 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.196e-05/0.1547, allocations: 108.4 kB / 0.6221 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.1554, allocations: 0.8791 MB / 0.623 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1555, allocations: 3.984 kB / 0.623 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.1555, allocations: 43.94 kB / 0.623 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1555, allocations: 28 kB / 0.6231 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.156, allocations: 443.5 kB / 0.6235 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.1589, allocations: 4.021 MB / 0.6274 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.1595, allocations: 0.561 MB / 0.628 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1597, allocations: 234.3 kB / 0.6282 GB, free: 348 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.1611, allocations: 1.644 MB / 0.6298 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1612, allocations: 49.98 kB / 0.6298 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 2.224e-06/0.1612, allocations: 4 kB / 0.6298 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.001326/0.1625, allocations: 1.072 MB / 0.6309 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.1625, allocations: 119.4 kB / 0.631 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.1632, allocations: 1.073 MB / 0.6321 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.1632, allocations: 49.7 kB / 0.6321 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.1636, allocations: 0.7175 MB / 0.6328 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.1638, allocations: 392.5 kB / 0.6332 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.1639, allocations: 212.4 kB / 0.6334 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1641, allocations: 0.5159 MB / 0.6339 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1642, allocations: 134.5 kB / 0.634 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1645, allocations: 0.5433 MB / 0.6345 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.165, allocations: 0.5362 MB / 0.6351 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.165, allocations: 0 / 0.6351 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0008861/0.1659, allocations: 0.8744 MB / 0.6359 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1659, allocations: 4 kB / 0.6359 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1659, allocations: 4 kB / 0.6359 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.1662, allocations: 154.6 kB / 0.6361 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.1668, allocations: 211.7 kB / 0.6363 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2114/0.3782, allocations: 8.758 MB / 0.6448 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.3788, allocations: 96.12 kB / 0.6449 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.3789, allocations: 40.42 kB / 0.645 GB, free: 49.18 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.0002809/0.3792, allocations: 217.8 kB / 0.6452 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.3794, allocations: 193.1 kB / 0.6454 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.381, allocations: 1.576 MB / 0.6469 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.381, allocations: 8.062 kB / 0.6469 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.381, allocations: 3.312 kB / 0.6469 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.381, allocations: 5.828 kB / 0.6469 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.3826, allocations: 1.722 MB / 0.6486 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3826, allocations: 4.281 kB / 0.6486 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3829, allocations: 125.6 kB / 0.6487 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/0.3831, allocations: 160.5 kB / 0.6489 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.3832, allocations: 30.92 kB / 0.6489 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.3851, allocations: 8.778 MB / 0.6575 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3851, allocations: 3.781 kB / 0.6575 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3861, allocations: 1.317 MB / 0.6588 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.3864, allocations: 229.5 kB / 0.659 GB, free: 38.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.3864, allocations: 33.77 kB / 0.659 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.3867, allocations: 23.19 kB / 0.659 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.3868, allocations: 75.36 kB / 0.6591 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.3868, allocations: 32.59 kB / 0.6591 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004762/0.3873, allocations: 0.6787 MB / 0.6598 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.3873, allocations: 0.8125 kB / 0.6598 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008667/0.3882, allocations: 414.3 kB / 0.6602 GB, free: 38.36 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.0007296/0.3889, allocations: 402.7 kB / 0.6606 GB, free: 38.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008122/0.3897, allocations: 1.35 MB / 0.6619 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3897, allocations: 2.562 kB / 0.6619 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.3901, allocations: 1.104 MB / 0.663 GB, free: 36.49 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.3914, allocations: 0.5696 MB / 0.6635 GB, free: 36.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.3948, allocations: 2.59 MB / 0.6661 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.395, allocations: 253.4 kB / 0.6663 GB, free: 35.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006552/0.3956, allocations: 271 kB / 0.6666 GB, free: 34.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000749/0.3964, allocations: 493.7 kB / 0.667 GB, free: 34.89 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/0.3964, allocations: 0 / 0.667 GB, free: 34.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.03171/0.4281, allocations: 23.74 MB / 0.6902 GB, free: 31.05 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.354198979213834]