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.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.001346/0.001346, allocations: 83.73 kB / 19.76 MB, free: 2.02 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.001458/0.001458, allocations: 161.8 kB / 23 MB, free: 4.945 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.382/1.382, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 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.7139/0.7139, allocations: 79.61 MB / 339.4 MB, free: 10.96 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.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: 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.002614/0.002614, allocations: 87.34 kB / 0.4924 GB, free: 25.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1134, allocations: 74.59 MB / 0.5652 GB, free: 5.855 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1542/0.2676, allocations: 126.8 MB / 0.689 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.2715, allocations: 2.879 MB / 0.6919 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.2717, allocations: 35.62 kB / 0.6919 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.2724, allocations: 214.5 kB / 0.6921 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008307/0.2732, allocations: 381.7 kB / 0.6925 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2743, allocations: 462.3 kB / 0.6929 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000766/0.275, allocations: 0.6885 MB / 0.6936 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.2752, allocations: 81.64 kB / 0.6937 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.2763, allocations: 0.5173 MB / 0.6942 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.2767, allocations: 274.8 kB / 0.6944 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.2767, allocations: 24 kB / 0.6944 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008517/0.2776, allocations: 467.1 kB / 0.6949 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.2777, allocations: 71.64 kB / 0.695 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.2779, allocations: 167 kB / 0.6951 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.2771/0.5549, allocations: 0.6756 MB / 0.6958 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5549, allocations: 1.656 kB / 0.6958 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5549, allocations: 0 / 0.6958 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.555, allocations: 0 / 0.6958 GB, free: 5.727 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.00111/0.5561, allocations: 0.7204 MB / 0.6965 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5561, allocations: 11.41 kB / 0.6965 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.256e-05/0.5562, allocations: 60.44 kB / 0.6965 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.5569, allocations: 408.9 kB / 0.6969 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.5569, allocations: 18.47 kB / 0.697 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.557, allocations: 28.19 kB / 0.697 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.5574, allocations: 327.5 kB / 0.6973 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5575, allocations: 7.984 kB / 0.6973 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.5575, allocations: 13 kB / 0.6973 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.5575, allocations: 6.938 kB / 0.6973 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.5579, allocations: 199.6 kB / 0.6975 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.5596, allocations: 1.347 MB / 0.6988 GB, free: 20.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.56, allocations: 163.2 kB / 0.699 GB, free: 19.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.5601, allocations: 68.61 kB / 0.699 GB, free: 19.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.5606, allocations: 74.81 kB / 0.6991 GB, free: 19.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.5606, allocations: 37.25 kB / 0.6992 GB, free: 19.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.5606, allocations: 0.9062 kB / 0.6992 GB, free: 19.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007828/0.5614, allocations: 280.1 kB / 0.6994 GB, free: 19.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.5614, allocations: 109.1 kB / 0.6995 GB, free: 19.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.5618, allocations: 385.6 kB / 0.6999 GB, free: 19.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.5618, allocations: 27.42 kB / 0.6999 GB, free: 19.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.562, allocations: 263.1 kB / 0.7002 GB, free: 19.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.562, allocations: 60.95 kB / 0.7002 GB, free: 19.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.5621, allocations: 40.34 kB / 0.7003 GB, free: 19.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5622, allocations: 353.7 kB / 0.7006 GB, free: 19.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.5624, allocations: 56.33 kB / 0.7007 GB, free: 19.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.5625, allocations: 111.9 kB / 0.7008 GB, free: 19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.5628, allocations: 177.6 kB / 0.7009 GB, free: 18.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5628, allocations: 0 / 0.7009 GB, free: 18.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004776/0.5633, allocations: 267.8 kB / 0.7012 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5633, allocations: 4.938 kB / 0.7012 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5633, allocations: 2.094 kB / 0.7012 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.5634, allocations: 24.52 kB / 0.7012 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.5636, allocations: 53.23 kB / 0.7013 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009899/0.5646, allocations: 1.263 MB / 0.7025 GB, free: 17.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.5648, allocations: 25 kB / 0.7025 GB, free: 17.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.5648, allocations: 7.188 kB / 0.7025 GB, free: 17.68 MB / 0.6075 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.000166/0.565, allocations: 158.8 kB / 0.7027 GB, free: 17.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.5651, allocations: 49.27 kB / 0.7027 GB, free: 17.54 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.5656, allocations: 251.9 kB / 0.703 GB, free: 17.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5656, allocations: 2.625 kB / 0.703 GB, free: 17.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5656, allocations: 2.125 kB / 0.703 GB, free: 17.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5656, allocations: 1.062 kB / 0.703 GB, free: 17.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.566, allocations: 263.9 kB / 0.7032 GB, free: 17.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.566, allocations: 2.797 kB / 0.7032 GB, free: 17.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.5662, allocations: 31.59 kB / 0.7033 GB, free: 17.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.394e-05/0.5662, allocations: 23.81 kB / 0.7033 GB, free: 17.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5663, allocations: 8 kB / 0.7033 GB, free: 17.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009769/0.5672, allocations: 1.266 MB / 0.7045 GB, free: 16.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5672, allocations: 0.9375 kB / 0.7045 GB, free: 16.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.5679, allocations: 458.2 kB / 0.705 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.568, allocations: 34.77 kB / 0.705 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.568, allocations: 7.391 kB / 0.705 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.5682, allocations: 8.906 kB / 0.705 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.5682, allocations: 15.62 kB / 0.705 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.5683, allocations: 7.344 kB / 0.705 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003008/0.5686, allocations: 268.6 kB / 0.7053 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5686, allocations: 0 / 0.7053 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005035/0.5691, allocations: 111 kB / 0.7054 GB, free: 15.78 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.0002716/0.5693, allocations: 197.7 kB / 0.7056 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005228/0.5699, allocations: 255.4 kB / 0.7058 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5699, allocations: 0 / 0.7058 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.5702, allocations: 186.6 kB / 0.706 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.5707, allocations: 66.22 kB / 0.7061 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5718, allocations: 0.8426 MB / 0.7069 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.5721, allocations: 209.8 kB / 0.7071 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.5722, allocations: 50.89 kB / 0.7071 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.5722, allocations: 33.02 kB / 0.7072 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.5722, allocations: 0 / 0.7072 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of Templates: time 0.009559/0.5818, allocations: 4.305 MB / 0.7114 GB, free: 14.55 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 -s ida -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/jenkins1/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.548245724989101]