Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.001269/0.001269, allocations: 116.8 kB / 17.17 MB, free: 6 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.001333/0.001333, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.6076/0.6076, allocations: 94.58 MB / 404.1 MB, free: 10.91 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.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",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.002448/0.002448, allocations: 87.88 kB / 0.5506 GB, free: 5.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4272, allocations: 73.02 MB / 0.6219 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1959/0.6231, allocations: 145 MB / 0.7635 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006488/0.6296, allocations: 4.608 MB / 0.768 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.6302, allocations: 35.69 kB / 0.7681 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007869/0.631, allocations: 206.6 kB / 0.7683 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000992/0.6319, allocations: 322.2 kB / 0.7686 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.6332, allocations: 434.4 kB / 0.769 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009561/0.6342, allocations: 0.744 MB / 0.7697 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.6344, allocations: 78.56 kB / 0.7698 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008224/0.6352, allocations: 410.3 kB / 0.7702 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006376/0.6359, allocations: 338.8 kB / 0.7705 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.6359, allocations: 32 kB / 0.7705 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.6369, allocations: 471 kB / 0.771 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.6371, allocations: 103.6 kB / 0.7711 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.6373, allocations: 210.8 kB / 0.7713 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.6384, allocations: 0.646 MB / 0.7719 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6384, allocations: 0 / 0.7719 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6384, allocations: 3.938 kB / 0.7719 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.6385, allocations: 0 / 0.7719 GB, free: 1.988 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001806/0.6403, allocations: 0.8292 MB / 0.7727 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6403, allocations: 11.97 kB / 0.7727 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.348e-05/0.6403, allocations: 20.67 kB / 0.7727 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.447e-05/0.6404, allocations: 62.72 kB / 0.7728 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6405, allocations: 56.56 kB / 0.7729 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.6413, allocations: 490.2 kB / 0.7733 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.6413, allocations: 16.94 kB / 0.7733 GB, free: 428 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.6414, allocations: 32.12 kB / 0.7734 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.6421, allocations: 441.2 kB / 0.7738 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6422, allocations: 3.984 kB / 0.7738 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.6422, allocations: 15.94 kB / 0.7738 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.6422, allocations: 16.56 kB / 0.7738 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.643, allocations: 481.8 kB / 0.7743 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.6453, allocations: 1.439 MB / 0.7757 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.6458, allocations: 226.5 kB / 0.7759 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.6462, allocations: 196.6 kB / 0.7761 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.6465, allocations: 336.4 kB / 0.7764 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.6465, allocations: 34.56 kB / 0.7765 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.6465, allocations: 0 / 0.7765 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.003021/0.6496, allocations: 1.534 MB / 0.7779 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.6496, allocations: 55.41 kB / 0.778 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.6501, allocations: 402 kB / 0.7784 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.6502, allocations: 29.7 kB / 0.7784 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.6503, allocations: 204.6 kB / 0.7786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6505, allocations: 119 kB / 0.7787 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.6506, allocations: 65.67 kB / 0.7788 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6508, allocations: 366.7 kB / 0.7791 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.651, allocations: 143.9 kB / 0.7793 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.6513, allocations: 143.9 kB / 0.7794 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.6519, allocations: 349.6 kB / 0.7797 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6519, allocations: 4 kB / 0.7797 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000993/0.6529, allocations: 0.5095 MB / 0.7802 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.6529, allocations: 8 kB / 0.7803 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6529, allocations: 0 / 0.7803 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.6534, allocations: 120.7 kB / 0.7804 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.6536, allocations: 51.94 kB / 0.7804 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.6566, allocations: 2.332 MB / 0.7827 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.6569, allocations: 16.03 kB / 0.7827 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.6569, allocations: 11.98 kB / 0.7827 GB, free: 6.301 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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 {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.6571, allocations: 163.6 kB / 0.7829 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.6572, allocations: 51.67 kB / 0.7829 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.6584, allocations: 0.6583 MB / 0.7836 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6584, allocations: 0 / 0.7836 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6584, allocations: 4 kB / 0.7836 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6584, allocations: 96 / 0.7836 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.659, allocations: 445.2 kB / 0.784 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.659, allocations: 3.984 kB / 0.784 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6592, allocations: 31.97 kB / 0.784 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/0.6596, allocations: 136.6 kB / 0.7842 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.6596, allocations: 11.98 kB / 0.7842 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/0.6624, allocations: 2.33 MB / 0.7864 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.6624, allocations: 7.938 kB / 0.7865 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.6636, allocations: 0.6381 MB / 0.7871 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.6638, allocations: 120.8 kB / 0.7872 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.6638, allocations: 8 kB / 0.7872 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.664, allocations: 3.984 kB / 0.7872 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.6641, allocations: 27.91 kB / 0.7872 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.6641, allocations: 11.98 kB / 0.7872 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000391/0.6645, allocations: 326.8 kB / 0.7876 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6645, allocations: 0 / 0.7876 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005507/0.665, allocations: 115.9 kB / 0.7877 GB, free: 0.9531 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.m_flow) * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.6667, allocations: 1.265 MB / 0.7889 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.6679, allocations: 0.5059 MB / 0.7894 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6679, allocations: 0 / 0.7894 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.6686, allocations: 358.3 kB / 0.7897 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.6693, allocations: 109.8 kB / 0.7898 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006453/0.6757, allocations: 4.111 MB / 0.7939 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.6762, allocations: 0.8386 MB / 0.7947 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002862/0.6765, allocations: 92.09 kB / 0.7948 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6768, allocations: 155.4 kB / 0.7949 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of SimCode: time 8.32e-07/0.6768, allocations: 0 / 0.7949 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.7342, allocations: 12.02 MB / 0.8067 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.7, allocations: 15.5 kB / 0.8067 GB, free: 13.49 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.037996381986886]