Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.658/0.658, allocations: 94.58 MB / 399.1 MB, free: 15.79 MB / 334.1 MB " [Timeout remaining time 179] 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.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 83.86 kB / 0.5448 GB, free: 12.05 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3816, allocations: 71.84 MB / 0.615 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1811/0.5627, allocations: 147.6 MB / 0.7591 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004308/0.567, allocations: 3.167 MB / 0.7622 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.5675, allocations: 23.81 kB / 0.7622 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008232/0.5683, allocations: 234.4 kB / 0.7624 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.5694, allocations: 389.6 kB / 0.7628 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.5706, allocations: 450.3 kB / 0.7632 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009342/0.5715, allocations: 0.6884 MB / 0.7639 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.5718, allocations: 85.17 kB / 0.764 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.5729, allocations: 0.4939 MB / 0.7644 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.5734, allocations: 302.7 kB / 0.7647 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.5734, allocations: 24 kB / 0.7648 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.5746, allocations: 0.5653 MB / 0.7653 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.5747, allocations: 79.62 kB / 0.7654 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.5749, allocations: 210.7 kB / 0.7656 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.5761, allocations: 0.6988 MB / 0.7663 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5762, allocations: 0 / 0.7663 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5762, allocations: 0 / 0.7663 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.5762, allocations: 0 / 0.7663 GB, free: 9.531 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001358/0.5775, allocations: 0.8015 MB / 0.767 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5776, allocations: 12.03 kB / 0.7671 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.5777, allocations: 56.56 kB / 0.7671 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.5785, allocations: 482.1 kB / 0.7676 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.5785, allocations: 16.94 kB / 0.7676 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.5785, allocations: 36.33 kB / 0.7676 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.5791, allocations: 328.5 kB / 0.7679 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.5791, allocations: 3.984 kB / 0.7679 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.5792, allocations: 12 kB / 0.768 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.5792, allocations: 11.98 kB / 0.768 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.5796, allocations: 191.8 kB / 0.7681 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.5817, allocations: 1.773 MB / 0.7699 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.5822, allocations: 163.7 kB / 0.77 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.5824, allocations: 74.61 kB / 0.7701 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/0.5831, allocations: 0.5183 MB / 0.7706 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.5831, allocations: 42.44 kB / 0.7707 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.5831, allocations: 0 / 0.7707 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009452/0.5841, allocations: 363.1 kB / 0.771 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.5841, allocations: 106.8 kB / 0.7711 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.5846, allocations: 434.2 kB / 0.7715 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.5847, allocations: 33.7 kB / 0.7715 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.5849, allocations: 244.2 kB / 0.7718 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.5849, allocations: 63.47 kB / 0.7718 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.585, allocations: 49.5 kB / 0.7719 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5852, allocations: 354.8 kB / 0.7722 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.5853, allocations: 59.97 kB / 0.7723 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.5855, allocations: 106 kB / 0.7724 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.5858, allocations: 173.9 kB / 0.7726 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5859, allocations: 3.938 kB / 0.7726 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005452/0.5864, allocations: 269.9 kB / 0.7728 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5864, allocations: 8 kB / 0.7728 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5864, allocations: 0 / 0.7728 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.5866, allocations: 25.22 kB / 0.7728 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.5868, allocations: 52.03 kB / 0.7729 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.588, allocations: 1.39 MB / 0.7743 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.5882, allocations: 35.83 kB / 0.7743 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.5882, allocations: 8 kB / 0.7743 GB, free: 0.6016 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.5884, allocations: 165.6 kB / 0.7745 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.5885, allocations: 47.66 kB / 0.7745 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.5891, allocations: 254.9 kB / 0.7747 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5891, allocations: 4 kB / 0.7747 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5891, allocations: 0 / 0.7747 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.5891, allocations: 3.984 kB / 0.7747 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.5896, allocations: 353.3 kB / 0.7751 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5896, allocations: 0 / 0.7751 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.5898, allocations: 43.97 kB / 0.7751 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.5899, allocations: 24.84 kB / 0.7752 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.59, allocations: 8 kB / 0.7752 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.591, allocations: 1.379 MB / 0.7765 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5911, allocations: 3.938 kB / 0.7765 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/0.5917, allocations: 456.2 kB / 0.7769 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5919, allocations: 124.8 kB / 0.7771 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.5919, allocations: 11.94 kB / 0.7771 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.5921, allocations: 7.984 kB / 0.7771 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.5922, allocations: 19.98 kB / 0.7771 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.5922, allocations: 4 kB / 0.7771 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003536/0.5925, allocations: 310.9 kB / 0.7774 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5925, allocations: 0 / 0.7774 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004871/0.593, allocations: 99.81 kB / 0.7775 GB, free: 13.06 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003253/0.5933, allocations: 197.2 kB / 0.7777 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005985/0.5939, allocations: 254.8 kB / 0.7779 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.594, allocations: 0 / 0.7779 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.5943, allocations: 190.6 kB / 0.7781 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/0.595, allocations: 107.2 kB / 0.7782 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.5965, allocations: 0.8551 MB / 0.779 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.5969, allocations: 0.8152 MB / 0.7798 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.5971, allocations: 62.44 kB / 0.7799 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.5972, allocations: 31.44 kB / 0.7799 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.5972, allocations: 4 kB / 0.7799 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.01234/0.6096, allocations: 5.426 MB / 0.7852 GB, free: 5.102 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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: 5.928148222155869]