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.002142/0.002142, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002677/0.002677, allocations: 220.5 kB / 22.25 MB, free: 5.215 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.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.8228/0.8228, allocations: 100.3 MB / 412.7 MB, free: 3.656 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002676/0.002676, allocations: 83.05 kB / 0.5638 GB, free: 35.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1255, allocations: 74.46 MB / 0.6365 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4934/0.6189, allocations: 173.6 MB / 0.806 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.6326, allocations: 11.57 MB / 0.8173 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.6348, allocations: 100 kB / 0.8174 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.6375, allocations: 0.8932 MB / 0.8183 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.643, allocations: 1.779 MB / 0.82 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.6472, allocations: 1.356 MB / 0.8214 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004028/0.6512, allocations: 2.597 MB / 0.8239 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.6519, allocations: 254.1 kB / 0.8241 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.6552, allocations: 1.488 MB / 0.8256 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.6572, allocations: 1.163 MB / 0.8267 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.6575, allocations: 113.6 kB / 0.8268 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.6619, allocations: 1.894 MB / 0.8287 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.6624, allocations: 337.6 kB / 0.829 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.6635, allocations: 0.8064 MB / 0.8298 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005362/0.6689, allocations: 2.52 MB / 0.8323 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6689, allocations: 4 kB / 0.8323 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6689, allocations: 0 / 0.8323 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.419e-05/0.6689, allocations: 0 / 0.8323 GB, free: 4.402 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.004402/0.6733, allocations: 2.096 MB / 0.8343 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6734, allocations: 9 kB / 0.8343 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.6738, allocations: 204 kB / 0.8345 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.6762, allocations: 1.146 MB / 0.8356 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.6763, allocations: 80.22 kB / 0.8357 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6764, allocations: 112.5 kB / 0.8358 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.6784, allocations: 1.201 MB / 0.837 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.6784, allocations: 3.938 kB / 0.837 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/0.6785, allocations: 42.19 kB / 0.837 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.6785, allocations: 25.25 kB / 0.8371 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.6802, allocations: 1.097 MB / 0.8381 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007356/0.6876, allocations: 5.143 MB / 0.8432 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.6891, allocations: 0.6922 MB / 0.8438 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.6897, allocations: 399.6 kB / 0.8442 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003867/0.6936, allocations: 1.783 MB / 0.8459 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.6936, allocations: 48.33 kB / 0.846 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 3.447e-06/0.6936, allocations: 0 / 0.846 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.003628/0.6973, allocations: 1.468 MB / 0.8474 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.6973, allocations: 120.6 kB / 0.8475 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.6991, allocations: 1.296 MB / 0.8488 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.6992, allocations: 40.67 kB / 0.8488 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005817/0.6998, allocations: 0.6295 MB / 0.8495 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.7001, allocations: 397.9 kB / 0.8498 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.7004, allocations: 198.8 kB / 0.85 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.7006, allocations: 344.4 kB / 0.8504 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.7012, allocations: 301.8 kB / 0.8506 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.7019, allocations: 446.3 kB / 0.8511 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.7031, allocations: 0.775 MB / 0.8518 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7031, allocations: 2.781 kB / 0.8518 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002469/0.7056, allocations: 1.164 MB / 0.853 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.7056, allocations: 15.88 kB / 0.853 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7057, allocations: 0 / 0.853 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.7062, allocations: 159.7 kB / 0.8531 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.707, allocations: 207.7 kB / 0.8533 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.7133, allocations: 6.749 MB / 0.8599 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.7142, allocations: 111.5 kB / 0.86 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.7143, allocations: 47.97 kB / 0.8601 GB, free: 13.26 MB / 0.6231 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.0005942/0.7149, allocations: 309.6 kB / 0.8604 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.7153, allocations: 170.9 kB / 0.8605 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/0.7184, allocations: 1.715 MB / 0.8622 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.7184, allocations: 8 kB / 0.8622 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.7184, allocations: 11.98 kB / 0.8622 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.7184, allocations: 7.984 kB / 0.8622 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/0.7226, allocations: 2.356 MB / 0.8645 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7226, allocations: 4 kB / 0.8645 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.7231, allocations: 127.8 kB / 0.8647 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/0.7236, allocations: 168.2 kB / 0.8648 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.7237, allocations: 31.98 kB / 0.8649 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005976/0.7297, allocations: 6.737 MB / 0.8714 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7297, allocations: 3.938 kB / 0.8714 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00294/0.7326, allocations: 1.594 MB / 0.873 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.7332, allocations: 270.6 kB / 0.8733 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.7335, allocations: 35.78 kB / 0.8733 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.734, allocations: 16 kB / 0.8733 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.7342, allocations: 83.8 kB / 0.8734 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.7343, allocations: 35.92 kB / 0.8734 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001461/0.7357, allocations: 1.001 MB / 0.8744 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7357, allocations: 0 / 0.8744 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00152/0.7372, allocations: 459.3 kB / 0.8748 GB, free: 13.36 MB / 0.6387 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.00206/0.7393, allocations: 0.7612 MB / 0.8756 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.7417, allocations: 1.283 MB / 0.8768 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.7417, allocations: 7.938 kB / 0.8768 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.743, allocations: 0.9189 MB / 0.8777 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.7454, allocations: 488 kB / 0.8782 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/0.7512, allocations: 2.9 MB / 0.881 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/0.7522, allocations: 1.214 MB / 0.8822 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009837/0.7532, allocations: 295.4 kB / 0.8825 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.7535, allocations: 143.4 kB / 0.8826 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/0.7535, allocations: 0 / 0.8826 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of Templates: time 0.04817/0.8017, allocations: 25.72 MB / 0.9078 GB, free: 11.88 MB / 0.67 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: 7.057902201078832]