Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.0008707/0.0008707, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001388/0.001388, allocations: 177 kB / 23.36 MB, free: 1.137 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.8762/0.8762, allocations: 177.2 MB / 203.8 MB, free: 5.445 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.656/0.656, allocations: 118.7 MB / 378.9 MB, free: 1.344 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.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.656e-06/1.005e-05, allocations: 5.406 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2517/0.2517, allocations: 129.9 MB / 0.5475 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.253, allocations: 1.078 MB / 0.5486 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2532, allocations: 39.62 kB / 0.5486 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.2536, allocations: 130.9 kB / 0.5488 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.254, allocations: 318 kB / 0.5491 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2543, allocations: 199.4 kB / 0.5493 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.2548, allocations: 0.7502 MB / 0.55 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.255, allocations: 95.59 kB / 0.5501 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.2554, allocations: 434.7 kB / 0.5505 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.2557, allocations: 267.2 kB / 0.5507 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.2557, allocations: 24 kB / 0.5508 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.2559, allocations: 151.7 kB / 0.5509 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.256, allocations: 79.55 kB / 0.551 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.2561, allocations: 135.6 kB / 0.5511 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.2565, allocations: 450.2 kB / 0.5515 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2565, allocations: 8 kB / 0.5516 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2565, allocations: 0 / 0.5516 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2565, allocations: 0 / 0.5516 GB, free: 5.355 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006931/0.2572, allocations: 0.689 MB / 0.5522 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.2572, allocations: 16.03 kB / 0.5522 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.2573, allocations: 56.88 kB / 0.5523 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.2577, allocations: 432.7 kB / 0.5527 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2577, allocations: 21.03 kB / 0.5527 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.2578, allocations: 24.38 kB / 0.5528 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.258, allocations: 274.3 kB / 0.553 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.258, allocations: 3.984 kB / 0.553 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.258, allocations: 15.94 kB / 0.553 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2581, allocations: 4 kB / 0.553 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.2581, allocations: 84.33 kB / 0.5531 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2592, allocations: 1.223 MB / 0.5543 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.2594, allocations: 115.8 kB / 0.5544 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.2595, allocations: 34.75 kB / 0.5545 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.2596, allocations: 59.5 kB / 0.5545 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2597, allocations: 34.56 kB / 0.5545 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2597, allocations: 4 kB / 0.5545 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002873/0.26, allocations: 155.2 kB / 0.5547 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.26, allocations: 106.8 kB / 0.5548 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.2602, allocations: 375.5 kB / 0.5552 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2602, allocations: 29.7 kB / 0.5552 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.2603, allocations: 209.7 kB / 0.5554 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2603, allocations: 63.47 kB / 0.5554 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.2604, allocations: 49.62 kB / 0.5555 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.2604, allocations: 354.7 kB / 0.5558 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.2605, allocations: 19.98 kB / 0.5558 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.2605, allocations: 68.17 kB / 0.5559 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.2606, allocations: 107.9 kB / 0.556 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2606, allocations: 4 kB / 0.556 GB, free: 500 kB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001494/0.2608, allocations: 154.5 kB / 0.5562 GB, free: 340 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.2608, allocations: 7.938 kB / 0.5562 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2608, allocations: 11.97 kB / 0.5562 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.428e-05/0.2609, allocations: 12.86 kB / 0.5562 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.261, allocations: 43.97 kB / 0.5562 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005084/0.2615, allocations: 1.154 MB / 0.5574 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.2615, allocations: 24.59 kB / 0.5574 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2615, allocations: 4 kB / 0.5574 GB, free: 14.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.108e-05/0.2616, allocations: 132.5 kB / 0.5575 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.2617, allocations: 27.97 kB / 0.5575 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.2619, allocations: 171.2 kB / 0.5577 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2619, allocations: 4 kB / 0.5577 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.2619, allocations: 0 / 0.5577 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2619, allocations: 0 / 0.5577 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.2621, allocations: 194.8 kB / 0.5579 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2621, allocations: 0 / 0.5579 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.2622, allocations: 31.97 kB / 0.5579 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.128e-05/0.2622, allocations: 20.84 kB / 0.558 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2622, allocations: 8 kB / 0.558 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00044/0.2627, allocations: 1.161 MB / 0.5591 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2627, allocations: 0 / 0.5591 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.2628, allocations: 320.4 kB / 0.5594 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.2629, allocations: 55.2 kB / 0.5595 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2629, allocations: 0 / 0.5595 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.263, allocations: 11.94 kB / 0.5595 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.263, allocations: 15.91 kB / 0.5595 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.263, allocations: 8 kB / 0.5595 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000103/0.2631, allocations: 164.4 kB / 0.5596 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.2631, allocations: 4 kB / 0.5596 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003131/0.2635, allocations: 95.77 kB / 0.5597 GB, free: 12.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.2636, allocations: 98.47 kB / 0.5598 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.2641, allocations: 210.1 kB / 0.56 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.2641, allocations: 4 kB / 0.56 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2642, allocations: 159.7 kB / 0.5602 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.2646, allocations: 131.4 kB / 0.5603 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/0.2656, allocations: 0.7519 MB / 0.561 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.2657, allocations: 109.1 kB / 0.5612 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.2658, allocations: 51.05 kB / 0.5612 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.2659, allocations: 133.3 kB / 0.5613 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of SimCode: time 6.42e-07/0.2659, allocations: 0 / 0.5613 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.006876/0.2728, allocations: 5.03 MB / 0.5662 GB, free: 5.891 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_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: 3.3046229872852564]