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.0007673/0.0007673, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007596/0.0007596, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8813/0.8813, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5153/0.5153, allocations: 80.17 MB / 340.1 MB, free: 7.559 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.392e-06/1.392e-06, allocations: 0 / 0.4936 GB, free: 6.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.886e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.332 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1191/0.1191, allocations: 129.6 MB / 0.6201 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.1223, allocations: 4.301 MB / 0.6243 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.1226, allocations: 39.62 kB / 0.6244 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1231, allocations: 277.9 kB / 0.6246 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008126/0.1239, allocations: 0.7335 MB / 0.6253 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.1244, allocations: 0.5329 MB / 0.6259 GB, free: 32 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008876/0.1253, allocations: 1.106 MB / 0.6269 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1255, allocations: 94.61 kB / 0.627 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.1262, allocations: 0.7047 MB / 0.6277 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.1266, allocations: 434.9 kB / 0.6281 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.1266, allocations: 44 kB / 0.6282 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.1273, allocations: 0.6625 MB / 0.6288 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.1274, allocations: 123.4 kB / 0.6289 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1275, allocations: 219.5 kB / 0.6292 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007704/0.1283, allocations: 0.9812 MB / 0.6301 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1283, allocations: 4 kB / 0.6301 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1283, allocations: 7.922 kB / 0.6301 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1283, allocations: 0 / 0.6301 GB, free: 11.65 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.000917/0.1292, allocations: 0.9052 MB / 0.631 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1292, allocations: 14 kB / 0.631 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1294, allocations: 108.4 kB / 0.6311 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.13, allocations: 497.3 kB / 0.6316 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.13, allocations: 29.38 kB / 0.6316 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.1301, allocations: 44.38 kB / 0.6317 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.1306, allocations: 0.509 MB / 0.6322 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1306, allocations: 192 / 0.6322 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1306, allocations: 20.12 kB / 0.6322 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1306, allocations: 12 kB / 0.6322 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.1311, allocations: 495.7 kB / 0.6327 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1327, allocations: 1.459 MB / 0.6341 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.1332, allocations: 336.7 kB / 0.6344 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1333, allocations: 178.3 kB / 0.6346 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.1344, allocations: 0.834 MB / 0.6354 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.1344, allocations: 35.09 kB / 0.6354 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 1.102e-06/0.1344, allocations: 4 kB / 0.6354 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.000876/0.1353, allocations: 0.6349 MB / 0.6361 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1353, allocations: 63.91 kB / 0.6361 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1356, allocations: 422 kB / 0.6365 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1356, allocations: 33.7 kB / 0.6366 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1357, allocations: 284.6 kB / 0.6368 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.1358, allocations: 166.5 kB / 0.637 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.1359, allocations: 86.19 kB / 0.6371 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.136, allocations: 362.8 kB / 0.6374 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1362, allocations: 128.9 kB / 0.6375 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1363, allocations: 185.7 kB / 0.6377 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.1367, allocations: 346.2 kB / 0.638 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1367, allocations: 0 / 0.638 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005212/0.1372, allocations: 0.4909 MB / 0.6385 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.1372, allocations: 8.125 kB / 0.6385 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1372, allocations: 4 kB / 0.6385 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.1374, allocations: 61.67 kB / 0.6386 GB, free: 2.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1376, allocations: 87.89 kB / 0.6387 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2171/0.3547, allocations: 2.66 MB / 0.6413 GB, free: 148.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.355, allocations: 34.88 kB / 0.6413 GB, free: 148.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.355, allocations: 19.19 kB / 0.6413 GB, free: 148.3 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.0001974/0.3552, allocations: 179.6 kB / 0.6415 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.3553, allocations: 58.38 kB / 0.6415 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008454/0.3561, allocations: 0.6822 MB / 0.6422 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3561, allocations: 4.906 kB / 0.6422 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3561, allocations: 0.625 kB / 0.6422 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3561, allocations: 4.188 kB / 0.6422 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3572, allocations: 0.991 MB / 0.6432 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3572, allocations: 1.375 kB / 0.6432 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3574, allocations: 67.53 kB / 0.6433 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.3575, allocations: 66.3 kB / 0.6433 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3575, allocations: 16.34 kB / 0.6433 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009498/0.3585, allocations: 2.664 MB / 0.6459 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3585, allocations: 0.7812 kB / 0.6459 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.3592, allocations: 0.7157 MB / 0.6466 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.3593, allocations: 59.06 kB / 0.6467 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3593, allocations: 21.83 kB / 0.6467 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3594, allocations: 16.42 kB / 0.6467 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.3595, allocations: 34.44 kB / 0.6468 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.3595, allocations: 16.72 kB / 0.6468 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002437/0.3598, allocations: 320.6 kB / 0.6471 GB, free: 144.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.3598, allocations: 0 / 0.6471 GB, free: 144.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004662/0.3602, allocations: 204.1 kB / 0.6473 GB, free: 144.5 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.0003341/0.3606, allocations: 262.7 kB / 0.6475 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000635/0.3612, allocations: 0.5535 MB / 0.6481 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3612, allocations: 0 / 0.6481 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.3615, allocations: 421.9 kB / 0.6485 GB, free: 143.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.3622, allocations: 217.4 kB / 0.6487 GB, free: 143.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3638, allocations: 1.152 MB / 0.6498 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.364, allocations: 270.3 kB / 0.6501 GB, free: 143 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3641, allocations: 62.61 kB / 0.6501 GB, free: 143 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.3641, allocations: 0 / 0.6501 GB, free: 143 MB / 0.5417 GB Notification: Performance of Templates: time 0.01244/0.3766, allocations: 14.64 MB / 0.6644 GB, free: 135.2 MB / 0.5417 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.236789058893919]