Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.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.0009106/0.0009106, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009167/0.0009167, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.9403/0.9403, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6665/0.6665, allocations: 116 MB / 376 MB, free: 4.184 MB / 346.7 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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5545 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.073e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4426/0.4426, allocations: 141.9 MB / 0.693 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009396/0.452, allocations: 11.01 MB / 0.7038 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007729/0.4528, allocations: 59.28 kB / 0.7038 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.4539, allocations: 0.6304 MB / 0.7044 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.456, allocations: 1.328 MB / 0.7057 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.4577, allocations: 0.9428 MB / 0.7066 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.4589, allocations: 2.153 MB / 0.7088 GB, free: 1.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.4592, allocations: 209.9 kB / 0.709 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009175/0.4601, allocations: 1.227 MB / 0.7101 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.4609, allocations: 1.019 MB / 0.7111 GB, free: 120 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.461, allocations: 128.1 kB / 0.7113 GB, free: 120 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.4628, allocations: 1.34 MB / 0.7126 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.463, allocations: 411.6 kB / 0.713 GB, free: 15.23 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.4634, allocations: 0.5218 MB / 0.7135 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.4654, allocations: 2.338 MB / 0.7158 GB, free: 13.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4654, allocations: 0 / 0.7158 GB, free: 13.5 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4654, allocations: 0 / 0.7158 GB, free: 13.5 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.4654, allocations: 3.188 kB / 0.7158 GB, free: 13.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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002761/0.4681, allocations: 2.029 MB / 0.7177 GB, free: 12.09 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4682, allocations: 7.906 kB / 0.7178 GB, free: 12.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.4685, allocations: 180.9 kB / 0.7179 GB, free: 12 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.4695, allocations: 0.9516 MB / 0.7189 GB, free: 11.28 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.189e-05/0.4696, allocations: 121.4 kB / 0.719 GB, free: 11.19 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.4698, allocations: 96.73 kB / 0.7191 GB, free: 11.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.4712, allocations: 1.571 MB / 0.7206 GB, free: 10.17 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4713, allocations: 2.188 kB / 0.7206 GB, free: 10.17 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.4713, allocations: 36.22 kB / 0.7206 GB, free: 10.14 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.4714, allocations: 56.16 kB / 0.7207 GB, free: 10.13 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.4733, allocations: 2.065 MB / 0.7227 GB, free: 9.074 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.478, allocations: 4.026 MB / 0.7266 GB, free: 6.441 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.4792, allocations: 1.089 MB / 0.7277 GB, free: 5.84 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.4799, allocations: 0.7327 MB / 0.7284 GB, free: 5.457 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/0.4822, allocations: 1.544 MB / 0.7299 GB, free: 4.434 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.4822, allocations: 44.62 kB / 0.73 GB, free: 4.387 MB / 0.573 GB Notification: Performance of pre-optimization done (n=120): time 2.845e-06/0.4822, allocations: 0 / 0.73 GB, free: 4.387 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.005845/0.4881, allocations: 4.334 MB / 0.7342 GB, free: 2.008 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4881, allocations: 66.75 kB / 0.7343 GB, free: 1.941 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.4888, allocations: 0.8453 MB / 0.7351 GB, free: 1.461 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.4889, allocations: 46.61 kB / 0.7351 GB, free: 1.414 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.4891, allocations: 0.4911 MB / 0.7356 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.4893, allocations: 440.4 kB / 0.736 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.4896, allocations: 245.2 kB / 0.7363 GB, free: 452 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.4897, allocations: 352 kB / 0.7366 GB, free: 108 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.4903, allocations: 0.5571 MB / 0.7371 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007211/0.491, allocations: 0.7493 MB / 0.7379 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.4925, allocations: 1.342 MB / 0.7392 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4925, allocations: 0 / 0.7392 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00242/0.4949, allocations: 1.84 MB / 0.741 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4949, allocations: 8.031 kB / 0.741 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4949, allocations: 2.906 kB / 0.741 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.4955, allocations: 347.4 kB / 0.7413 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.496, allocations: 235.2 kB / 0.7415 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.4992, allocations: 3.701 MB / 0.7452 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.4996, allocations: 35.97 kB / 0.7452 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.4997, allocations: 63.94 kB / 0.7453 GB, free: 9.723 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000391/0.5001, allocations: 329.5 kB / 0.7456 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.5002, allocations: 135.2 kB / 0.7457 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.5029, allocations: 2.623 MB / 0.7483 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5029, allocations: 12 kB / 0.7483 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5029, allocations: 7.938 kB / 0.7483 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.5029, allocations: 7.969 kB / 0.7483 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.5059, allocations: 2.688 MB / 0.7509 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5059, allocations: 4 kB / 0.7509 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.5063, allocations: 179.7 kB / 0.7511 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/0.5068, allocations: 404.9 kB / 0.7515 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.5069, allocations: 48.81 kB / 0.7515 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003117/0.51, allocations: 3.692 MB / 0.7551 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.51, allocations: 3.984 kB / 0.7551 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/0.5135, allocations: 2.558 MB / 0.7576 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.5138, allocations: 267 kB / 0.7579 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.5139, allocations: 27.95 kB / 0.7579 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.5143, allocations: 35.92 kB / 0.7579 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5144, allocations: 92.78 kB / 0.758 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.5144, allocations: 59.92 kB / 0.7581 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005358/0.515, allocations: 0.6358 MB / 0.7587 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.515, allocations: 0 / 0.7587 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001024/0.516, allocations: 499.5 kB / 0.7592 GB, free: 11.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.5171, allocations: 0.7496 MB / 0.7599 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.5191, allocations: 1.681 MB / 0.7616 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5191, allocations: 0 / 0.7616 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.5205, allocations: 1.076 MB / 0.7626 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5217, allocations: 487.6 kB / 0.7631 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.5249, allocations: 2.832 MB / 0.7658 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.5253, allocations: 0.5956 MB / 0.7664 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.5256, allocations: 176.3 kB / 0.7666 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of SimCode: time 1.402e-06/0.5256, allocations: 0 / 0.7666 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of Templates: time 0.02366/0.5493, allocations: 29.46 MB / 0.7954 GB, free: 6.273 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.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.770262319594622]