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.001374/0.001374, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001507/0.001507, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.9884/0.9884, allocations: 116 MB / 375.2 MB, free: 7.523 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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 2.224e-06/2.224e-06, allocations: 0 / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.585e-05, allocations: 6.219 kB / 0.5538 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.5042/0.5042, allocations: 151 MB / 0.7012 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.5185, allocations: 10.66 MB / 0.7116 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.5203, allocations: 98.88 kB / 0.7117 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.5229, allocations: 0.8602 MB / 0.7125 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.5283, allocations: 1.897 MB / 0.7144 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.5325, allocations: 1.387 MB / 0.7157 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003647/0.5361, allocations: 2.873 MB / 0.7185 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006474/0.5368, allocations: 234.5 kB / 0.7188 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.5407, allocations: 1.92 MB / 0.7206 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.5425, allocations: 1.048 MB / 0.7217 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.5429, allocations: 111.3 kB / 0.7218 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.5466, allocations: 1.58 MB / 0.7233 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.547, allocations: 345.7 kB / 0.7236 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.5481, allocations: 0.5554 MB / 0.7242 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.5528, allocations: 2.523 MB / 0.7266 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5528, allocations: 0 / 0.7266 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5528, allocations: 0 / 0.7266 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.25e-05/0.5528, allocations: 0.9062 kB / 0.7266 GB, free: 4.215 MB / 0.5919 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.003986/0.5568, allocations: 2.1 MB / 0.7287 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5569, allocations: 8.625 kB / 0.7287 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.5575, allocations: 235.8 kB / 0.7289 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.5595, allocations: 1.139 MB / 0.73 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.5595, allocations: 78.97 kB / 0.7301 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.5597, allocations: 112.5 kB / 0.7302 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.5614, allocations: 1.239 MB / 0.7314 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.5615, allocations: 7.125 kB / 0.7314 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.106e-05/0.5616, allocations: 42.66 kB / 0.7315 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.5616, allocations: 24.88 kB / 0.7315 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.5631, allocations: 1.085 MB / 0.7326 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/0.5684, allocations: 3.728 MB / 0.7362 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.5699, allocations: 0.7106 MB / 0.7369 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.5705, allocations: 390.1 kB / 0.7373 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002962/0.5734, allocations: 1.479 MB / 0.7387 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.5735, allocations: 53.27 kB / 0.7388 GB, free: 180 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.206e-06/0.5735, allocations: 1.031 kB / 0.7388 GB, free: 180 kB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003316/0.5768, allocations: 1.442 MB / 0.7402 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.5769, allocations: 115 kB / 0.7403 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.5782, allocations: 1.079 MB / 0.7413 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.5783, allocations: 43.2 kB / 0.7414 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.5788, allocations: 0.6505 MB / 0.742 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.5791, allocations: 385.3 kB / 0.7424 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.5795, allocations: 200.1 kB / 0.7426 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5796, allocations: 346 kB / 0.7429 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.5802, allocations: 295.4 kB / 0.7432 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.5809, allocations: 0.5073 MB / 0.7437 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.5821, allocations: 0.7904 MB / 0.7445 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5821, allocations: 0 / 0.7445 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00225/0.5844, allocations: 1.159 MB / 0.7456 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.5844, allocations: 6 kB / 0.7456 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5844, allocations: 5.469 kB / 0.7456 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.585, allocations: 155.7 kB / 0.7457 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.5858, allocations: 210.2 kB / 0.7459 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005674/0.5915, allocations: 6.592 MB / 0.7524 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009645/0.5924, allocations: 96.52 kB / 0.7525 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.5926, allocations: 45.83 kB / 0.7525 GB, free: 8.262 MB / 0.6075 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.0007117/0.5933, allocations: 314.3 kB / 0.7528 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/0.5938, allocations: 153.4 kB / 0.753 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.5969, allocations: 1.664 MB / 0.7546 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5969, allocations: 9.156 kB / 0.7546 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.5969, allocations: 5.312 kB / 0.7546 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.5969, allocations: 8.312 kB / 0.7546 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.6007, allocations: 1.969 MB / 0.7565 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6007, allocations: 3.625 kB / 0.7565 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.6012, allocations: 127.9 kB / 0.7567 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.6017, allocations: 166.9 kB / 0.7568 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.6018, allocations: 28.23 kB / 0.7568 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.6075, allocations: 6.599 MB / 0.7633 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6075, allocations: 11.41 kB / 0.7633 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.6103, allocations: 1.513 MB / 0.7648 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.6109, allocations: 239.6 kB / 0.765 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/0.6112, allocations: 42.98 kB / 0.765 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.6118, allocations: 14.22 kB / 0.7651 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.612, allocations: 86.36 kB / 0.7651 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.6121, allocations: 26.14 kB / 0.7652 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001183/0.6132, allocations: 0.8289 MB / 0.766 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.6132, allocations: 0.8438 kB / 0.766 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001681/0.6149, allocations: 495.7 kB / 0.7665 GB, free: 14.29 MB / 0.6231 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.002079/0.617, allocations: 0.7569 MB / 0.7672 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.6193, allocations: 1.296 MB / 0.7685 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6193, allocations: 0.625 kB / 0.7685 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.6206, allocations: 0.9001 MB / 0.7693 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.6235, allocations: 0.529 MB / 0.7699 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/0.6296, allocations: 2.715 MB / 0.7725 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.6304, allocations: 0.6247 MB / 0.7731 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001121/0.6315, allocations: 285.5 kB / 0.7734 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.6319, allocations: 125.3 kB / 0.7735 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of SimCode: time 1.242e-06/0.6319, allocations: 0 / 0.7735 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.04492/0.6768, allocations: 25.52 MB / 0.7984 GB, free: 6.727 MB / 0.6387 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 6.992947742342949]