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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008241/0.008241, allocations: 100.8 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 199.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7643/0.7643, allocations: 93.69 MB / 384.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 87.86 kB / 0.5204 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3442, allocations: 68.25 MB / 0.5871 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1762/0.5204, allocations: 146.9 MB / 0.7305 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.5251, allocations: 3.155 MB / 0.7336 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005734/0.5257, allocations: 27.81 kB / 0.7336 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008332/0.5265, allocations: 234.4 kB / 0.7339 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.5277, allocations: 365.7 kB / 0.7342 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.5289, allocations: 450.3 kB / 0.7346 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008432/0.5298, allocations: 0.6807 MB / 0.7353 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.53, allocations: 141.1 kB / 0.7354 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.5312, allocations: 489.8 kB / 0.7359 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.5316, allocations: 298.7 kB / 0.7362 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.5316, allocations: 24 kB / 0.7362 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.5328, allocations: 0.5419 MB / 0.7367 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.533, allocations: 79.62 kB / 0.7368 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.5332, allocations: 214.7 kB / 0.737 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3261/0.8593, allocations: 0.6854 MB / 0.7377 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8593, allocations: 1.594 kB / 0.7377 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8594, allocations: 0.875 kB / 0.7377 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.62e-05/0.8594, allocations: 0.9375 kB / 0.7377 GB, free: 3.16 MB / 0.5762 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.001644/0.861, allocations: 0.8022 MB / 0.7385 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8611, allocations: 10.47 kB / 0.7385 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.8612, allocations: 58.47 kB / 0.7386 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.8623, allocations: 478.5 kB / 0.739 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.8623, allocations: 20.72 kB / 0.739 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.8624, allocations: 31.34 kB / 0.7391 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.863, allocations: 326.4 kB / 0.7394 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.863, allocations: 0.5 kB / 0.7394 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.863, allocations: 11.75 kB / 0.7394 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.863, allocations: 6.906 kB / 0.7394 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.8635, allocations: 200.6 kB / 0.7396 GB, free: 18.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.8654, allocations: 1.777 MB / 0.7413 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.8659, allocations: 168.9 kB / 0.7415 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.8661, allocations: 74.91 kB / 0.7415 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007348/0.8668, allocations: 0.5207 MB / 0.7421 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.8668, allocations: 45.8 kB / 0.7421 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/0.8668, allocations: 0 / 0.7421 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009002/0.8678, allocations: 357.5 kB / 0.7424 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.8679, allocations: 112.2 kB / 0.7425 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.8683, allocations: 437.5 kB / 0.743 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.8684, allocations: 31.86 kB / 0.743 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.8685, allocations: 245.1 kB / 0.7432 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.8686, allocations: 61.22 kB / 0.7433 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.8686, allocations: 41.59 kB / 0.7433 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.8688, allocations: 360 kB / 0.7437 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.869, allocations: 57.41 kB / 0.7437 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.8692, allocations: 105.6 kB / 0.7438 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.8695, allocations: 175.4 kB / 0.744 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8695, allocations: 1.703 kB / 0.744 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005451/0.8701, allocations: 276.7 kB / 0.7443 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8701, allocations: 6.172 kB / 0.7443 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8701, allocations: 3.938 kB / 0.7443 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.8703, allocations: 23.69 kB / 0.7443 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.8705, allocations: 47.41 kB / 0.7443 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.8716, allocations: 1.393 MB / 0.7457 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.8718, allocations: 34.73 kB / 0.7457 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.8719, allocations: 7.219 kB / 0.7457 GB, free: 13.71 MB / 0.5919 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.0001989/0.8721, allocations: 157.3 kB / 0.7459 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.8722, allocations: 46.38 kB / 0.7459 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.8728, allocations: 261.6 kB / 0.7462 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.8728, allocations: 3.672 kB / 0.7462 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8728, allocations: 5.719 kB / 0.7462 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8728, allocations: 2.641 kB / 0.7462 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.8733, allocations: 354.1 kB / 0.7465 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8734, allocations: 4.844 kB / 0.7465 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.8735, allocations: 34.12 kB / 0.7466 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.375e-05/0.8736, allocations: 27.28 kB / 0.7466 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.8737, allocations: 8.203 kB / 0.7466 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.8747, allocations: 1.382 MB / 0.7479 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8747, allocations: 0.6875 kB / 0.7479 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.8755, allocations: 459.7 kB / 0.7484 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.8756, allocations: 118.4 kB / 0.7485 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.8756, allocations: 6.078 kB / 0.7485 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.8758, allocations: 14.02 kB / 0.7485 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.8759, allocations: 16.33 kB / 0.7485 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.876, allocations: 13.3 kB / 0.7485 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004055/0.8764, allocations: 312.3 kB / 0.7488 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8764, allocations: 1.625 kB / 0.7488 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005544/0.8769, allocations: 93.23 kB / 0.7489 GB, free: 11.48 MB / 0.5919 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.0003729/0.8773, allocations: 202.4 kB / 0.7491 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.878, allocations: 256.8 kB / 0.7494 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.878, allocations: 4.688 kB / 0.7494 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.8785, allocations: 199.3 kB / 0.7496 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.8792, allocations: 110.7 kB / 0.7497 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.8807, allocations: 0.8378 MB / 0.7505 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.8812, allocations: 0.8173 MB / 0.7513 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.8814, allocations: 53.22 kB / 0.7513 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.227e-05/0.8815, allocations: 34.86 kB / 0.7514 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.8815, allocations: 2.656 kB / 0.7514 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.0116/0.8931, allocations: 5.327 MB / 0.7566 GB, free: 9.676 MB / 0.5919 GB 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches