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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 103.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6917/0.6917, allocations: 90.28 MB / 395.3 MB, free: 3.742 MB / 302.1 MB [Timeout remaining time 89] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 82.3 kB / 0.539 GB, free: 42.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1136, allocations: 70.83 MB / 0.6082 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4574/0.5709, allocations: 144.8 MB / 0.7496 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.5748, allocations: 4.514 MB / 0.754 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.575, allocations: 6.594 kB / 0.754 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.5756, allocations: 195.1 kB / 0.7542 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005876/0.5762, allocations: 261.1 kB / 0.7545 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.5773, allocations: 432.4 kB / 0.7549 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.5779, allocations: 0.5761 MB / 0.7554 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.5781, allocations: 76.2 kB / 0.7555 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005316/0.5786, allocations: 312.1 kB / 0.7558 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.579, allocations: 322.7 kB / 0.7561 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.5791, allocations: 34.31 kB / 0.7562 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008988/0.58, allocations: 469.1 kB / 0.7566 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.5801, allocations: 96.33 kB / 0.7567 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.5803, allocations: 175.2 kB / 0.7569 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.5811, allocations: 0.5231 MB / 0.7574 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5811, allocations: 2.656 kB / 0.7574 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5811, allocations: 0 / 0.7574 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5811, allocations: 0 / 0.7574 GB, free: 2.391 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001276/0.5823, allocations: 0.7127 MB / 0.7581 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5824, allocations: 11.3 kB / 0.7581 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.5825, allocations: 36.48 kB / 0.7581 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.5829, allocations: 297.1 kB / 0.7584 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.5829, allocations: 17.31 kB / 0.7584 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.583, allocations: 29.11 kB / 0.7584 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.5836, allocations: 448.1 kB / 0.7589 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5836, allocations: 1.625 kB / 0.7589 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.5837, allocations: 9.656 kB / 0.7589 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.5837, allocations: 16.12 kB / 0.7589 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/0.5844, allocations: 483.3 kB / 0.7594 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.5863, allocations: 1.404 MB / 0.7607 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.5867, allocations: 227.7 kB / 0.761 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.587, allocations: 196.5 kB / 0.7611 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.5873, allocations: 336.6 kB / 0.7615 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.5873, allocations: 40.09 kB / 0.7615 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.452e-06/0.5873, allocations: 1.781 kB / 0.7615 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002528/0.5899, allocations: 1.486 MB / 0.7629 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5899, allocations: 55.59 kB / 0.763 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.5902, allocations: 266 kB / 0.7633 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.5903, allocations: 30.89 kB / 0.7633 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.5904, allocations: 151.8 kB / 0.7634 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.5904, allocations: 121.6 kB / 0.7635 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.5906, allocations: 65.58 kB / 0.7636 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5907, allocations: 344.9 kB / 0.7639 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.591, allocations: 143.5 kB / 0.7641 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.5912, allocations: 149 kB / 0.7642 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/0.5918, allocations: 345.2 kB / 0.7645 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.5918, allocations: 0.625 kB / 0.7645 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007697/0.5926, allocations: 0.5024 MB / 0.765 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5926, allocations: 7.984 kB / 0.765 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5926, allocations: 0 / 0.765 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.5929, allocations: 111 kB / 0.7652 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.5932, allocations: 56.19 kB / 0.7652 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.5956, allocations: 2.335 MB / 0.7675 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.5958, allocations: 12.25 kB / 0.7675 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.5958, allocations: 17.94 kB / 0.7675 GB, free: 13.53 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.0001812/0.596, allocations: 155.9 kB / 0.7677 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.5961, allocations: 31.56 kB / 0.7677 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009499/0.597, allocations: 0.6377 MB / 0.7683 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5971, allocations: 6.438 kB / 0.7683 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5971, allocations: 2.188 kB / 0.7683 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5971, allocations: 4.25 kB / 0.7683 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.5975, allocations: 403.2 kB / 0.7687 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5975, allocations: 0.875 kB / 0.7687 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.5977, allocations: 38.02 kB / 0.7687 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003507/0.5981, allocations: 126.2 kB / 0.7689 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.5981, allocations: 12.09 kB / 0.7689 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.6005, allocations: 2.345 MB / 0.7712 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6005, allocations: 3.188 kB / 0.7712 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.6013, allocations: 0.6314 MB / 0.7718 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.6014, allocations: 98.53 kB / 0.7719 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.6014, allocations: 10.28 kB / 0.7719 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6016, allocations: 5.594 kB / 0.7719 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.6017, allocations: 24.78 kB / 0.7719 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.6017, allocations: 16.59 kB / 0.7719 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002048/0.6019, allocations: 226 kB / 0.7722 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6019, allocations: 1.094 kB / 0.7722 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004911/0.6024, allocations: 111.3 kB / 0.7723 GB, free: 11.22 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.0002678/0.6026, allocations: 180.3 kB / 0.7724 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008031/0.6034, allocations: 0.5028 MB / 0.7729 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6035, allocations: 3 kB / 0.7729 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.604, allocations: 359.7 kB / 0.7733 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.6045, allocations: 107.5 kB / 0.7734 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.6058, allocations: 0.8414 MB / 0.7742 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.6062, allocations: 0.7875 MB / 0.775 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.6063, allocations: 43.42 kB / 0.775 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.6063, allocations: 4.188 kB / 0.775 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.00871/0.615, allocations: 7.311 MB / 0.7821 GB, free: 9.273 MB / 0.5919 GB [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] 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