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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7703/0.7703, allocations: 94.61 MB / 397.3 MB, free: 284 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 85.98 kB / 0.5416 GB, free: 42.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1186, allocations: 71.85 MB / 0.6118 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.5049/0.6235, allocations: 147.4 MB / 0.7557 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.6267, allocations: 3.158 MB / 0.7588 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.627, allocations: 24.47 kB / 0.7588 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.6277, allocations: 235.9 kB / 0.759 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008123/0.6285, allocations: 389.2 kB / 0.7594 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.6293, allocations: 456.6 kB / 0.7598 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000694/0.63, allocations: 0.6821 MB / 0.7605 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.6302, allocations: 91.52 kB / 0.7606 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.6311, allocations: 495.7 kB / 0.7611 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.6314, allocations: 299.5 kB / 0.7613 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.6314, allocations: 26.95 kB / 0.7614 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.6325, allocations: 0.567 MB / 0.7619 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.6326, allocations: 74.69 kB / 0.762 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.6327, allocations: 218.7 kB / 0.7622 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.6338, allocations: 0.6915 MB / 0.7629 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6338, allocations: 0.7812 kB / 0.7629 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6338, allocations: 0 / 0.7629 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.6338, allocations: 1.031 kB / 0.7629 GB, free: 2.27 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.001132/0.6349, allocations: 0.7991 MB / 0.7637 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6349, allocations: 9.531 kB / 0.7637 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.635, allocations: 61.11 kB / 0.7637 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.875e-05/0.6351, allocations: 61.92 kB / 0.7638 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009641/0.636, allocations: 478 kB / 0.7642 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.6361, allocations: 19.47 kB / 0.7643 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.6361, allocations: 30.78 kB / 0.7643 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.6366, allocations: 323.5 kB / 0.7646 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6366, allocations: 1.953 kB / 0.7646 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.6367, allocations: 14.25 kB / 0.7646 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6367, allocations: 7.156 kB / 0.7646 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.6372, allocations: 198 kB / 0.7648 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.6391, allocations: 1.777 MB / 0.7665 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.6396, allocations: 165 kB / 0.7667 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.6397, allocations: 73.67 kB / 0.7668 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/0.6404, allocations: 0.5166 MB / 0.7673 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.6404, allocations: 43.72 kB / 0.7673 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.6404, allocations: 1.031 kB / 0.7673 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008988/0.6413, allocations: 365.5 kB / 0.7677 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.6414, allocations: 106.4 kB / 0.7678 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.6418, allocations: 441.5 kB / 0.7682 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.6418, allocations: 28.48 kB / 0.7682 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.6419, allocations: 248.4 kB / 0.7685 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.642, allocations: 56.05 kB / 0.7685 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.6422, allocations: 49.78 kB / 0.7686 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6423, allocations: 356.9 kB / 0.7689 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.6425, allocations: 56.55 kB / 0.769 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.6426, allocations: 114.6 kB / 0.7691 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.6429, allocations: 180.8 kB / 0.7692 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6429, allocations: 3.938 kB / 0.7692 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004733/0.6434, allocations: 265 kB / 0.7695 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6434, allocations: 5.844 kB / 0.7695 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6434, allocations: 3.219 kB / 0.7695 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.6435, allocations: 23.95 kB / 0.7695 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.6438, allocations: 53.64 kB / 0.7696 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.645, allocations: 1.385 MB / 0.7709 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.6452, allocations: 37.42 kB / 0.771 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.6452, allocations: 8.188 kB / 0.771 GB, free: 12.76 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.0001564/0.6453, allocations: 156.2 kB / 0.7711 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.6454, allocations: 51.78 kB / 0.7712 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/0.646, allocations: 257.6 kB / 0.7714 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.646, allocations: 5.031 kB / 0.7714 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.646, allocations: 3.312 kB / 0.7714 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.646, allocations: 1.062 kB / 0.7714 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.6465, allocations: 352.7 kB / 0.7718 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6465, allocations: 2.094 kB / 0.7718 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.6467, allocations: 33.48 kB / 0.7718 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.689e-05/0.6468, allocations: 23.28 kB / 0.7718 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.6468, allocations: 5.562 kB / 0.7718 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009549/0.6477, allocations: 1.392 MB / 0.7732 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6477, allocations: 3.938 kB / 0.7732 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.6483, allocations: 453.9 kB / 0.7736 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.6485, allocations: 126.6 kB / 0.7737 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6485, allocations: 10.97 kB / 0.7737 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.6487, allocations: 8.719 kB / 0.7738 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.6487, allocations: 17.19 kB / 0.7738 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6487, allocations: 4.875 kB / 0.7738 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002603/0.649, allocations: 313.2 kB / 0.7741 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.649, allocations: 0 / 0.7741 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005083/0.6495, allocations: 97.3 kB / 0.7742 GB, free: 10.52 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.001128/0.6506, allocations: 1.094 MB / 0.7752 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.6511, allocations: 259.1 kB / 0.7755 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6511, allocations: 0.7188 kB / 0.7755 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.6514, allocations: 186.9 kB / 0.7757 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007779/0.6521, allocations: 106.9 kB / 0.7758 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.6564, allocations: 3.565 MB / 0.7792 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.657, allocations: 0.8143 MB / 0.78 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.6571, allocations: 63.47 kB / 0.7801 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.6573, allocations: 154.2 kB / 0.7802 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.6573, allocations: 0 / 0.7802 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.6992, allocations: 10.23 MB / 0.7902 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.58, allocations: 8.531 kB / 0.7902 GB, free: 5.992 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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: 15.105263087898493]