Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001802/0.001802, allocations: 85.48 kB / 19.44 MB, free: 344 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.002007/0.002007, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.367 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.007/1.007, allocations: 118.6 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 482.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.503e-05, allocations: 5.266 kB / 482.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.2391/0.2391, allocations: 167.8 MB / 0.6354 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3155/0.5546, allocations: 12.05 MB / 0.6472 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.5564, allocations: 96.81 kB / 0.6473 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.5589, allocations: 0.8606 MB / 0.6481 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.5643, allocations: 1.921 MB / 0.65 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.5681, allocations: 1.404 MB / 0.6514 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003797/0.5719, allocations: 2.918 MB / 0.6542 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.5727, allocations: 237.4 kB / 0.6544 GB, free: 27.42 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.5765, allocations: 1.949 MB / 0.6563 GB, free: 27.21 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.5781, allocations: 1.065 MB / 0.6574 GB, free: 27.1 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.5783, allocations: 108.1 kB / 0.6575 GB, free: 27.1 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.5819, allocations: 1.583 MB / 0.659 GB, free: 26.98 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.5822, allocations: 348.8 kB / 0.6594 GB, free: 26.89 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008711/0.5831, allocations: 0.56 MB / 0.6599 GB, free: 26.81 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.5883, allocations: 2.58 MB / 0.6624 GB, free: 26.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5884, allocations: 0 / 0.6624 GB, free: 26.5 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5884, allocations: 1 kB / 0.6624 GB, free: 26.5 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.056e-05/0.5884, allocations: 2.594 kB / 0.6624 GB, free: 26.5 MB / 0.573 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.004795/0.5932, allocations: 2.375 MB / 0.6647 GB, free: 25.32 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5932, allocations: 9.531 kB / 0.6648 GB, free: 25.32 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.5941, allocations: 340.3 kB / 0.6651 GB, free: 25.2 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.5964, allocations: 1.246 MB / 0.6663 GB, free: 24.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.5965, allocations: 84.72 kB / 0.6664 GB, free: 24.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.5966, allocations: 111.4 kB / 0.6665 GB, free: 24.79 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.5987, allocations: 1.163 MB / 0.6676 GB, free: 24.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.5987, allocations: 1.625 kB / 0.6676 GB, free: 24.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5989, allocations: 48.56 kB / 0.6677 GB, free: 24.49 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.5989, allocations: 29.06 kB / 0.6677 GB, free: 24.49 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.6005, allocations: 0.7963 MB / 0.6685 GB, free: 24.49 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008085/0.6086, allocations: 4.646 MB / 0.673 GB, free: 22.4 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.6102, allocations: 0.7398 MB / 0.6737 GB, free: 22.29 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.6108, allocations: 396.3 kB / 0.6741 GB, free: 22.26 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003774/0.6146, allocations: 1.776 MB / 0.6758 GB, free: 21.41 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.6147, allocations: 55.11 kB / 0.6759 GB, free: 21.36 MB / 0.573 GB Notification: Performance of pre-optimization done (n=108): time 3.026e-06/0.6147, allocations: 0 / 0.6759 GB, free: 21.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=108): time 0.003835/0.6185, allocations: 1.491 MB / 0.6773 GB, free: 21.15 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.6186, allocations: 115.9 kB / 0.6775 GB, free: 21.02 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.6202, allocations: 1.337 MB / 0.6788 GB, free: 20.78 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.157e-05/0.6203, allocations: 49.89 kB / 0.6788 GB, free: 20.75 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/0.6207, allocations: 0.7761 MB / 0.6796 GB, free: 20.47 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.621, allocations: 413.3 kB / 0.68 GB, free: 20.21 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.6213, allocations: 228.4 kB / 0.6802 GB, free: 20.18 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003058/0.6216, allocations: 0.5368 MB / 0.6807 GB, free: 19.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.6221, allocations: 285 kB / 0.681 GB, free: 19.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.6229, allocations: 0.7078 MB / 0.6817 GB, free: 19.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.6241, allocations: 0.8683 MB / 0.6825 GB, free: 19.04 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6241, allocations: 2.344 kB / 0.6825 GB, free: 19.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002177/0.6263, allocations: 1.21 MB / 0.6837 GB, free: 18.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6263, allocations: 5.625 kB / 0.6837 GB, free: 18.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6263, allocations: 6.844 kB / 0.6837 GB, free: 18.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.6269, allocations: 182.2 kB / 0.6839 GB, free: 18.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.6276, allocations: 206.4 kB / 0.6841 GB, free: 18.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007458/0.6351, allocations: 9.246 MB / 0.6931 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.6365, allocations: 91.05 kB / 0.6932 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.6366, allocations: 53.7 kB / 0.6933 GB, free: 10.11 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.000696/0.6373, allocations: 307.2 kB / 0.6935 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/0.6377, allocations: 192.8 kB / 0.6937 GB, free: 9.859 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.6404, allocations: 1.995 MB / 0.6957 GB, free: 9.34 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6404, allocations: 8.156 kB / 0.6957 GB, free: 9.34 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6404, allocations: 4.156 kB / 0.6957 GB, free: 9.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.6404, allocations: 2.766 kB / 0.6957 GB, free: 9.34 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.6441, allocations: 2.42 MB / 0.6981 GB, free: 8.551 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6441, allocations: 2.969 kB / 0.6981 GB, free: 8.551 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.6446, allocations: 127.8 kB / 0.6982 GB, free: 8.547 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.6451, allocations: 192 kB / 0.6984 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.6452, allocations: 31.75 kB / 0.6984 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007532/0.6527, allocations: 9.255 MB / 0.7074 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6527, allocations: 2.688 kB / 0.7074 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.6555, allocations: 1.72 MB / 0.7091 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.6566, allocations: 236.2 kB / 0.7093 GB, free: 15 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.6568, allocations: 39.88 kB / 0.7094 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.6573, allocations: 20.05 kB / 0.7094 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.6575, allocations: 77 kB / 0.7095 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.6575, allocations: 29.81 kB / 0.7095 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001182/0.6587, allocations: 0.8992 MB / 0.7104 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.6587, allocations: 1.031 kB / 0.7104 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001683/0.6604, allocations: 0.4884 MB / 0.7109 GB, free: 14.76 MB / 0.5886 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.003147/0.6636, allocations: 0.7571 MB / 0.7116 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.6661, allocations: 1.636 MB / 0.7132 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6661, allocations: 3.938 kB / 0.7132 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.6676, allocations: 1.222 MB / 0.7144 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.6706, allocations: 0.57 MB / 0.7149 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.6756, allocations: 2.721 MB / 0.7176 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006617/0.6763, allocations: 0.6367 MB / 0.7182 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001124/0.6774, allocations: 271.6 kB / 0.7185 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.6777, allocations: 136.8 kB / 0.7186 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of SimCode: time 1.753e-06/0.6777, allocations: 0 / 0.7186 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of Templates: time 0.04901/0.7267, allocations: 26.32 MB / 0.7443 GB, free: 1.574 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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_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.345414250041358]