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.001304/0.001304, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001508/0.001508, allocations: 177 kB / 23.36 MB, free: 1.129 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.8841/0.8841, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.6294/0.6294, allocations: 118.6 MB / 378.9 MB, free: 1.344 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.262e-06/1.262e-06, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.927e-06/1.019e-05, allocations: 2.312 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.2528/0.2528, allocations: 135.9 MB / 0.5534 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004716/0.2575, allocations: 3.79 MB / 0.5571 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.2581, allocations: 99.06 kB / 0.5572 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.2589, allocations: 0.5587 MB / 0.5578 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.2604, allocations: 1.323 MB / 0.5591 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.2613, allocations: 0.6624 MB / 0.5597 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.2631, allocations: 2.906 MB / 0.5625 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.2634, allocations: 254.2 kB / 0.5628 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.2649, allocations: 1.631 MB / 0.5644 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/0.2658, allocations: 1.048 MB / 0.5654 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2659, allocations: 108 kB / 0.5655 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.2663, allocations: 351.5 kB / 0.5658 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.2665, allocations: 350.3 kB / 0.5662 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.2669, allocations: 0.561 MB / 0.5667 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.2681, allocations: 1.568 MB / 0.5683 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2681, allocations: 3.938 kB / 0.5683 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2681, allocations: 0 / 0.5683 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.2681, allocations: 4 kB / 0.5683 GB, free: 4.184 MB / 0.5105 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.001908/0.27, allocations: 2.043 MB / 0.5703 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.27, allocations: 16.03 kB / 0.5703 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.2704, allocations: 260.5 kB / 0.5705 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2716, allocations: 1.094 MB / 0.5716 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.2716, allocations: 90.39 kB / 0.5717 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.2717, allocations: 112.3 kB / 0.5718 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.2725, allocations: 0.854 MB / 0.5726 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2725, allocations: 7.938 kB / 0.5726 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.2725, allocations: 40 kB / 0.5727 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.2726, allocations: 28 kB / 0.5727 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.273, allocations: 408.2 kB / 0.5731 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.2758, allocations: 2.938 MB / 0.5759 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.2763, allocations: 497.4 kB / 0.5764 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.2766, allocations: 210.4 kB / 0.5766 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.2779, allocations: 1.16 MB / 0.5778 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2779, allocations: 51.09 kB / 0.5778 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=108): time 2.214e-06/0.2779, allocations: 0 / 0.5778 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108): time 0.001296/0.2792, allocations: 0.8212 MB / 0.5786 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2792, allocations: 115.5 kB / 0.5787 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.2798, allocations: 0.962 MB / 0.5797 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.2799, allocations: 45.7 kB / 0.5797 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2801, allocations: 469.7 kB / 0.5801 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.2803, allocations: 392.5 kB / 0.5805 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.2804, allocations: 194.8 kB / 0.5807 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.2805, allocations: 349.9 kB / 0.581 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2807, allocations: 117.9 kB / 0.5812 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.2809, allocations: 478.1 kB / 0.5816 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.2814, allocations: 474.7 kB / 0.5821 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2814, allocations: 0 / 0.5821 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0006861/0.2821, allocations: 0.6413 MB / 0.5827 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2821, allocations: 11.94 kB / 0.5827 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2821, allocations: 4 kB / 0.5827 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.2824, allocations: 140.2 kB / 0.5828 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.2827, allocations: 191.7 kB / 0.583 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.2851, allocations: 5.978 MB / 0.5889 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.2854, allocations: 87.33 kB / 0.5889 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.2854, allocations: 35.98 kB / 0.589 GB, free: 13.97 MB / 0.5417 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.0002038/0.2856, allocations: 170.9 kB / 0.5891 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2858, allocations: 131.9 kB / 0.5893 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.287, allocations: 1.336 MB / 0.5906 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.287, allocations: 12 kB / 0.5906 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.287, allocations: 0 / 0.5906 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.287, allocations: 7.984 kB / 0.5906 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.2882, allocations: 1.35 MB / 0.5919 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2882, allocations: 0 / 0.5919 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.2884, allocations: 119.8 kB / 0.592 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.2887, allocations: 140.5 kB / 0.5922 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2887, allocations: 23.98 kB / 0.5922 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.291, allocations: 5.988 MB / 0.598 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.291, allocations: 11.88 kB / 0.598 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.292, allocations: 0.9444 MB / 0.599 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.2923, allocations: 182.8 kB / 0.5991 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.053e-05/0.2924, allocations: 31.89 kB / 0.5992 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.2926, allocations: 16 kB / 0.5992 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.2927, allocations: 75.73 kB / 0.5993 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.2927, allocations: 23.98 kB / 0.5993 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003789/0.2931, allocations: 0.547 MB / 0.5998 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2931, allocations: 0 / 0.5998 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006586/0.2938, allocations: 423.2 kB / 0.6002 GB, free: 1.809 MB / 0.5417 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.0009597/0.2947, allocations: 498.8 kB / 0.6007 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008304/0.2956, allocations: 1.034 MB / 0.6017 GB, free: 476 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.2956, allocations: 16 kB / 0.6017 GB, free: 460 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.2961, allocations: 0.8119 MB / 0.6025 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.2973, allocations: 0.5661 MB / 0.6031 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.3, allocations: 2.465 MB / 0.6055 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.3002, allocations: 261.1 kB / 0.6057 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004963/0.3007, allocations: 266.4 kB / 0.606 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006272/0.3013, allocations: 415.1 kB / 0.6064 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of SimCode: time 6.72e-07/0.3013, allocations: 4 kB / 0.6064 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of Templates: time 0.02551/0.3268, allocations: 23.73 MB / 0.6295 GB, free: 4.246 MB / 0.573 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: 3.9518166272901]