Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009291/0.009292, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002298/0.002298, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7195/0.7195, allocations: 91.19 MB / 381.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 76.16 kB / 0.5169 GB, free: 8.977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1283, allocations: 67.69 MB / 0.583 GB, free: 5.199 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5287/0.6571, allocations: 235.9 MB / 0.8134 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4441/1.101, allocations: 36.57 MB / 0.8491 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/1.105, allocations: 99.84 kB / 0.8492 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005366/1.11, allocations: 1.845 MB / 0.851 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009596/1.12, allocations: 3.055 MB / 0.854 GB, free: 1.086 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007992/1.128, allocations: 2.736 MB / 0.8567 GB, free: 1.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008272/1.136, allocations: 4.932 MB / 0.8615 GB, free: 1.012 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/1.139, allocations: 1.099 MB / 0.8625 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006308/1.145, allocations: 2.139 MB / 0.8646 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006361/1.151, allocations: 2.658 MB / 0.8672 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00173/1.153, allocations: 306.7 kB / 0.8675 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01517/1.168, allocations: 4.499 MB / 0.8719 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00186/1.17, allocations: 0.7566 MB / 0.8727 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00618/1.176, allocations: 1.713 MB / 0.8743 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01649/1.193, allocations: 5.573 MB / 0.8798 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.193, allocations: 1.375 kB / 0.8798 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.054e-06/1.193, allocations: 0 / 0.8798 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001921/1.193, allocations: 0.9688 kB / 0.8798 GB, free: 15.5 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.01217/1.205, allocations: 3.996 MB / 0.8837 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.205, allocations: 9.875 kB / 0.8837 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/1.207, allocations: 347.2 kB / 0.884 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/1.21, allocations: 1.991 MB / 0.886 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.21, allocations: 165.8 kB / 0.8861 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/1.211, allocations: 241.3 kB / 0.8863 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004676/1.215, allocations: 2.813 MB / 0.8891 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/1.215, allocations: 8.719 kB / 0.8891 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/1.216, allocations: 93.28 kB / 0.8892 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/1.216, allocations: 64.06 kB / 0.8893 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/1.22, allocations: 2.805 MB / 0.892 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/1.234, allocations: 12 MB / 0.9037 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/1.238, allocations: 2.3 MB / 0.906 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.239, allocations: 1.341 MB / 0.9073 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/1.249, allocations: 8.726 MB / 0.9158 GB, free: 356 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/1.249, allocations: 58.81 kB / 0.9158 GB, free: 316 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=225): time 4.869e-06/1.249, allocations: 0 / 0.9158 GB, free: 316 kB / 0.6856 GB Notification: Performance of matching and sorting (n=229): time 0.01657/1.266, allocations: 9.33 MB / 0.925 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/1.266, allocations: 159.2 kB / 0.9251 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/1.268, allocations: 1.795 MB / 0.9269 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/1.269, allocations: 62.64 kB / 0.9269 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/1.269, allocations: 1.115 MB / 0.928 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006185/1.27, allocations: 0.776 MB / 0.9288 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/1.271, allocations: 372.1 kB / 0.9291 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.271, allocations: 305.9 kB / 0.9294 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/1.272, allocations: 0.8931 MB / 0.9303 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/1.274, allocations: 1.199 MB / 0.9315 GB, free: 10.28 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance4.m_flow = flowResistance4.m_flow_0 (flowResistance7.m_flow_0 - flowResistance5.m_flow_0 = flowResistance4.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance10.m_flow = flowResistance10.m_flow_0 (flowResistance6.m_flow_0 - flowResistance11.m_flow_0 = flowResistance10.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance8.m_flow = flowResistance8.m_flow_0 (flowResistance3.m_flow_0 - flowResistance9.m_flow_0 = flowResistance8.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance.m_flow = flowResistance.m_flow_0 (flowResistance2.m_flow_0 - flowResistance1.m_flow_0 = flowResistance.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04942/1.323, allocations: 11.44 MB / 0.9426 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/1.323, allocations: 0 / 0.9426 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007983/1.331, allocations: 3.267 MB / 0.9458 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.331, allocations: 8 kB / 0.9458 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.331, allocations: 12.06 kB / 0.9458 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/1.334, allocations: 0.8313 MB / 0.9466 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/1.336, allocations: 373.7 kB / 0.947 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.354, allocations: 11.89 MB / 0.9586 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/1.356, allocations: 75.94 kB / 0.9587 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005304/1.356, allocations: 91.97 kB / 0.9588 GB, free: 1.406 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: flowResistance4.m_flow = flowResistance4.m_flow_0 flowResistance10.m_flow = flowResistance10.m_flow_0 flowResistance8.m_flow = flowResistance8.m_flow_0 flowResistance.m_flow = flowResistance.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,9,77.8%), (3,22,77.8%), (3,19,77.8%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001473/1.358, allocations: 495.5 kB / 0.9592 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.359, allocations: 248.8 kB / 0.9595 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008507/1.367, allocations: 4.115 MB / 0.9635 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/1.367, allocations: 24 kB / 0.9635 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-05/1.367, allocations: 12 kB / 0.9635 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-05/1.368, allocations: 11.95 kB / 0.9635 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/1.381, allocations: 6.567 MB / 0.97 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.381, allocations: 4.547 kB / 0.97 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/1.383, allocations: 353.5 kB / 0.9703 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/1.385, allocations: 0.7104 MB / 0.971 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003548/1.386, allocations: 83.95 kB / 0.9711 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/1.399, allocations: 10.45 MB / 0.9813 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/1.399, allocations: 6.531 kB / 0.9813 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009718/1.408, allocations: 4.909 MB / 0.9861 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/1.409, allocations: 333.6 kB / 0.9864 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007479/1.41, allocations: 52.38 kB / 0.9865 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.412, allocations: 67.95 kB / 0.9865 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/1.412, allocations: 200.1 kB / 0.9867 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/1.413, allocations: 87.95 kB / 0.9868 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002246/1.415, allocations: 1.308 MB / 0.9881 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.415, allocations: 3.938 kB / 0.9881 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004186/1.419, allocations: 1.222 MB / 0.9893 GB, free: 1.723 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.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 (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,19,77.8%), (3,22,77.8%), (3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002619/1.422, allocations: 1.367 MB / 0.9906 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005858/1.428, allocations: 3.232 MB / 0.9938 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/1.428, allocations: 4 kB / 0.9938 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003653/1.431, allocations: 2.144 MB / 0.9959 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.436, allocations: 0.866 MB / 0.9967 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.446, allocations: 5.475 MB / 1.002 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/1.448, allocations: 1.786 MB / 1.004 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002278/1.45, allocations: 0.6255 MB / 1.004 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007971/1.451, allocations: 231.4 kB / 1.005 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of SimCode: time 6.82e-07/1.451, allocations: 0 / 1.005 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of Templates: time 0.09925/1.55, allocations: 62.54 MB / 1.066 GB, free: 4.219 MB / 0.8262 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches