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.001556/0.001556, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001692/0.001692, allocations: 163.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.388/1.388, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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.7381/0.7381, allocations: 80.2 MB / 339.4 MB, free: 10.89 MB / 318.1 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.092e-06/1.092e-06, allocations: 0 / 0.4929 GB, free: 25.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.251e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1481/0.1481, allocations: 129.6 MB / 0.6194 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006014/0.1542, allocations: 4.305 MB / 0.6236 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.1548, allocations: 39.62 kB / 0.6236 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000902/0.1557, allocations: 281.9 kB / 0.6239 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.1575, allocations: 0.7296 MB / 0.6246 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1589, allocations: 0.5291 MB / 0.6251 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.1602, allocations: 1.104 MB / 0.6262 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.1604, allocations: 94.61 kB / 0.6263 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.1618, allocations: 0.7125 MB / 0.627 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.1625, allocations: 426.9 kB / 0.6274 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.1625, allocations: 44 kB / 0.6275 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.1639, allocations: 0.6664 MB / 0.6281 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1641, allocations: 123.3 kB / 0.6282 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.1644, allocations: 227.4 kB / 0.6284 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.1659, allocations: 0.9851 MB / 0.6294 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1659, allocations: 0 / 0.6294 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1659, allocations: 0 / 0.6294 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.1659, allocations: 4 kB / 0.6294 GB, free: 3.328 MB / 0.5294 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.001584/0.1675, allocations: 0.9051 MB / 0.6303 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1675, allocations: 10.06 kB / 0.6303 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.168, allocations: 108.4 kB / 0.6304 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/0.1689, allocations: 489.4 kB / 0.6309 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.1689, allocations: 29.38 kB / 0.6309 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.169, allocations: 44.38 kB / 0.6309 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/0.1698, allocations: 0.509 MB / 0.6314 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1698, allocations: 192 / 0.6314 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.1699, allocations: 24.12 kB / 0.6315 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1699, allocations: 12 kB / 0.6315 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.1707, allocations: 495.7 kB / 0.6319 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.173, allocations: 1.463 MB / 0.6334 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.1738, allocations: 332.7 kB / 0.6337 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.1741, allocations: 176.5 kB / 0.6339 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002077/0.1762, allocations: 0.838 MB / 0.6347 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1762, allocations: 47.02 kB / 0.6347 GB, free: 13.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=47): time 1.983e-06/0.1762, allocations: 0 / 0.6347 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=47): time 0.001573/0.1778, allocations: 0.6349 MB / 0.6353 GB, free: 13.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.1779, allocations: 55.91 kB / 0.6354 GB, free: 13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.1784, allocations: 422 kB / 0.6358 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.1784, allocations: 33.7 kB / 0.6358 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.1786, allocations: 284.6 kB / 0.6361 GB, free: 12.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1787, allocations: 174.5 kB / 0.6363 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1789, allocations: 78.19 kB / 0.6363 GB, free: 12.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1791, allocations: 362.8 kB / 0.6367 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1793, allocations: 128.9 kB / 0.6368 GB, free: 11.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.1796, allocations: 185.7 kB / 0.637 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.1802, allocations: 342.2 kB / 0.6373 GB, free: 10.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1803, allocations: 0 / 0.6373 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009692/0.1812, allocations: 0.4948 MB / 0.6378 GB, free: 10.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1812, allocations: 8 kB / 0.6378 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1812, allocations: 0 / 0.6378 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.1815, allocations: 61.67 kB / 0.6379 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.1819, allocations: 87.89 kB / 0.6379 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.1842, allocations: 2.666 MB / 0.6405 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.1845, allocations: 43.69 kB / 0.6406 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.1846, allocations: 16 kB / 0.6406 GB, free: 7.371 MB / 0.545 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.0002575/0.1848, allocations: 177.8 kB / 0.6408 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1849, allocations: 59.66 kB / 0.6408 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.1863, allocations: 0.6775 MB / 0.6415 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1863, allocations: 4 kB / 0.6415 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1863, allocations: 0 / 0.6415 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1863, allocations: 7.984 kB / 0.6415 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.188, allocations: 0.9815 MB / 0.6425 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.188, allocations: 4 kB / 0.6425 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.1883, allocations: 67.91 kB / 0.6425 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.1885, allocations: 73.66 kB / 0.6426 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.1885, allocations: 19.98 kB / 0.6426 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.1908, allocations: 2.651 MB / 0.6452 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.1908, allocations: 11.95 kB / 0.6452 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.1921, allocations: 0.7354 MB / 0.6459 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.1922, allocations: 55.5 kB / 0.646 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.1923, allocations: 12 kB / 0.646 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.1925, allocations: 8 kB / 0.646 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.1926, allocations: 39.86 kB / 0.646 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.1926, allocations: 16 kB / 0.6461 GB, free: 1.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003701/0.193, allocations: 318.9 kB / 0.6464 GB, free: 1.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.193, allocations: 4.062 kB / 0.6464 GB, free: 1.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006325/0.1936, allocations: 203.6 kB / 0.6466 GB, free: 0.9453 MB / 0.545 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.000409/0.194, allocations: 250.1 kB / 0.6468 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001/0.195, allocations: 0.5508 MB / 0.6473 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.195, allocations: 0 / 0.6473 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.1957, allocations: 433.7 kB / 0.6478 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.1969, allocations: 227.8 kB / 0.648 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.1993, allocations: 1.105 MB / 0.6491 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1995, allocations: 275.5 kB / 0.6493 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.1999, allocations: 103.6 kB / 0.6494 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2, allocations: 60.48 kB / 0.6495 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.2, allocations: 0 / 0.6495 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.02061/0.2206, allocations: 11.04 MB / 0.6603 GB, free: 3.035 MB / 0.5606 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: 5.488562356680632]