Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.001895/0.001895, allocations: 89.27 kB / 19.43 MB, free: 1.98 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.002246/0.002246, allocations: 168.4 kB / 22.75 MB, free: 4.781 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 9.051 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.041/1.041, allocations: 118.6 MB / 378.2 MB, free: 4.828 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 482.9 MB, free: 38.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.312e-05, allocations: 3.844 kB / 482.9 MB, free: 38.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1546/0.1546, allocations: 129.6 MB / 0.5981 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006542/0.1612, allocations: 4.296 MB / 0.6023 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.1618, allocations: 39.62 kB / 0.6023 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1628, allocations: 281.9 kB / 0.6026 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.1648, allocations: 0.745 MB / 0.6033 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.1663, allocations: 0.5253 MB / 0.6039 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.1679, allocations: 1.111 MB / 0.6049 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1682, allocations: 102.6 kB / 0.605 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.17, allocations: 0.7086 MB / 0.6057 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008422/0.1708, allocations: 442.8 kB / 0.6062 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1709, allocations: 40 kB / 0.6062 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.1726, allocations: 0.6587 MB / 0.6068 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1727, allocations: 127.4 kB / 0.607 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.1731, allocations: 227.4 kB / 0.6072 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.175, allocations: 0.9889 MB / 0.6081 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.175, allocations: 0 / 0.6081 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.175, allocations: 0 / 0.6081 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.175, allocations: 0 / 0.6081 GB, free: 6.484 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001907/0.1769, allocations: 0.9284 MB / 0.609 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.177, allocations: 16.02 kB / 0.6091 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006408/0.1776, allocations: 156.2 kB / 0.6092 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1787, allocations: 0.5208 MB / 0.6097 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.1788, allocations: 29.38 kB / 0.6097 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.1788, allocations: 48.33 kB / 0.6098 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.1798, allocations: 0.5129 MB / 0.6103 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1798, allocations: 192 / 0.6103 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.1798, allocations: 20.12 kB / 0.6103 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.1799, allocations: 12 kB / 0.6103 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.1808, allocations: 495.7 kB / 0.6108 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.1835, allocations: 1.474 MB / 0.6122 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.1844, allocations: 328.7 kB / 0.6125 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.1847, allocations: 184.5 kB / 0.6127 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/0.1871, allocations: 0.8457 MB / 0.6135 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1871, allocations: 39.06 kB / 0.6136 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.434e-06/0.1871, allocations: 0 / 0.6136 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.001798/0.1889, allocations: 0.6544 MB / 0.6142 GB, free: 76 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.189, allocations: 55.91 kB / 0.6143 GB, free: 8 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.1895, allocations: 438.2 kB / 0.6147 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.1896, allocations: 33.7 kB / 0.6147 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1898, allocations: 288.6 kB / 0.615 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.19, allocations: 170.5 kB / 0.6152 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1901, allocations: 82.19 kB / 0.6152 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1903, allocations: 362.8 kB / 0.6156 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.1906, allocations: 128.9 kB / 0.6157 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.1909, allocations: 189.7 kB / 0.6159 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.1916, allocations: 338.2 kB / 0.6162 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1916, allocations: 0 / 0.6162 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001067/0.1927, allocations: 0.5105 MB / 0.6167 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1927, allocations: 8 kB / 0.6167 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1927, allocations: 4.125 kB / 0.6167 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.1931, allocations: 73.59 kB / 0.6168 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.1935, allocations: 83.91 kB / 0.6169 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.196, allocations: 2.672 MB / 0.6195 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.1964, allocations: 31.73 kB / 0.6195 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.1964, allocations: 19.98 kB / 0.6195 GB, free: 10.33 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002676/0.1967, allocations: 173.7 kB / 0.6197 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1968, allocations: 71.75 kB / 0.6198 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.1982, allocations: 0.6817 MB / 0.6204 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.1983, allocations: 7.984 kB / 0.6204 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1983, allocations: 4 kB / 0.6204 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1983, allocations: 0.8125 kB / 0.6204 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.2002, allocations: 0.9982 MB / 0.6214 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2002, allocations: 0 / 0.6214 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.2005, allocations: 67.91 kB / 0.6215 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/0.2008, allocations: 85.83 kB / 0.6216 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2008, allocations: 12.81 kB / 0.6216 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.2032, allocations: 2.669 MB / 0.6242 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2032, allocations: 4.156 kB / 0.6242 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2046, allocations: 0.7427 MB / 0.6249 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.2049, allocations: 95.47 kB / 0.625 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.2049, allocations: 19.95 kB / 0.625 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.2052, allocations: 11.98 kB / 0.625 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.2053, allocations: 39.88 kB / 0.6251 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.2053, allocations: 12 kB / 0.6251 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004207/0.2058, allocations: 330.9 kB / 0.6254 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2058, allocations: 0 / 0.6254 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007245/0.2065, allocations: 203.6 kB / 0.6256 GB, free: 3.816 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.000432/0.2069, allocations: 248 kB / 0.6258 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.2081, allocations: 0.564 MB / 0.6264 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2081, allocations: 0 / 0.6264 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006605/0.2087, allocations: 417.3 kB / 0.6268 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.21, allocations: 229.1 kB / 0.627 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.2127, allocations: 1.159 MB / 0.6281 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.213, allocations: 271.9 kB / 0.6284 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004117/0.2134, allocations: 112.3 kB / 0.6285 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.2136, allocations: 64.47 kB / 0.6286 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/0.2136, allocations: 0 / 0.6286 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of Templates: time 0.02348/0.2371, allocations: 11.15 MB / 0.6395 GB, free: 5.828 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.224312610924244]