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.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.001325/0.001325, allocations: 113 kB / 17.6 MB, free: 4.684 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.00131/0.00131, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.553/1.553, allocations: 225.6 MB / 249.4 MB, free: 3.113 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.6173/0.6173, allocations: 94.58 MB / 399.1 MB, free: 15.73 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: 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_dev_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_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 91.84 kB / 0.5448 GB, free: 12.05 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4249, allocations: 71.84 MB / 0.615 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1951/0.62, allocations: 145.1 MB / 0.7567 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006313/0.6263, allocations: 4.628 MB / 0.7612 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.6268, allocations: 31.75 kB / 0.7612 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.6276, allocations: 206.6 kB / 0.7614 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.6286, allocations: 322.2 kB / 0.7617 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.6299, allocations: 438.3 kB / 0.7622 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.631, allocations: 0.7401 MB / 0.7629 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.6312, allocations: 73.28 kB / 0.763 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009852/0.6322, allocations: 402.3 kB / 0.7633 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008712/0.6331, allocations: 346.7 kB / 0.7637 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.6332, allocations: 28 kB / 0.7637 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.6342, allocations: 475 kB / 0.7641 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.6344, allocations: 103.6 kB / 0.7642 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.6347, allocations: 210.8 kB / 0.7644 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.6359, allocations: 0.6457 MB / 0.7651 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6359, allocations: 0 / 0.7651 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6359, allocations: 0 / 0.7651 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.6359, allocations: 0 / 0.7651 GB, free: 10.74 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.001888/0.6378, allocations: 0.8369 MB / 0.7659 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6378, allocations: 11.97 kB / 0.7659 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.6379, allocations: 56.61 kB / 0.766 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/0.6388, allocations: 486.2 kB / 0.7664 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.6388, allocations: 20.94 kB / 0.7664 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.6389, allocations: 28.33 kB / 0.7665 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.6397, allocations: 449.3 kB / 0.7669 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6397, allocations: 3.938 kB / 0.7669 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.6398, allocations: 12 kB / 0.7669 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-05/0.6398, allocations: 16.56 kB / 0.7669 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.6407, allocations: 481.8 kB / 0.7674 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.6431, allocations: 1.442 MB / 0.7688 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.6437, allocations: 238.4 kB / 0.769 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.644, allocations: 188.8 kB / 0.7692 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.6444, allocations: 336.4 kB / 0.7695 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6445, allocations: 34.56 kB / 0.7696 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.6445, allocations: 0 / 0.7696 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002884/0.6473, allocations: 1.531 MB / 0.7711 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.6474, allocations: 55.41 kB / 0.7711 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.6479, allocations: 398 kB / 0.7715 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.6479, allocations: 33.7 kB / 0.7715 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.6481, allocations: 204.6 kB / 0.7717 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.6482, allocations: 122.9 kB / 0.7718 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.6484, allocations: 61.69 kB / 0.7719 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.6486, allocations: 362.7 kB / 0.7722 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.6489, allocations: 143.9 kB / 0.7724 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.6492, allocations: 152.4 kB / 0.7725 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.6497, allocations: 345.1 kB / 0.7728 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6497, allocations: 0 / 0.7728 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009349/0.6507, allocations: 0.5094 MB / 0.7733 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6507, allocations: 4 kB / 0.7733 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.6507, allocations: 8 kB / 0.7734 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.6511, allocations: 120.6 kB / 0.7735 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.6514, allocations: 51.89 kB / 0.7735 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.6543, allocations: 2.33 MB / 0.7758 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.6545, allocations: 8.031 kB / 0.7758 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.6546, allocations: 15.98 kB / 0.7758 GB, free: 15.14 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.0002274/0.6548, allocations: 175.5 kB / 0.776 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.6549, allocations: 43.72 kB / 0.776 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.656, allocations: 0.6623 MB / 0.7767 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.656, allocations: 8.094 kB / 0.7767 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.656, allocations: 4 kB / 0.7767 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.656, allocations: 3.984 kB / 0.7767 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.6566, allocations: 453.2 kB / 0.7771 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6566, allocations: 3.938 kB / 0.7771 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.6568, allocations: 27.97 kB / 0.7772 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.6572, allocations: 124.7 kB / 0.7773 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.6572, allocations: 11.97 kB / 0.7773 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00283/0.66, allocations: 2.341 MB / 0.7796 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.66, allocations: 0 / 0.7796 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.6612, allocations: 0.646 MB / 0.7802 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.6613, allocations: 116.8 kB / 0.7803 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.6614, allocations: 4 kB / 0.7803 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.6615, allocations: 11.98 kB / 0.7803 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.6616, allocations: 15.97 kB / 0.7803 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.6616, allocations: 19.92 kB / 0.7804 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003767/0.662, allocations: 318.9 kB / 0.7807 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.662, allocations: 0 / 0.7807 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005209/0.6625, allocations: 112 kB / 0.7808 GB, free: 9.785 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.0003176/0.6628, allocations: 191.3 kB / 0.781 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.6639, allocations: 0.4943 MB / 0.7814 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6639, allocations: 0 / 0.7814 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.6646, allocations: 358.3 kB / 0.7818 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.6652, allocations: 116.2 kB / 0.7819 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.667, allocations: 0.9548 MB / 0.7828 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.6675, allocations: 0.8348 MB / 0.7836 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.6677, allocations: 99.97 kB / 0.7837 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.6678, allocations: 43.41 kB / 0.7838 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.6678, allocations: 4 kB / 0.7838 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.0144/0.6822, allocations: 7.272 MB / 0.7909 GB, free: 15.39 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/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: 5.990175196900964]