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.001471/0.001471, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001534/0.001534, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.061/1.061, allocations: 118.6 MB / 378.2 MB, free: 1.508 MB / 346.7 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.473e-06/1.473e-06, allocations: 0 / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.921e-05/4.069e-05, allocations: 5.547 kB / 482.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.191/0.1911, allocations: 129.6 MB / 0.5981 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007438/0.1985, allocations: 4.308 MB / 0.6023 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.1991, allocations: 39.62 kB / 0.6024 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000988/0.2001, allocations: 285.9 kB / 0.6026 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.2021, allocations: 0.7451 MB / 0.6034 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.2035, allocations: 0.5253 MB / 0.6039 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.2049, allocations: 1.111 MB / 0.6049 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.2051, allocations: 94.62 kB / 0.605 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.2065, allocations: 0.7202 MB / 0.6057 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008301/0.2073, allocations: 430.9 kB / 0.6062 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/0.2074, allocations: 44 kB / 0.6062 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.2089, allocations: 0.6586 MB / 0.6068 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.2091, allocations: 127.4 kB / 0.607 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.2094, allocations: 227.4 kB / 0.6072 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.2109, allocations: 0.9928 MB / 0.6081 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2109, allocations: 0 / 0.6081 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2109, allocations: 0 / 0.6081 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.2109, allocations: 0 / 0.6081 GB, free: 4.727 MB / 0.5261 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.001797/0.2127, allocations: 0.9284 MB / 0.6091 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.2128, allocations: 8.031 kB / 0.6091 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/0.2134, allocations: 160.1 kB / 0.6092 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009904/0.2144, allocations: 0.5286 MB / 0.6097 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.2144, allocations: 29.38 kB / 0.6098 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.2145, allocations: 48.33 kB / 0.6098 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009446/0.2154, allocations: 0.509 MB / 0.6103 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2154, allocations: 192 / 0.6103 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.2155, allocations: 20.12 kB / 0.6103 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2155, allocations: 12 kB / 0.6103 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/0.2164, allocations: 495.7 kB / 0.6108 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.219, allocations: 1.463 MB / 0.6122 GB, free: 428 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.2199, allocations: 336.7 kB / 0.6126 GB, free: 80 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.2203, allocations: 178.3 kB / 0.6127 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002522/0.2228, allocations: 0.8495 MB / 0.6136 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.2228, allocations: 35.06 kB / 0.6136 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.2228, allocations: 0 / 0.6136 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.00174/0.2246, allocations: 0.6544 MB / 0.6142 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.2246, allocations: 63.84 kB / 0.6143 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.2252, allocations: 430.2 kB / 0.6147 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.2252, allocations: 41.7 kB / 0.6147 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.2255, allocations: 288.6 kB / 0.615 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.2257, allocations: 162.5 kB / 0.6152 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.2258, allocations: 86.19 kB / 0.6153 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002506/0.2261, allocations: 366.8 kB / 0.6156 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.2263, allocations: 121 kB / 0.6157 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.2267, allocations: 185.7 kB / 0.6159 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.2273, allocations: 346.2 kB / 0.6162 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2273, allocations: 0 / 0.6162 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001038/0.2284, allocations: 0.5104 MB / 0.6167 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2284, allocations: 4 kB / 0.6167 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2284, allocations: 0 / 0.6167 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/0.2288, allocations: 77.78 kB / 0.6168 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.2291, allocations: 83.89 kB / 0.6169 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.2319, allocations: 2.67 MB / 0.6195 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.2322, allocations: 39.75 kB / 0.6195 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.2322, allocations: 20 kB / 0.6195 GB, free: 8.57 MB / 0.5417 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.0002717/0.2325, allocations: 173.7 kB / 0.6197 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.2328, allocations: 75.56 kB / 0.6198 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2342, allocations: 0.681 MB / 0.6204 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2342, allocations: 4.141 kB / 0.6205 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2342, allocations: 0 / 0.6205 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2342, allocations: 7.969 kB / 0.6205 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.2361, allocations: 0.9867 MB / 0.6214 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2361, allocations: 0 / 0.6214 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.2364, allocations: 67.91 kB / 0.6215 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003089/0.2367, allocations: 85.64 kB / 0.6216 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.2368, allocations: 15.98 kB / 0.6216 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.2394, allocations: 2.666 MB / 0.6242 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2394, allocations: 3.938 kB / 0.6242 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2408, allocations: 0.7469 MB / 0.6249 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.241, allocations: 95.44 kB / 0.625 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.2411, allocations: 15.95 kB / 0.625 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.2413, allocations: 8 kB / 0.625 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.2414, allocations: 43.81 kB / 0.6251 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.2415, allocations: 15.98 kB / 0.6251 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004355/0.2419, allocations: 326.9 kB / 0.6254 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.2419, allocations: 4.062 kB / 0.6254 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007149/0.2426, allocations: 199.7 kB / 0.6256 GB, free: 2.059 MB / 0.5417 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.0004497/0.2431, allocations: 262.1 kB / 0.6258 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.2442, allocations: 0.5563 MB / 0.6264 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2442, allocations: 0 / 0.6264 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008487/0.2451, allocations: 425.2 kB / 0.6268 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.2463, allocations: 237.9 kB / 0.627 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.2489, allocations: 1.149 MB / 0.6281 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.2492, allocations: 275.9 kB / 0.6284 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.2496, allocations: 109.3 kB / 0.6285 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.2498, allocations: 60.48 kB / 0.6286 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.2498, allocations: 0 / 0.6286 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.02302/0.2728, allocations: 11.17 MB / 0.6395 GB, free: 3.984 MB / 0.5573 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.480427297996357]