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.001561/0.001561, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001762/0.001762, allocations: 219.3 kB / 23 MB, free: 4.914 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7145/0.7145, allocations: 94.63 MB / 407.8 MB, free: 8.938 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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.002495/0.002495, allocations: 91.27 kB / 0.5562 GB, free: 38.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1117, allocations: 73.06 MB / 0.6275 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4564/0.5682, allocations: 150.2 MB / 0.7742 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.5799, allocations: 10.52 MB / 0.7845 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.5814, allocations: 98.42 kB / 0.7846 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.5832, allocations: 0.8335 MB / 0.7854 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.5873, allocations: 1.738 MB / 0.7871 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.5904, allocations: 1.354 MB / 0.7884 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.5929, allocations: 2.596 MB / 0.7909 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.5933, allocations: 233.2 kB / 0.7911 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.5956, allocations: 1.492 MB / 0.7926 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.5968, allocations: 1.091 MB / 0.7937 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.597, allocations: 109.2 kB / 0.7938 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.5998, allocations: 1.554 MB / 0.7953 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.6, allocations: 340.7 kB / 0.7956 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005215/0.6006, allocations: 0.6486 MB / 0.7962 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.6034, allocations: 2.481 MB / 0.7987 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.6034, allocations: 1.031 kB / 0.7987 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6034, allocations: 0 / 0.7987 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.6034, allocations: 0 / 0.7987 GB, free: 2.102 MB / 0.5762 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.003031/0.6065, allocations: 2.092 MB / 0.8007 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.6065, allocations: 10.5 kB / 0.8007 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/0.6069, allocations: 230.1 kB / 0.8009 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.6087, allocations: 1.134 MB / 0.802 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.6088, allocations: 82.47 kB / 0.8021 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6089, allocations: 119.2 kB / 0.8022 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.6105, allocations: 1.237 MB / 0.8034 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.6105, allocations: 0 / 0.8034 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.6106, allocations: 48.12 kB / 0.8035 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.6106, allocations: 25.56 kB / 0.8035 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.6119, allocations: 1.086 MB / 0.8046 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004729/0.6167, allocations: 3.686 MB / 0.8082 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.6178, allocations: 0.7034 MB / 0.8089 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.6184, allocations: 384 kB / 0.8092 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/0.6211, allocations: 1.507 MB / 0.8107 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6211, allocations: 45.91 kB / 0.8107 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 2.785e-06/0.6211, allocations: 3.094 kB / 0.8108 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.002957/0.6241, allocations: 1.422 MB / 0.8121 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.6242, allocations: 119.1 kB / 0.8123 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.6253, allocations: 1.077 MB / 0.8133 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.6253, allocations: 43.17 kB / 0.8133 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.6258, allocations: 0.657 MB / 0.814 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.6261, allocations: 388.9 kB / 0.8144 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.6264, allocations: 196.1 kB / 0.8145 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6265, allocations: 344 kB / 0.8149 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.627, allocations: 298.8 kB / 0.8152 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.6277, allocations: 0.5092 MB / 0.8157 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.6289, allocations: 0.8007 MB / 0.8164 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6289, allocations: 0.875 kB / 0.8164 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001892/0.6308, allocations: 1.151 MB / 0.8176 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6308, allocations: 7.484 kB / 0.8176 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6308, allocations: 3.375 kB / 0.8176 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.6313, allocations: 161.8 kB / 0.8177 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.6319, allocations: 205.2 kB / 0.8179 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005216/0.6371, allocations: 6.616 MB / 0.8244 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.6378, allocations: 82.86 kB / 0.8245 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/0.6379, allocations: 50.84 kB / 0.8245 GB, free: 3.441 MB / 0.5919 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.0005019/0.6384, allocations: 302.9 kB / 0.8248 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.6386, allocations: 154.9 kB / 0.8249 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.6411, allocations: 1.673 MB / 0.8266 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.6411, allocations: 9.969 kB / 0.8266 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6411, allocations: 2.875 kB / 0.8266 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6412, allocations: 6.234 kB / 0.8266 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.6439, allocations: 1.975 MB / 0.8285 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6439, allocations: 8.578 kB / 0.8285 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.6443, allocations: 115.8 kB / 0.8286 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.6447, allocations: 166.1 kB / 0.8288 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.6448, allocations: 28.45 kB / 0.8288 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/0.6499, allocations: 6.619 MB / 0.8353 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6499, allocations: 6.969 kB / 0.8353 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.6521, allocations: 1.524 MB / 0.8368 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.6525, allocations: 230.5 kB / 0.837 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6527, allocations: 42.16 kB / 0.8371 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.6532, allocations: 17.69 kB / 0.8371 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6533, allocations: 77.78 kB / 0.8371 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.6533, allocations: 31.44 kB / 0.8372 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009569/0.6543, allocations: 0.8228 MB / 0.838 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6543, allocations: 0 / 0.838 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001283/0.6556, allocations: 471.6 kB / 0.8384 GB, free: 9.207 MB / 0.6075 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.001814/0.6574, allocations: 0.7511 MB / 0.8392 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.6593, allocations: 1.287 MB / 0.8404 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6593, allocations: 1.031 kB / 0.8404 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.6604, allocations: 0.9073 MB / 0.8413 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.6619, allocations: 322.4 kB / 0.8416 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.6671, allocations: 2.899 MB / 0.8444 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.6677, allocations: 0.6276 MB / 0.8451 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.6681, allocations: 150.1 kB / 0.8452 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.6681, allocations: 0 / 0.8452 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of Templates: time 0.05664/0.7247, allocations: 51.4 MB / 0.8954 GB, free: 3.125 MB / 0.6544 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] 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/jenkins1/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: 10.890459548681974]