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.0009808/0.0009808, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001044/0.001044, allocations: 173 kB / 23.49 MB, free: 1.055 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.9784/0.9784, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6854/0.6854, allocations: 118.7 MB / 378.9 MB, free: 1.52 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.954e-06/1.954e-06, allocations: 0 / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.057e-05, allocations: 2.312 kB / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1413/0.1413, allocations: 143.6 MB / 0.6125 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004205/0.1455, allocations: 4.865 MB / 0.6172 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.1459, allocations: 43.62 kB / 0.6173 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.1465, allocations: 285.9 kB / 0.6176 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.1475, allocations: 0.7411 MB / 0.6183 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.1481, allocations: 0.5174 MB / 0.6188 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0007202/0.1488, allocations: 1.119 MB / 0.6199 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.149, allocations: 94.58 kB / 0.62 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.1498, allocations: 0.7203 MB / 0.6207 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.1502, allocations: 430.9 kB / 0.6211 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.1503, allocations: 40 kB / 0.6211 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.151, allocations: 0.6626 MB / 0.6218 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.1511, allocations: 123.4 kB / 0.6219 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1512, allocations: 223.4 kB / 0.6221 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.152, allocations: 0.8252 MB / 0.6229 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.152, allocations: 0 / 0.6229 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.453e-06/0.152, allocations: 4 kB / 0.6229 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.152, allocations: 0 / 0.6229 GB, free: 6.293 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.001062/0.1531, allocations: 1.04 MB / 0.6239 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1531, allocations: 12.03 kB / 0.6239 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.1534, allocations: 148.2 kB / 0.6241 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.154, allocations: 0.5274 MB / 0.6246 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.154, allocations: 33.38 kB / 0.6246 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.154, allocations: 44.33 kB / 0.6247 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.1545, allocations: 404.1 kB / 0.625 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1545, allocations: 4.188 kB / 0.6251 GB, free: 4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.1545, allocations: 24.12 kB / 0.6251 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1546, allocations: 12 kB / 0.6251 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.1549, allocations: 241.7 kB / 0.6253 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1564, allocations: 1.637 MB / 0.6269 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.1569, allocations: 261.2 kB / 0.6272 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.157, allocations: 131.5 kB / 0.6273 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.1582, allocations: 0.8612 MB / 0.6281 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1582, allocations: 41.89 kB / 0.6282 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.1582, allocations: 0 / 0.6282 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.0008692/0.1591, allocations: 0.4998 MB / 0.6287 GB, free: 196 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.1591, allocations: 63.89 kB / 0.6287 GB, free: 120 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.1594, allocations: 462.6 kB / 0.6292 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1595, allocations: 37.7 kB / 0.6292 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1597, allocations: 335.4 kB / 0.6295 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.1598, allocations: 174.5 kB / 0.6297 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.1599, allocations: 83.84 kB / 0.6298 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.16, allocations: 0.539 MB / 0.6303 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1602, allocations: 72.95 kB / 0.6304 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1603, allocations: 143.9 kB / 0.6305 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.1606, allocations: 240.3 kB / 0.6307 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1606, allocations: 4 kB / 0.6307 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005154/0.1611, allocations: 408.4 kB / 0.6311 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1612, allocations: 8.125 kB / 0.6311 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1612, allocations: 4 kB / 0.6311 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.1614, allocations: 71.23 kB / 0.6312 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1616, allocations: 83.89 kB / 0.6313 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.1632, allocations: 3.559 MB / 0.6348 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1633, allocations: 39.67 kB / 0.6348 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1633, allocations: 19.98 kB / 0.6348 GB, free: 9.512 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.0002134/0.1635, allocations: 180.5 kB / 0.635 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.1636, allocations: 75.62 kB / 0.6351 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.1643, allocations: 0.6012 MB / 0.6356 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1643, allocations: 4 kB / 0.6356 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1643, allocations: 0 / 0.6356 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1643, allocations: 7.984 kB / 0.6357 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.1653, allocations: 0.9516 MB / 0.6366 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1653, allocations: 0 / 0.6366 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.1654, allocations: 71.84 kB / 0.6367 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.1656, allocations: 83.27 kB / 0.6367 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1656, allocations: 15.98 kB / 0.6367 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.1669, allocations: 3.555 MB / 0.6402 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1669, allocations: 8 kB / 0.6402 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.1675, allocations: 0.623 MB / 0.6408 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1677, allocations: 95.5 kB / 0.6409 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1677, allocations: 8 kB / 0.6409 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1678, allocations: 12 kB / 0.6409 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.1679, allocations: 43.88 kB / 0.641 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1679, allocations: 15.98 kB / 0.641 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002137/0.1681, allocations: 326.8 kB / 0.6413 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.1681, allocations: 4.031 kB / 0.6413 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004083/0.1685, allocations: 211.5 kB / 0.6415 GB, free: 2.254 MB / 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.0002984/0.1688, allocations: 250.1 kB / 0.6418 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.1695, allocations: 0.5828 MB / 0.6423 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1695, allocations: 0 / 0.6423 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.1698, allocations: 0.4918 MB / 0.6428 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.1705, allocations: 225.7 kB / 0.643 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1747/0.3452, allocations: 1.089 MB / 0.6441 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3453, allocations: 131.4 kB / 0.6442 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004113/0.3457, allocations: 110 kB / 0.6443 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3459, allocations: 62.83 kB / 0.6444 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of SimCode: time 2.053e-06/0.3459, allocations: 0 / 0.6444 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01346/0.3593, allocations: 11.22 MB / 0.6553 GB, free: 169 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.058002864010632]