Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00164/0.00164, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002314/0.002314, allocations: 209.8 kB / 23.04 MB, free: 5.07 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.791/0.791, allocations: 100.3 MB / 413.5 MB, free: 3.672 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_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.002467/0.002467, allocations: 79.86 kB / 0.564 GB, free: 35.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1362, allocations: 74.47 MB / 0.6367 GB, free: 7.715 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5105/0.6467, allocations: 145.2 MB / 0.7785 GB, free: 264 kB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00537/0.652, allocations: 4.641 MB / 0.783 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005723/0.6526, allocations: 39.75 kB / 0.7831 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007904/0.6534, allocations: 205.1 kB / 0.7833 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009494/0.6543, allocations: 326.8 kB / 0.7836 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.6557, allocations: 456.4 kB / 0.784 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009705/0.6566, allocations: 0.749 MB / 0.7847 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.6569, allocations: 70.89 kB / 0.7848 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.6577, allocations: 406 kB / 0.7852 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.6582, allocations: 343.2 kB / 0.7855 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.6583, allocations: 35.56 kB / 0.7855 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.6595, allocations: 472.3 kB / 0.786 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.6596, allocations: 105.9 kB / 0.7861 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.6598, allocations: 212.6 kB / 0.7863 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.6609, allocations: 0.6471 MB / 0.7869 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6609, allocations: 0 / 0.7869 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6609, allocations: 4 kB / 0.7869 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.6609, allocations: 0 / 0.7869 GB, free: 15.37 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.001649/0.6625, allocations: 0.7609 MB / 0.7877 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6626, allocations: 8.844 kB / 0.7877 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.814e-05/0.6626, allocations: 8.375 kB / 0.7877 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.183e-05/0.6627, allocations: 61.09 kB / 0.7878 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.6628, allocations: 54.83 kB / 0.7878 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.6636, allocations: 418.1 kB / 0.7882 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.6636, allocations: 17.19 kB / 0.7882 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.6636, allocations: 26.03 kB / 0.7882 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.6643, allocations: 450.7 kB / 0.7887 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6643, allocations: 4.844 kB / 0.7887 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.6643, allocations: 8.719 kB / 0.7887 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.6644, allocations: 21 kB / 0.7887 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.665, allocations: 487 kB / 0.7892 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.6672, allocations: 1.418 MB / 0.7906 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.6676, allocations: 228.2 kB / 0.7908 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.6679, allocations: 194.1 kB / 0.791 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.668, allocations: 25.16 kB / 0.791 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.6681, allocations: 39.31 kB / 0.791 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.6681, allocations: 1.25 kB / 0.791 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002463/0.6705, allocations: 1.248 MB / 0.7922 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.6706, allocations: 53.88 kB / 0.7923 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.671, allocations: 398.5 kB / 0.7927 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.671, allocations: 30.83 kB / 0.7927 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.6711, allocations: 204 kB / 0.7929 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.6713, allocations: 128.1 kB / 0.793 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6714, allocations: 64.7 kB / 0.7931 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.6715, allocations: 359.5 kB / 0.7934 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.6717, allocations: 142 kB / 0.7936 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.672, allocations: 152.2 kB / 0.7937 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.6725, allocations: 337.3 kB / 0.794 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6725, allocations: 0 / 0.794 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008565/0.6733, allocations: 0.5198 MB / 0.7945 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6733, allocations: 7.219 kB / 0.7945 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6733, allocations: 0 / 0.7945 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.6737, allocations: 123.6 kB / 0.7947 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.674, allocations: 55.45 kB / 0.7947 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.6765, allocations: 2.226 MB / 0.7969 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.6768, allocations: 12.88 kB / 0.7969 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.6768, allocations: 16.41 kB / 0.7969 GB, free: 11.24 MB / 0.5919 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.0002293/0.6771, allocations: 157.8 kB / 0.7971 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.6772, allocations: 50.8 kB / 0.7971 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009933/0.6782, allocations: 0.6508 MB / 0.7978 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6782, allocations: 2.156 kB / 0.7978 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6782, allocations: 6.75 kB / 0.7978 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6782, allocations: 6.469 kB / 0.7978 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.6787, allocations: 421.4 kB / 0.7982 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6787, allocations: 4 kB / 0.7982 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.6789, allocations: 36.59 kB / 0.7982 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003151/0.6792, allocations: 117.5 kB / 0.7983 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.6792, allocations: 13.77 kB / 0.7983 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.6817, allocations: 2.232 MB / 0.8005 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6817, allocations: 0 / 0.8005 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.6827, allocations: 0.6496 MB / 0.8011 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.6827, allocations: 39.05 kB / 0.8012 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.6828, allocations: 6.438 kB / 0.8012 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.683, allocations: 12.88 kB / 0.8012 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.683, allocations: 23.31 kB / 0.8012 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.6831, allocations: 12 kB / 0.8012 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003361/0.6834, allocations: 322.2 kB / 0.8015 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6834, allocations: 0 / 0.8015 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005297/0.6839, allocations: 115 kB / 0.8017 GB, free: 9.105 MB / 0.5919 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.001531/0.6855, allocations: 1.27 MB / 0.8029 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000946/0.6864, allocations: 0.4939 MB / 0.8034 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6864, allocations: 0 / 0.8034 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.687, allocations: 356.6 kB / 0.8037 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.6877, allocations: 119.4 kB / 0.8038 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.6933, allocations: 4.128 MB / 0.8079 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.6938, allocations: 0.8391 MB / 0.8087 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002824/0.6941, allocations: 97.64 kB / 0.8088 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.6942, allocations: 157.9 kB / 0.8089 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.6942, allocations: 1.203 kB / 0.8089 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/0.733, allocations: 12.23 MB / 0.8209 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.06, allocations: 9.375 kB / 0.8209 GB, free: 15.89 MB / 0.6075 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 16.758236992987804]