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.001237/0.001237, allocations: 115.4 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001369/0.001369, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.616/0.616, allocations: 94.57 MB / 404.1 MB, free: 10.97 MB / 334.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/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: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 85.28 kB / 0.5506 GB, free: 5.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3654, allocations: 73.03 MB / 0.6219 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1873/0.5527, allocations: 147.4 MB / 0.7659 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004719/0.5574, allocations: 3.159 MB / 0.769 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005649/0.558, allocations: 39.62 kB / 0.769 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008413/0.5588, allocations: 230.4 kB / 0.7692 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.5598, allocations: 389.7 kB / 0.7696 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.5611, allocations: 454.3 kB / 0.77 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008438/0.5619, allocations: 0.6768 MB / 0.7707 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.5622, allocations: 83 kB / 0.7708 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5634, allocations: 0.4978 MB / 0.7713 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.5638, allocations: 302.7 kB / 0.7715 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.5639, allocations: 24 kB / 0.7716 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.5652, allocations: 0.5614 MB / 0.7721 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.5653, allocations: 83.5 kB / 0.7722 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.5655, allocations: 214.8 kB / 0.7724 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.5667, allocations: 0.6925 MB / 0.7731 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5667, allocations: 0 / 0.7731 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5667, allocations: 0 / 0.7731 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.5667, allocations: 0 / 0.7731 GB, free: 0.8477 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.001369/0.5681, allocations: 0.8093 MB / 0.7739 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5681, allocations: 8.031 kB / 0.7739 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.115e-05/0.5681, allocations: 12.75 kB / 0.7739 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/0.5682, allocations: 62.72 kB / 0.7739 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.5683, allocations: 52.61 kB / 0.774 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.5691, allocations: 490 kB / 0.7745 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5691, allocations: 16.94 kB / 0.7745 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.5692, allocations: 32.12 kB / 0.7745 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.5697, allocations: 316.5 kB / 0.7748 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5698, allocations: 4 kB / 0.7748 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.5698, allocations: 8 kB / 0.7748 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5698, allocations: 8 kB / 0.7748 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.5702, allocations: 199.8 kB / 0.775 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.5724, allocations: 1.777 MB / 0.7768 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.5729, allocations: 167.7 kB / 0.7769 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.573, allocations: 78.5 kB / 0.777 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/0.5738, allocations: 0.522 MB / 0.7775 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5738, allocations: 38.56 kB / 0.7775 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.5738, allocations: 0 / 0.7775 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009533/0.5747, allocations: 359.5 kB / 0.7779 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.5748, allocations: 106.8 kB / 0.778 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.5753, allocations: 446.1 kB / 0.7784 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.5753, allocations: 29.69 kB / 0.7784 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.5755, allocations: 244.2 kB / 0.7787 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.5756, allocations: 55.58 kB / 0.7787 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.5757, allocations: 49.67 kB / 0.7788 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.5759, allocations: 358.7 kB / 0.7791 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.576, allocations: 63.89 kB / 0.7792 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.5762, allocations: 106 kB / 0.7793 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.5766, allocations: 177.8 kB / 0.7794 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5766, allocations: 4 kB / 0.7794 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005584/0.5772, allocations: 262.1 kB / 0.7797 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.5772, allocations: 7.938 kB / 0.7797 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5772, allocations: 4 kB / 0.7797 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.5774, allocations: 20.98 kB / 0.7797 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.5776, allocations: 47.97 kB / 0.7798 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.5788, allocations: 1.394 MB / 0.7811 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.579, allocations: 23.88 kB / 0.7812 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.579, allocations: 11.98 kB / 0.7812 GB, free: 7.836 MB / 0.6075 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.0001889/0.5792, allocations: 157.7 kB / 0.7813 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5793, allocations: 55.7 kB / 0.7814 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006471/0.58, allocations: 251.2 kB / 0.7816 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.58, allocations: 4 kB / 0.7816 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.58, allocations: 0 / 0.7816 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.58, allocations: 4 kB / 0.7816 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.5805, allocations: 357.3 kB / 0.782 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5805, allocations: 48 / 0.782 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.5806, allocations: 39.97 kB / 0.782 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.524e-05/0.5807, allocations: 16.84 kB / 0.782 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.5808, allocations: 8 kB / 0.782 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.5819, allocations: 1.39 MB / 0.7834 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5819, allocations: 4.031 kB / 0.7834 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.5826, allocations: 454.7 kB / 0.7838 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.5827, allocations: 120.8 kB / 0.7839 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.5827, allocations: 15.97 kB / 0.7839 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.5829, allocations: 11.94 kB / 0.784 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.583, allocations: 11.98 kB / 0.784 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.583, allocations: 15.92 kB / 0.784 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003529/0.5833, allocations: 306.9 kB / 0.7843 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.5833, allocations: 0 / 0.7843 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004815/0.5838, allocations: 107.7 kB / 0.7844 GB, free: 4.293 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.001255/0.5851, allocations: 1.083 MB / 0.7854 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006198/0.5857, allocations: 262.5 kB / 0.7857 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.5857, allocations: 4 kB / 0.7857 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.5861, allocations: 182.6 kB / 0.7859 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.5868, allocations: 105.9 kB / 0.786 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.5917, allocations: 3.563 MB / 0.7895 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.5922, allocations: 0.8191 MB / 0.7902 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.5923, allocations: 62.64 kB / 0.7903 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.5926, allocations: 155.4 kB / 0.7905 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.5926, allocations: 0 / 0.7905 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.6288, allocations: 10.25 MB / 0.8005 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.66, allocations: 6.75 kB / 0.8005 GB, free: 3.824 MB / 0.6231 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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.123844533984084]