Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001289/0.001289, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001435/0.001435, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.8831/0.8831, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.6359/0.6359, allocations: 118.7 MB / 378.9 MB, free: 1.363 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.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_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_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.242e-05, allocations: 2.312 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2612/0.2612, allocations: 129.9 MB / 0.5475 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.2622, allocations: 1.071 MB / 0.5486 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2624, allocations: 39.62 kB / 0.5486 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.2627, allocations: 138 kB / 0.5488 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.2631, allocations: 322.2 kB / 0.5491 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2634, allocations: 191.4 kB / 0.5493 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.2639, allocations: 0.7541 MB / 0.55 GB, free: 7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.264, allocations: 91.59 kB / 0.5501 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.2644, allocations: 438.7 kB / 0.5505 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.2647, allocations: 267.3 kB / 0.5507 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.2647, allocations: 28 kB / 0.5508 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.2649, allocations: 143.7 kB / 0.5509 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.2649, allocations: 79.58 kB / 0.551 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.525e-05/0.265, allocations: 139.6 kB / 0.5511 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.2654, allocations: 446.2 kB / 0.5515 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2654, allocations: 0 / 0.5515 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2654, allocations: 0 / 0.5515 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2654, allocations: 0 / 0.5515 GB, free: 5.398 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.0006584/0.266, allocations: 0.7046 MB / 0.5522 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.2661, allocations: 8.031 kB / 0.5522 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2661, allocations: 56.89 kB / 0.5523 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.2665, allocations: 432.7 kB / 0.5527 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2666, allocations: 21.03 kB / 0.5527 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.2666, allocations: 24.38 kB / 0.5528 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.2668, allocations: 270.3 kB / 0.553 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2668, allocations: 0 / 0.553 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2668, allocations: 15.94 kB / 0.553 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2669, allocations: 15.92 kB / 0.553 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.2669, allocations: 82.34 kB / 0.5531 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/0.2678, allocations: 1.223 MB / 0.5543 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2679, allocations: 119.7 kB / 0.5544 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.268, allocations: 30.52 kB / 0.5545 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.2682, allocations: 63.78 kB / 0.5545 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2682, allocations: 34.56 kB / 0.5545 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.2682, allocations: 0 / 0.5545 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002772/0.2685, allocations: 154.8 kB / 0.5547 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2685, allocations: 106.8 kB / 0.5548 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2687, allocations: 379.4 kB / 0.5552 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2687, allocations: 33.64 kB / 0.5552 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.2688, allocations: 209.7 kB / 0.5554 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.2688, allocations: 63.47 kB / 0.5555 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.2689, allocations: 37.69 kB / 0.5555 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.2689, allocations: 358.7 kB / 0.5558 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.269, allocations: 12 kB / 0.5558 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/0.269, allocations: 77.97 kB / 0.5559 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.2691, allocations: 104.5 kB / 0.556 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2691, allocations: 4 kB / 0.556 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00015/0.2693, allocations: 158.7 kB / 0.5562 GB, free: 372 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.2693, allocations: 4 kB / 0.5562 GB, free: 368 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2693, allocations: 0 / 0.5562 GB, free: 368 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.002e-05/0.2693, allocations: 20.84 kB / 0.5562 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.2694, allocations: 48.05 kB / 0.5562 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/0.2699, allocations: 1.162 MB / 0.5574 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.27, allocations: 23.84 kB / 0.5574 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.27, allocations: 7.984 kB / 0.5574 GB, free: 15 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 7.728e-05/0.2701, allocations: 120.7 kB / 0.5575 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.2701, allocations: 36.72 kB / 0.5576 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.2703, allocations: 163.5 kB / 0.5577 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2703, allocations: 0 / 0.5577 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.2704, allocations: 4 kB / 0.5577 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2704, allocations: 3.984 kB / 0.5577 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.2705, allocations: 189.5 kB / 0.5579 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2705, allocations: 0 / 0.5579 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.2706, allocations: 35.98 kB / 0.5579 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-05/0.2707, allocations: 16.84 kB / 0.558 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.2707, allocations: 4.75 kB / 0.558 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004401/0.2711, allocations: 1.165 MB / 0.5591 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2711, allocations: 3.938 kB / 0.5591 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.2713, allocations: 316.9 kB / 0.5594 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.2714, allocations: 47.62 kB / 0.5594 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.2714, allocations: 11.62 kB / 0.5595 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.2715, allocations: 15.86 kB / 0.5595 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2715, allocations: 15.92 kB / 0.5595 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2715, allocations: 4 kB / 0.5595 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001004/0.2716, allocations: 164.4 kB / 0.5596 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.2716, allocations: 0 / 0.5596 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002349/0.2718, allocations: 103.8 kB / 0.5597 GB, free: 12.46 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.0001099/0.272, allocations: 88.41 kB / 0.5598 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2722, allocations: 202.8 kB / 0.56 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2722, allocations: 4.25 kB / 0.56 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2723, allocations: 167.4 kB / 0.5602 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2727, allocations: 126.9 kB / 0.5603 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.2736, allocations: 0.7563 MB / 0.561 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.2737, allocations: 105.1 kB / 0.5611 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.2738, allocations: 62.11 kB / 0.5612 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.274, allocations: 129.3 kB / 0.5613 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of SimCode: time 3.9e-07/0.274, allocations: 0 / 0.5613 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.006826/0.2808, allocations: 5.029 MB / 0.5662 GB, free: 5.906 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.4418549360707402]