Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0009556/0.0009556, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.0009143/0.0009143, allocations: 173 kB / 23.5 MB, free: 1.059 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.9197/0.9197, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6739/0.6739, allocations: 118.6 MB / 378.9 MB, free: 1.488 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.519e-05, allocations: 6.031 kB / 483.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1374/0.1374, allocations: 143.6 MB / 0.6125 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004698/0.1421, allocations: 4.877 MB / 0.6172 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.1424, allocations: 39.62 kB / 0.6173 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.1431, allocations: 281.9 kB / 0.6176 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.1442, allocations: 0.745 MB / 0.6183 GB, free: 11 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.1449, allocations: 0.5213 MB / 0.6188 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.1458, allocations: 1.107 MB / 0.6199 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.146, allocations: 98.56 kB / 0.62 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007604/0.1468, allocations: 0.7242 MB / 0.6207 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.1471, allocations: 426.9 kB / 0.6211 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.1472, allocations: 44 kB / 0.6211 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006518/0.1478, allocations: 0.6587 MB / 0.6218 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.1479, allocations: 123.4 kB / 0.6219 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1481, allocations: 227.4 kB / 0.6221 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0008863/0.149, allocations: 0.8252 MB / 0.6229 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.149, allocations: 0 / 0.6229 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.149, allocations: 0 / 0.6229 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.149, allocations: 8 kB / 0.6229 GB, free: 6.238 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.0009978/0.15, allocations: 1.028 MB / 0.6239 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.15, allocations: 16.02 kB / 0.6239 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.1503, allocations: 152.2 kB / 0.6241 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.1509, allocations: 0.5274 MB / 0.6246 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1509, allocations: 29.38 kB / 0.6246 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.1509, allocations: 44.38 kB / 0.6247 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.1514, allocations: 400.1 kB / 0.625 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1514, allocations: 8.125 kB / 0.6251 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.1514, allocations: 20.12 kB / 0.6251 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1514, allocations: 12 kB / 0.6251 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.1518, allocations: 237.8 kB / 0.6253 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1532, allocations: 1.649 MB / 0.6269 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.1536, allocations: 264.5 kB / 0.6272 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.1538, allocations: 129.1 kB / 0.6273 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.1548, allocations: 0.8534 MB / 0.6281 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1549, allocations: 45.88 kB / 0.6282 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.1549, allocations: 0 / 0.6282 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.0008425/0.1557, allocations: 0.5076 MB / 0.6287 GB, free: 140 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.1557, allocations: 59.91 kB / 0.6287 GB, free: 68 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.1562, allocations: 470.6 kB / 0.6292 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1562, allocations: 29.7 kB / 0.6292 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1564, allocations: 335.4 kB / 0.6295 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.1564, allocations: 170.5 kB / 0.6297 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/0.1565, allocations: 87.84 kB / 0.6298 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1567, allocations: 0.5352 MB / 0.6303 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1568, allocations: 68.95 kB / 0.6304 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1569, allocations: 143.8 kB / 0.6305 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.1572, allocations: 248.3 kB / 0.6307 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1572, allocations: 0 / 0.6307 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004974/0.1577, allocations: 408.4 kB / 0.6311 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1578, allocations: 4 kB / 0.6311 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1578, allocations: 8.125 kB / 0.6311 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.158, allocations: 71.23 kB / 0.6312 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1582, allocations: 83.91 kB / 0.6313 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.1596, allocations: 3.559 MB / 0.6348 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1597, allocations: 35.72 kB / 0.6348 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1597, allocations: 19.98 kB / 0.6348 GB, free: 9.469 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.000124/0.1599, allocations: 180.5 kB / 0.635 GB, free: 9.281 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.1599, allocations: 75.69 kB / 0.6351 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007145/0.1607, allocations: 0.598 MB / 0.6356 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1607, allocations: 8 kB / 0.6356 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1607, allocations: 4 kB / 0.6356 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1607, allocations: 0 / 0.6356 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1617, allocations: 0.9516 MB / 0.6366 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1617, allocations: 3.938 kB / 0.6366 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1619, allocations: 67.91 kB / 0.6366 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/0.162, allocations: 87.39 kB / 0.6367 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.162, allocations: 15.98 kB / 0.6367 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.1634, allocations: 3.555 MB / 0.6402 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1634, allocations: 0 / 0.6402 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.164, allocations: 0.6347 MB / 0.6408 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.1641, allocations: 95.48 kB / 0.6409 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.1641, allocations: 16 kB / 0.6409 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1642, allocations: 4 kB / 0.6409 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.1643, allocations: 39.88 kB / 0.641 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1643, allocations: 23.98 kB / 0.641 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002166/0.1645, allocations: 326.8 kB / 0.6413 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.1645, allocations: 0 / 0.6413 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003652/0.1649, allocations: 203.6 kB / 0.6415 GB, free: 2.211 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.0002758/0.1652, allocations: 254.5 kB / 0.6418 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005712/0.1657, allocations: 0.5866 MB / 0.6423 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1657, allocations: 4 kB / 0.6423 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.1661, allocations: 0.4918 MB / 0.6428 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.1667, allocations: 224.4 kB / 0.643 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.166/0.3327, allocations: 1.085 MB / 0.6441 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.3329, allocations: 128 kB / 0.6442 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003822/0.3333, allocations: 112.5 kB / 0.6443 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3334, allocations: 63.5 kB / 0.6444 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/0.3334, allocations: 0 / 0.6444 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01491/0.3483, allocations: 11.23 MB / 0.6553 GB, free: 169.1 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.042982840910554]