Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.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.001769/0.001769, allocations: 80.59 kB / 19.76 MB, free: 1.898 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.001774/0.001774, allocations: 160.2 kB / 23.01 MB, free: 4.578 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.342/1.342, allocations: 177.2 MB / 203.4 MB, free: 9.258 MB / 190.1 MB " [Timeout remaining time 179] 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.7133/0.7133, allocations: 79.6 MB / 339.4 MB, free: 11.55 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: translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") [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.002492/0.002492, allocations: 94.81 kB / 0.4924 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1124, allocations: 74.59 MB / 0.5652 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6372/0.7496, allocations: 319 MB / 0.8767 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04414/0.7938, allocations: 34.93 MB / 0.9108 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.7957, allocations: 103.1 kB / 0.9109 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004817/0.8006, allocations: 1.733 MB / 0.9126 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02283/0.8234, allocations: 8.716 MB / 0.9211 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.8345, allocations: 4.292 MB / 0.9253 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005586/0.84, allocations: 4.031 MB / 0.9292 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.8411, allocations: 0.6295 MB / 0.9298 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008639/0.8498, allocations: 3.396 MB / 0.9332 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.8526, allocations: 1.747 MB / 0.9349 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.8531, allocations: 240 kB / 0.9351 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02502/0.8781, allocations: 13.62 MB / 0.9484 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.8794, allocations: 0.8643 MB / 0.9492 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.8812, allocations: 1.19 MB / 0.9504 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.903, allocations: 9.655 MB / 0.9598 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.903, allocations: 0 / 0.9598 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.903, allocations: 0 / 0.9598 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.76e-05/0.903, allocations: 0 / 0.9598 GB, free: 15.14 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01027/0.9133, allocations: 4.588 MB / 0.9643 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.9133, allocations: 8.031 kB / 0.9643 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.9147, allocations: 366 kB / 0.9647 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.9176, allocations: 1.582 MB / 0.9662 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.9177, allocations: 139.7 kB / 0.9663 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.9181, allocations: 203.9 kB / 0.9665 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004739/0.9228, allocations: 3.12 MB / 0.9696 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.9229, allocations: 1.125 kB / 0.9696 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.923, allocations: 75.97 kB / 0.9697 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.9233, allocations: 187.8 kB / 0.9698 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00489/0.9282, allocations: 3.439 MB / 0.9732 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.9402, allocations: 6.738 MB / 0.9798 GB, free: 10.51 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.9428, allocations: 1.482 MB / 0.9812 GB, free: 9.012 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.9447, allocations: 1.271 MB / 0.9825 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.9459, allocations: 0.4898 MB / 0.9829 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.946, allocations: 52.56 kB / 0.983 GB, free: 7.184 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 5.199e-06/0.946, allocations: 0 / 0.983 GB, free: 7.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01482/0.9608, allocations: 7.794 MB / 0.9906 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.9609, allocations: 107 kB / 0.9907 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.9628, allocations: 1.3 MB / 0.992 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.9629, allocations: 53.7 kB / 0.992 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.9636, allocations: 0.931 MB / 0.9929 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006317/0.9643, allocations: 0.7087 MB / 0.9936 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005981/0.9649, allocations: 343.5 kB / 0.994 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.965, allocations: 305.1 kB / 0.9942 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.9666, allocations: 1.027 MB / 0.9952 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.9684, allocations: 1.155 MB / 0.9964 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.9722, allocations: 2.341 MB / 0.9987 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.9722, allocations: 0 / 0.9987 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005447/0.9776, allocations: 3.043 MB / 1.002 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.9776, allocations: 8 kB / 1.002 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9777, allocations: 7.938 kB / 1.002 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.9791, allocations: 469.2 kB / 1.002 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.9804, allocations: 335.5 kB / 1.002 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2811/1.261, allocations: 5.985 MB / 1.008 GB, free: 336.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.263, allocations: 44.86 kB / 1.008 GB, free: 336.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/1.263, allocations: 117.6 kB / 1.008 GB, free: 336.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (172): * Single equations (assignments): 160 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009589/1.264, allocations: 0.5236 MB / 1.009 GB, free: 336.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/1.265, allocations: 199 kB / 1.009 GB, free: 336.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006828/1.271, allocations: 4.55 MB / 1.014 GB, free: 335.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/1.271, allocations: 19.12 kB / 1.014 GB, free: 335.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.271, allocations: 6.5 kB / 1.014 GB, free: 335.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/1.271, allocations: 8.156 kB / 1.014 GB, free: 335.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008941/1.28, allocations: 5.5 MB / 1.019 GB, free: 332.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.28, allocations: 1.75 kB / 1.019 GB, free: 332.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.282, allocations: 285.7 kB / 1.019 GB, free: 332.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/1.283, allocations: 495.1 kB / 1.02 GB, free: 332.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/1.283, allocations: 77.16 kB / 1.02 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006648/1.29, allocations: 6.002 MB / 1.026 GB, free: 328.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.29, allocations: 6.375 kB / 1.026 GB, free: 328.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/1.296, allocations: 4.714 MB / 1.03 GB, free: 326.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/1.297, allocations: 177.4 kB / 1.03 GB, free: 326.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/1.297, allocations: 48.42 kB / 1.03 GB, free: 326.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/1.298, allocations: 45.77 kB / 1.031 GB, free: 326.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.298, allocations: 179.9 kB / 1.031 GB, free: 326.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/1.298, allocations: 98.39 kB / 1.031 GB, free: 326.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001093/1.3, allocations: 1.001 MB / 1.032 GB, free: 325.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.3, allocations: 3.969 kB / 1.032 GB, free: 325.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003617/1.303, allocations: 1.601 MB / 1.033 GB, free: 325.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.inlet.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 (150): * Single equations (assignments): 138 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003236/1.306, allocations: 1.929 MB / 1.035 GB, free: 325.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003952/1.31, allocations: 2.945 MB / 1.038 GB, free: 324.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.31, allocations: 0 / 1.038 GB, free: 324.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.313, allocations: 1.772 MB / 1.04 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.315, allocations: 0.7199 MB / 1.041 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/1.322, allocations: 5.034 MB / 1.045 GB, free: 319 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/1.323, allocations: 1.186 MB / 1.047 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002137/1.325, allocations: 1.26 MB / 1.048 GB, free: 316.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/1.325, allocations: 220.4 kB / 1.048 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of SimCode: time 1.222e-06/1.325, allocations: 0 / 1.048 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.07408/1.399, allocations: 68.14 MB / 1.115 GB, free: 249.1 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.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: 8.805346155073494]