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.001454/0.001454, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001571/0.001571, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.6721/0.6721, allocations: 118.6 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.452e-06/1.452e-06, allocations: 0 / 430.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.551e-05, allocations: 2.312 kB / 430.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3186/0.3186, allocations: 129.9 MB / 0.5476 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3202, allocations: 1.075 MB / 0.5487 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.3205, allocations: 39.62 kB / 0.5487 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.3209, allocations: 134.3 kB / 0.5488 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.3214, allocations: 318 kB / 0.5491 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.3218, allocations: 195.4 kB / 0.5493 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.3224, allocations: 0.758 MB / 0.5501 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3226, allocations: 95.59 kB / 0.5502 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.3231, allocations: 434.7 kB / 0.5506 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.3234, allocations: 267.2 kB / 0.5508 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.3234, allocations: 28 kB / 0.5509 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.3236, allocations: 143.7 kB / 0.551 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3237, allocations: 75.61 kB / 0.5511 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.3238, allocations: 151.6 kB / 0.5512 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.3243, allocations: 450.2 kB / 0.5516 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3243, allocations: 0 / 0.5516 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3243, allocations: 0 / 0.5516 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3243, allocations: 0 / 0.5516 GB, free: 5.094 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.0009907/0.3253, allocations: 0.6929 MB / 0.5523 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3253, allocations: 12.02 kB / 0.5523 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.3253, allocations: 52.89 kB / 0.5524 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.3258, allocations: 436.7 kB / 0.5528 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3258, allocations: 17.03 kB / 0.5528 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.3258, allocations: 32.38 kB / 0.5528 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3261, allocations: 270.3 kB / 0.5531 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3261, allocations: 0 / 0.5531 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3261, allocations: 15.94 kB / 0.5531 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3261, allocations: 4 kB / 0.5531 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.3262, allocations: 86.53 kB / 0.5532 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.3271, allocations: 1.231 MB / 0.5544 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.3273, allocations: 111.6 kB / 0.5545 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.3273, allocations: 34.75 kB / 0.5545 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.3275, allocations: 48.09 kB / 0.5546 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3275, allocations: 50.47 kB / 0.5546 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.3275, allocations: 7.984 kB / 0.5546 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002962/0.3278, allocations: 146.9 kB / 0.5548 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.3279, allocations: 106.8 kB / 0.5549 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.3281, allocations: 375.5 kB / 0.5552 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3281, allocations: 29.7 kB / 0.5553 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.3282, allocations: 209.7 kB / 0.5555 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.3282, allocations: 63.45 kB / 0.5555 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.3283, allocations: 45.69 kB / 0.5556 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.3284, allocations: 350.7 kB / 0.5559 GB, free: 480 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.3284, allocations: 27.92 kB / 0.5559 GB, free: 452 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.3284, allocations: 68.16 kB / 0.556 GB, free: 364 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3285, allocations: 108.9 kB / 0.5561 GB, free: 236 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3285, allocations: 5.812 kB / 0.5561 GB, free: 232 kB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001752/0.3287, allocations: 146.4 kB / 0.5563 GB, free: 76 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3287, allocations: 12.77 kB / 0.5563 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3287, allocations: 4 kB / 0.5563 GB, free: 60 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.3289, allocations: 20.8 kB / 0.5563 GB, free: 36 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.329, allocations: 49.98 kB / 0.5563 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006511/0.3296, allocations: 1.159 MB / 0.5575 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.3297, allocations: 23.84 kB / 0.5575 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3297, allocations: 13.05 kB / 0.5575 GB, free: 14.7 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 0.0001025/0.3298, allocations: 124.5 kB / 0.5576 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.3299, allocations: 27.97 kB / 0.5576 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3301, allocations: 167.1 kB / 0.5578 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3301, allocations: 4 kB / 0.5578 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.3301, allocations: 0 / 0.5578 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3301, allocations: 7.922 kB / 0.5578 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3303, allocations: 186.4 kB / 0.558 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3303, allocations: 48 / 0.558 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3304, allocations: 41.52 kB / 0.558 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.013e-05/0.3305, allocations: 24.84 kB / 0.5581 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3305, allocations: 4 kB / 0.5581 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009/0.3314, allocations: 1.165 MB / 0.5592 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3314, allocations: 0 / 0.5592 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.3317, allocations: 312.4 kB / 0.5595 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3317, allocations: 55.77 kB / 0.5596 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3317, allocations: 7.938 kB / 0.5596 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.3318, allocations: 4 kB / 0.5596 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3319, allocations: 19.97 kB / 0.5596 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.3319, allocations: 0 / 0.5596 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001173/0.332, allocations: 168.4 kB / 0.5597 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.332, allocations: 3.938 kB / 0.5597 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002466/0.3322, allocations: 99.72 kB / 0.5598 GB, free: 12.16 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.000154/0.3324, allocations: 100.4 kB / 0.5599 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.3326, allocations: 202.1 kB / 0.5601 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3326, allocations: 4 kB / 0.5601 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3328, allocations: 165.4 kB / 0.5603 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3332, allocations: 133.5 kB / 0.5604 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3343, allocations: 0.7549 MB / 0.5612 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.3343, allocations: 105.1 kB / 0.5613 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.3344, allocations: 53.53 kB / 0.5613 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3346, allocations: 137.3 kB / 0.5614 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/0.3346, allocations: 0 / 0.5614 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.007339/0.342, allocations: 5.11 MB / 0.5664 GB, free: 5.535 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 -s gbode -gbm=radauIIA3 -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.7817286839708686]