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.001444/0.001444, allocations: 109 kB / 17.54 MB, free: 4.781 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.001383/0.001383, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.352/1.352, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5802/0.5802, allocations: 94.59 MB / 399 MB, free: 15.77 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> 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.00226/0.00226, allocations: 83.86 kB / 0.5442 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 71.84 MB / 0.6144 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.167/0.5104, allocations: 147.6 MB / 0.7585 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004308/0.5148, allocations: 3.167 MB / 0.7615 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.5153, allocations: 23.88 kB / 0.7616 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.516, allocations: 238.3 kB / 0.7618 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.517, allocations: 385.6 kB / 0.7622 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.5181, allocations: 458.3 kB / 0.7626 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008806/0.519, allocations: 0.6806 MB / 0.7633 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.5191, allocations: 87 kB / 0.7633 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.5203, allocations: 0.4939 MB / 0.7638 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.5208, allocations: 302.7 kB / 0.7641 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.5209, allocations: 24 kB / 0.7641 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.5219, allocations: 0.5653 MB / 0.7647 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.522, allocations: 75.62 kB / 0.7648 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.5222, allocations: 214.7 kB / 0.765 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.5233, allocations: 0.6965 MB / 0.7656 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5233, allocations: 4 kB / 0.7657 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.346e-06/0.5233, allocations: 7.922 kB / 0.7657 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.5234, allocations: 0 / 0.7657 GB, free: 9.633 MB / 0.5919 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.001311/0.5247, allocations: 0.7937 MB / 0.7664 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.5247, allocations: 12.03 kB / 0.7664 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.5248, allocations: 62.72 kB / 0.7665 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.5249, allocations: 56.56 kB / 0.7666 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.5256, allocations: 486.1 kB / 0.767 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5257, allocations: 16.94 kB / 0.767 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.5257, allocations: 36.33 kB / 0.7671 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.5262, allocations: 320.4 kB / 0.7674 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.5263, allocations: 8 kB / 0.7674 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/0.5263, allocations: 8 kB / 0.7674 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.5264, allocations: 8 kB / 0.7674 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.5268, allocations: 195.8 kB / 0.7676 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.5288, allocations: 1.777 MB / 0.7693 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.5292, allocations: 163.7 kB / 0.7695 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.5294, allocations: 70.64 kB / 0.7695 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006732/0.53, allocations: 0.522 MB / 0.7701 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5301, allocations: 42.5 kB / 0.7701 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.5301, allocations: 0 / 0.7701 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009403/0.531, allocations: 355.3 kB / 0.7704 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.5311, allocations: 106.8 kB / 0.7705 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.5315, allocations: 446.2 kB / 0.771 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.5315, allocations: 25.7 kB / 0.771 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.5317, allocations: 248.2 kB / 0.7712 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5318, allocations: 63.47 kB / 0.7713 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.5319, allocations: 49.56 kB / 0.7713 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5321, allocations: 350.8 kB / 0.7717 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.5322, allocations: 59.95 kB / 0.7717 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.5324, allocations: 110 kB / 0.7718 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.5327, allocations: 174.2 kB / 0.772 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5327, allocations: 0 / 0.772 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006269/0.5333, allocations: 278 kB / 0.7723 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5334, allocations: 4 kB / 0.7723 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5334, allocations: 8.125 kB / 0.7723 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.5335, allocations: 24.84 kB / 0.7723 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.5337, allocations: 47.92 kB / 0.7723 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.5348, allocations: 1.39 MB / 0.7737 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.535, allocations: 31.8 kB / 0.7737 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.5351, allocations: 8 kB / 0.7737 GB, free: 0.6406 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.0001608/0.5352, allocations: 169.7 kB / 0.7739 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5353, allocations: 47.66 kB / 0.7739 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.5359, allocations: 252.6 kB / 0.7742 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5359, allocations: 15.97 kB / 0.7742 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.5359, allocations: 0 / 0.7742 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5359, allocations: 0 / 0.7742 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.5363, allocations: 357.4 kB / 0.7745 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5364, allocations: 4 kB / 0.7745 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.5366, allocations: 39.92 kB / 0.7746 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.094e-05/0.5367, allocations: 16.84 kB / 0.7746 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.5367, allocations: 11.98 kB / 0.7746 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.5378, allocations: 1.386 MB / 0.776 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5378, allocations: 4.031 kB / 0.776 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.5384, allocations: 452.1 kB / 0.7764 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.5385, allocations: 124.8 kB / 0.7765 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.5385, allocations: 7.938 kB / 0.7765 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.5388, allocations: 8 kB / 0.7765 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.5388, allocations: 15.97 kB / 0.7766 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.5389, allocations: 8 kB / 0.7766 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003162/0.5392, allocations: 306.9 kB / 0.7769 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.5392, allocations: 0 / 0.7769 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004043/0.5396, allocations: 103.8 kB / 0.777 GB, free: 13.1 MB / 0.6075 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.001186/0.5408, allocations: 1.078 MB / 0.778 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.5413, allocations: 262.5 kB / 0.7783 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5413, allocations: 0 / 0.7783 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.5417, allocations: 186.8 kB / 0.7784 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.5423, allocations: 114.6 kB / 0.7785 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.5469, allocations: 3.579 MB / 0.782 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.5474, allocations: 0.8113 MB / 0.7828 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.5475, allocations: 53.83 kB / 0.7829 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.5477, allocations: 159.4 kB / 0.783 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.5477, allocations: 0 / 0.783 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.5888, allocations: 10.18 MB / 0.793 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.814/10.4, allocations: 10.75 kB / 0.793 GB, free: 12.61 MB / 0.6231 GB " [Timeout remaining time 650] (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 --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/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: 13.41566700599651]