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.001508/0.001508, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001701/0.001701, allocations: 155.7 kB / 23.01 MB, free: 4.605 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.349/1.349, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.7032/0.7032, allocations: 79.61 MB / 339.4 MB, free: 11.45 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.002406/0.002406, allocations: 85.09 kB / 0.4924 GB, free: 25.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1167, allocations: 74.59 MB / 0.5652 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6375/0.7542, allocations: 319.4 MB / 0.8771 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04656/0.8008, allocations: 34.98 MB / 0.9112 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.8028, allocations: 111 kB / 0.9114 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004948/0.8077, allocations: 1.733 MB / 0.913 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02241/0.8301, allocations: 8.709 MB / 0.9216 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.8419, allocations: 4.303 MB / 0.9258 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006013/0.8479, allocations: 4.02 MB / 0.9297 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.8491, allocations: 0.6295 MB / 0.9303 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.8547, allocations: 2.729 MB / 0.933 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.8578, allocations: 1.751 MB / 0.9347 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006005/0.8584, allocations: 247.9 kB / 0.9349 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02663/0.885, allocations: 13.61 MB / 0.9482 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.8864, allocations: 0.8644 MB / 0.949 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.8882, allocations: 1.19 MB / 0.9502 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0259/0.9141, allocations: 9.655 MB / 0.9596 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.9142, allocations: 4 kB / 0.9596 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9142, allocations: 0 / 0.9596 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.487e-05/0.9142, allocations: 0 / 0.9596 GB, free: 15.17 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.01136/0.9256, allocations: 4.585 MB / 0.9641 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9256, allocations: 13.47 kB / 0.9641 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.9271, allocations: 366 kB / 0.9645 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/0.9302, allocations: 1.578 MB / 0.966 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.9303, allocations: 143.7 kB / 0.9662 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.9306, allocations: 195.8 kB / 0.9663 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/0.9355, allocations: 3.139 MB / 0.9694 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.9355, allocations: 0 / 0.9694 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.9357, allocations: 75.98 kB / 0.9695 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.936, allocations: 179.9 kB / 0.9696 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00512/0.9411, allocations: 3.439 MB / 0.973 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.9537, allocations: 6.731 MB / 0.9796 GB, free: 10.54 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.9564, allocations: 1.486 MB / 0.981 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.9583, allocations: 1.277 MB / 0.9823 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.9596, allocations: 489.5 kB / 0.9827 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.9597, allocations: 56.56 kB / 0.9828 GB, free: 7.215 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 4.548e-06/0.9597, allocations: 4 kB / 0.9828 GB, free: 7.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01498/0.9746, allocations: 7.794 MB / 0.9904 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.9747, allocations: 99.11 kB / 0.9905 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.9765, allocations: 1.3 MB / 0.9918 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.9767, allocations: 61.7 kB / 0.9918 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007279/0.9774, allocations: 0.9271 MB / 0.9927 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006559/0.9781, allocations: 0.7048 MB / 0.9934 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/0.9786, allocations: 347.5 kB / 0.9938 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9788, allocations: 305.1 kB / 0.9941 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.9804, allocations: 1.028 MB / 0.9951 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.9822, allocations: 1.155 MB / 0.9962 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.9858, allocations: 2.345 MB / 0.9985 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.9858, allocations: 3.938 kB / 0.9985 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005477/0.9913, allocations: 3.039 MB / 1.001 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.9913, allocations: 4 kB / 1.001 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.9914, allocations: 7.938 kB / 1.001 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.9928, allocations: 477.3 kB / 1.002 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.9941, allocations: 328.5 kB / 1.002 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2537/1.248, allocations: 5.98 MB / 1.008 GB, free: 336.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.249, allocations: 47.11 kB / 1.008 GB, free: 336.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/1.249, allocations: 112.1 kB / 1.008 GB, free: 336.2 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.0009864/1.25, allocations: 0.5223 MB / 1.009 GB, free: 336.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/1.251, allocations: 201.5 kB / 1.009 GB, free: 336.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006563/1.257, allocations: 4.544 MB / 1.013 GB, free: 334.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/1.258, allocations: 20.84 kB / 1.013 GB, free: 334.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.258, allocations: 5.594 kB / 1.013 GB, free: 334.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/1.258, allocations: 12.53 kB / 1.013 GB, free: 334.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008581/1.266, allocations: 5.496 MB / 1.019 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.266, allocations: 4.969 kB / 1.019 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.267, allocations: 283.3 kB / 1.019 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/1.269, allocations: 0.4946 MB / 1.02 GB, free: 332.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/1.269, allocations: 74.47 kB / 1.02 GB, free: 332.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006366/1.275, allocations: 6.001 MB / 1.025 GB, free: 328.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.275, allocations: 8.906 kB / 1.025 GB, free: 328.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/1.281, allocations: 4.709 MB / 1.03 GB, free: 326.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/1.282, allocations: 189.5 kB / 1.03 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/1.282, allocations: 47.58 kB / 1.03 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008731/1.283, allocations: 40.08 kB / 1.03 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/1.283, allocations: 171 kB / 1.03 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.283, allocations: 109.7 kB / 1.031 GB, free: 326 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001051/1.284, allocations: 0.9965 MB / 1.032 GB, free: 325.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.284, allocations: 3.312 kB / 1.032 GB, free: 325.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003781/1.288, allocations: 1.603 MB / 1.033 GB, free: 325.4 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.003037/1.291, allocations: 1.912 MB / 1.035 GB, free: 325.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003776/1.295, allocations: 2.954 MB / 1.038 GB, free: 324 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.295, allocations: 0 / 1.038 GB, free: 324 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/1.297, allocations: 1.774 MB / 1.04 GB, free: 323.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.3, allocations: 0.7132 MB / 1.04 GB, free: 323 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006149/1.306, allocations: 5.04 MB / 1.045 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/1.307, allocations: 1.187 MB / 1.046 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002056/1.309, allocations: 1.262 MB / 1.048 GB, free: 316.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/1.31, allocations: 220.4 kB / 1.048 GB, free: 316.3 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/1.31, allocations: 0 / 1.048 GB, free: 316.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.07332/1.383, allocations: 68.14 MB / 1.114 GB, free: 248.9 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 ida -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: 11.700011334964074]