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.001749/0.001749, allocations: 85.48 kB / 19.44 MB, free: 344 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.002042/0.002042, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.574 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.024/1.024, allocations: 118.6 MB / 378.2 MB, free: 1.492 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.563e-06/1.563e-06, allocations: 0 / 482.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.459e-05, allocations: 5.547 kB / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.2053/0.2053, allocations: 143.5 MB / 0.6117 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007958/0.2133, allocations: 4.865 MB / 0.6164 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/0.2138, allocations: 43.62 kB / 0.6165 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009759/0.2148, allocations: 285.9 kB / 0.6168 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.2167, allocations: 0.7411 MB / 0.6175 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.2182, allocations: 0.5214 MB / 0.618 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2197, allocations: 1.115 MB / 0.6191 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.22, allocations: 94.62 kB / 0.6192 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.2217, allocations: 0.7203 MB / 0.6199 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007611/0.2225, allocations: 430.9 kB / 0.6203 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.2225, allocations: 43.94 kB / 0.6203 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.2242, allocations: 0.6587 MB / 0.621 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2243, allocations: 127.3 kB / 0.6211 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.2246, allocations: 223.4 kB / 0.6213 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.2264, allocations: 0.9967 MB / 0.6223 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2264, allocations: 0 / 0.6223 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2264, allocations: 8 kB / 0.6223 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2264, allocations: 0 / 0.6223 GB, free: 6.227 MB / 0.5417 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.001959/0.2283, allocations: 1.063 MB / 0.6233 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2284, allocations: 8.031 kB / 0.6233 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/0.229, allocations: 152.2 kB / 0.6235 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.23, allocations: 0.5313 MB / 0.624 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.23, allocations: 29.38 kB / 0.624 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.2301, allocations: 52.27 kB / 0.6241 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.2311, allocations: 487.3 kB / 0.6245 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2311, allocations: 192 / 0.6245 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.2311, allocations: 20.12 kB / 0.6246 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.2311, allocations: 8 kB / 0.6246 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.2319, allocations: 347.8 kB / 0.6249 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.235, allocations: 1.788 MB / 0.6266 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.2359, allocations: 355.5 kB / 0.627 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.2362, allocations: 181.1 kB / 0.6272 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002258/0.2385, allocations: 0.9209 MB / 0.6281 GB, free: 140 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.2385, allocations: 41.89 kB / 0.6281 GB, free: 88 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.2385, allocations: 0 / 0.6281 GB, free: 88 kB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.001795/0.2403, allocations: 0.6522 MB / 0.6287 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.2404, allocations: 59.84 kB / 0.6288 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/0.2411, allocations: 0.5378 MB / 0.6293 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.2411, allocations: 37.7 kB / 0.6293 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.2414, allocations: 351.4 kB / 0.6297 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.2416, allocations: 182.5 kB / 0.6299 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.2418, allocations: 91.84 kB / 0.6299 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003578/0.2421, allocations: 0.5587 MB / 0.6305 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.2424, allocations: 128.9 kB / 0.6306 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.2428, allocations: 203.9 kB / 0.6308 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.2435, allocations: 356.3 kB / 0.6311 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2435, allocations: 0 / 0.6311 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001104/0.2446, allocations: 0.5159 MB / 0.6316 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2446, allocations: 8 kB / 0.6317 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2446, allocations: 0 / 0.6317 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.245, allocations: 79.31 kB / 0.6317 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.2454, allocations: 88.02 kB / 0.6318 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.249, allocations: 3.719 MB / 0.6354 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.2493, allocations: 35.78 kB / 0.6355 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.2493, allocations: 16 kB / 0.6355 GB, free: 8.109 MB / 0.5573 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.0003298/0.2497, allocations: 220.5 kB / 0.6357 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.2498, allocations: 79.61 kB / 0.6358 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.2514, allocations: 0.7568 MB / 0.6365 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2514, allocations: 4 kB / 0.6365 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.2514, allocations: 0 / 0.6365 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2514, allocations: 4 kB / 0.6365 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.2535, allocations: 1.135 MB / 0.6376 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.2535, allocations: 4 kB / 0.6376 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.2538, allocations: 67.91 kB / 0.6377 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.2541, allocations: 87.31 kB / 0.6378 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.2542, allocations: 11.98 kB / 0.6378 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.2577, allocations: 3.723 MB / 0.6414 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2577, allocations: 4 kB / 0.6414 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2593, allocations: 0.7949 MB / 0.6422 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.2595, allocations: 103.4 kB / 0.6423 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.2596, allocations: 12 kB / 0.6423 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.2598, allocations: 8 kB / 0.6423 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2599, allocations: 47.88 kB / 0.6424 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.26, allocations: 15.98 kB / 0.6424 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004979/0.2605, allocations: 386.8 kB / 0.6428 GB, free: 284 kB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2605, allocations: 0 / 0.6428 GB, free: 284 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007076/0.2612, allocations: 203.6 kB / 0.643 GB, free: 80 kB / 0.5573 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.1781/0.4393, allocations: 249.8 kB / 0.6432 GB, free: 170.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.4404, allocations: 0.6922 MB / 0.6439 GB, free: 170.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4404, allocations: 0 / 0.6439 GB, free: 170.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.441, allocations: 0.5404 MB / 0.6444 GB, free: 170 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4423, allocations: 231.7 kB / 0.6446 GB, free: 170 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.4442, allocations: 1.124 MB / 0.6457 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.4445, allocations: 277.9 kB / 0.646 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003378/0.4449, allocations: 110.1 kB / 0.6461 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.445, allocations: 55.69 kB / 0.6461 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/0.445, allocations: 0.9062 kB / 0.6461 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01922/0.4642, allocations: 11.22 MB / 0.6571 GB, free: 167.8 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] 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.5294246840057895]