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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5763/0.5763, allocations: 94.59 MB / 399.6 MB, free: 15.83 MB / 334.1 MB [Timeout remaining time 89] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002286/0.002286, allocations: 83.88 kB / 0.5452 GB, free: 12.24 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3459, allocations: 71.84 MB / 0.6154 GB, free: 4.105 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1861/0.532, allocations: 173.1 MB / 0.7844 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.546, allocations: 11.39 MB / 0.7955 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.5474, allocations: 75.5 kB / 0.7956 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.5496, allocations: 0.8933 MB / 0.7965 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004277/0.5538, allocations: 1.729 MB / 0.7982 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.5572, allocations: 1.323 MB / 0.7995 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003437/0.5607, allocations: 2.554 MB / 0.802 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.5611, allocations: 247.5 kB / 0.8022 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.5639, allocations: 1.459 MB / 0.8036 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.5654, allocations: 1.155 MB / 0.8047 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.5655, allocations: 108 kB / 0.8048 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004398/0.5699, allocations: 1.883 MB / 0.8067 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.5704, allocations: 334.5 kB / 0.807 GB, free: 152 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.5718, allocations: 0.8002 MB / 0.8078 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.5778, allocations: 2.509 MB / 0.8102 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5778, allocations: 0 / 0.8102 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5778, allocations: 0 / 0.8102 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.5778, allocations: 0 / 0.8102 GB, free: 12.82 MB / 0.6387 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.003584/0.5814, allocations: 2.175 MB / 0.8124 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5814, allocations: 12.03 kB / 0.8124 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.5817, allocations: 199.7 kB / 0.8126 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.5837, allocations: 1.236 MB / 0.8138 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.5837, allocations: 86.47 kB / 0.8138 GB, free: 9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.5839, allocations: 115.9 kB / 0.814 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.5857, allocations: 1.183 MB / 0.8151 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.5857, allocations: 0 / 0.8151 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.5858, allocations: 44 kB / 0.8152 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.5858, allocations: 24 kB / 0.8152 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.5875, allocations: 1.074 MB / 0.8162 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006278/0.5937, allocations: 5.261 MB / 0.8214 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.5951, allocations: 0.6918 MB / 0.822 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.5957, allocations: 396.1 kB / 0.8224 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004578/0.6003, allocations: 3.901 MB / 0.8262 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.6003, allocations: 47.06 kB / 0.8263 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=108): time 2.745e-06/0.6003, allocations: 0 / 0.8263 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108): time 0.003576/0.6039, allocations: 1.839 MB / 0.8281 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.604, allocations: 119.4 kB / 0.8282 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.6056, allocations: 1.286 MB / 0.8294 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.6057, allocations: 45.7 kB / 0.8295 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005375/0.6062, allocations: 0.6252 MB / 0.8301 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.6066, allocations: 396.5 kB / 0.8305 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.6068, allocations: 194.9 kB / 0.8307 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.607, allocations: 349.9 kB / 0.831 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.6075, allocations: 290.5 kB / 0.8313 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/0.6082, allocations: 453.2 kB / 0.8317 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.6095, allocations: 0.769 MB / 0.8325 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.6095, allocations: 3.938 kB / 0.8325 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002275/0.6118, allocations: 1.162 MB / 0.8336 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6118, allocations: 12 kB / 0.8336 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6118, allocations: 4 kB / 0.8336 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005465/0.6124, allocations: 156.1 kB / 0.8338 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.6132, allocations: 215.6 kB / 0.834 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005831/0.619, allocations: 7.245 MB / 0.841 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.6199, allocations: 111 kB / 0.8411 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.62, allocations: 52.05 kB / 0.8412 GB, free: 10.97 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0005721/0.6206, allocations: 313.7 kB / 0.8415 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.6209, allocations: 174.8 kB / 0.8417 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.6238, allocations: 1.702 MB / 0.8433 GB, free: 8.715 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.6238, allocations: 11.98 kB / 0.8433 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6238, allocations: 11.88 kB / 0.8433 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.6238, allocations: 3.984 kB / 0.8433 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.6275, allocations: 2.387 MB / 0.8457 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6275, allocations: 4.344 kB / 0.8457 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.6281, allocations: 131.8 kB / 0.8458 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.6285, allocations: 164.2 kB / 0.846 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.6286, allocations: 31.98 kB / 0.846 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005689/0.6343, allocations: 7.268 MB / 0.8531 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6343, allocations: 4 kB / 0.8531 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.637, allocations: 1.588 MB / 0.8546 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.6376, allocations: 339.7 kB / 0.855 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.6378, allocations: 35.83 kB / 0.855 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.6384, allocations: 16 kB / 0.855 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.6385, allocations: 83.77 kB / 0.8551 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.6386, allocations: 35.92 kB / 0.8551 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001353/0.6399, allocations: 0.9889 MB / 0.8561 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.6399, allocations: 0 / 0.8561 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001429/0.6414, allocations: 463.3 kB / 0.8565 GB, free: 10.26 MB / 0.6856 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 (74): * Single equations (assignments): 69 * 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.001858/0.6432, allocations: 0.7513 MB / 0.8573 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.6455, allocations: 1.3 MB / 0.8585 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6455, allocations: 0 / 0.8585 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.6467, allocations: 0.9225 MB / 0.8594 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.649, allocations: 478.2 kB / 0.8599 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.6545, allocations: 2.946 MB / 0.8628 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.6554, allocations: 1.206 MB / 0.864 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.6559, allocations: 163.4 kB / 0.8641 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of SimCode: time 1.523e-06/0.6559, allocations: 0 / 0.8641 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of Templates: time 0.3005/0.9564, allocations: 53 MB / 0.9159 GB, free: 201.4 MB / 0.6856 GB [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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