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.000787/0.000787, allocations: 83.22 kB / 16.01 MB, free: 92 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008732/0.0008732, allocations: 184.8 kB / 16.92 MB, free: 6.281 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.303/1.303, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6064/0.6064, allocations: 89.64 MB / 381.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 14.97 kB / 461.3 MB, free: 24.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 68.82 MB / 0.5177 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.4588/0.5636, allocations: 232.3 MB / 0.7446 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04127/0.6049, allocations: 36.4 MB / 0.7801 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.6078, allocations: 47.75 kB / 0.7802 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004525/0.6123, allocations: 1.633 MB / 0.7818 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007652/0.62, allocations: 2.673 MB / 0.7844 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007093/0.6271, allocations: 2.36 MB / 0.7867 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006772/0.6339, allocations: 5.646 MB / 0.7922 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.6358, allocations: 0.9172 MB / 0.7931 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.6391, allocations: 1.654 MB / 0.7947 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.6429, allocations: 2.418 MB / 0.7971 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007967/0.6437, allocations: 136 kB / 0.7972 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009623/0.6534, allocations: 4.332 MB / 0.8014 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.6545, allocations: 0.5406 MB / 0.802 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002537/0.657, allocations: 1.424 MB / 0.8034 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006177/0.6632, allocations: 3.78 MB / 0.807 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6632, allocations: 4 kB / 0.807 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6632, allocations: 3.984 kB / 0.8071 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001127/0.6634, allocations: 0 / 0.8071 GB, free: 2.23 MB / 0.6075 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.2225/0.8859, allocations: 3.118 MB / 0.8101 GB, free: 228.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8859, allocations: 10.5 kB / 0.8101 GB, free: 228.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009157/0.8869, allocations: 295.1 kB / 0.8104 GB, free: 228 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.8897, allocations: 1.412 MB / 0.8118 GB, free: 227.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.8899, allocations: 169.5 kB / 0.8119 GB, free: 227.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006582/0.8906, allocations: 240.9 kB / 0.8122 GB, free: 227.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/0.8962, allocations: 2.813 MB / 0.8149 GB, free: 226.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.8963, allocations: 1.031 kB / 0.8149 GB, free: 226.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.8965, allocations: 97.62 kB / 0.815 GB, free: 226.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.588e-05/0.8966, allocations: 66.17 kB / 0.8151 GB, free: 226.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/0.9006, allocations: 2.804 MB / 0.8178 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.9133, allocations: 11.94 MB / 0.8295 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.9165, allocations: 2.286 MB / 0.8317 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.9182, allocations: 1.334 MB / 0.833 GB, free: 215.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009073/0.9273, allocations: 8.741 MB / 0.8415 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.9274, allocations: 56 kB / 0.8416 GB, free: 207.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 3.958e-06/0.9274, allocations: 3.969 kB / 0.8416 GB, free: 207.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.01562/0.943, allocations: 9.018 MB / 0.8504 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.9431, allocations: 156.8 kB / 0.8505 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.9449, allocations: 1.436 MB / 0.852 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.9451, allocations: 61.64 kB / 0.852 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.9455, allocations: 0.9338 MB / 0.8529 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.946, allocations: 0.772 MB / 0.8537 GB, free: 199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.9462, allocations: 165.2 kB / 0.8538 GB, free: 198.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.375e-05/0.9462, allocations: 301.1 kB / 0.8541 GB, free: 198.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.9475, allocations: 0.896 MB / 0.855 GB, free: 198.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.9488, allocations: 1.2 MB / 0.8562 GB, free: 197.4 MB / 0.6075 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.04943/0.9983, allocations: 12.54 MB / 0.8684 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.9983, allocations: 4 kB / 0.8684 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005935/1.004, allocations: 3.202 MB / 0.8715 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.004, allocations: 8 kB / 0.8715 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.004, allocations: 4.844 kB / 0.8716 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/1.007, allocations: 0.8448 MB / 0.8724 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.008, allocations: 373.5 kB / 0.8727 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/1.023, allocations: 11.15 MB / 0.8836 GB, free: 172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.025, allocations: 135.8 kB / 0.8838 GB, free: 171.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/1.025, allocations: 95.97 kB / 0.8838 GB, free: 171.8 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: 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.001171/1.026, allocations: 478.1 kB / 0.8843 GB, free: 171.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/1.027, allocations: 201.5 kB / 0.8845 GB, free: 171.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006851/1.034, allocations: 4.086 MB / 0.8885 GB, free: 167 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.034, allocations: 24 kB / 0.8885 GB, free: 167 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/1.034, allocations: 12 kB / 0.8885 GB, free: 167 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/1.034, allocations: 11.95 kB / 0.8885 GB, free: 167 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009929/1.044, allocations: 6.476 MB / 0.8949 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.044, allocations: 4 kB / 0.8949 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.045, allocations: 351.5 kB / 0.8952 GB, free: 160.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/1.047, allocations: 0.7135 MB / 0.8959 GB, free: 159.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/1.048, allocations: 79.95 kB / 0.896 GB, free: 159.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009114/1.057, allocations: 9.608 MB / 0.9053 GB, free: 149.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.057, allocations: 7.938 kB / 0.9054 GB, free: 149.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00728/1.064, allocations: 4.855 MB / 0.9101 GB, free: 144.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007941/1.065, allocations: 322.2 kB / 0.9104 GB, free: 143.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000584/1.066, allocations: 59.98 kB / 0.9105 GB, free: 143.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.067, allocations: 131.8 kB / 0.9106 GB, free: 143.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/1.068, allocations: 196.9 kB / 0.9108 GB, free: 143.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.068, allocations: 91.95 kB / 0.9109 GB, free: 143.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001417/1.069, allocations: 1.078 MB / 0.9119 GB, free: 142.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/1.069, allocations: 0 / 0.9119 GB, free: 142.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003513/1.073, allocations: 1.218 MB / 0.9131 GB, free: 141.2 MB / 0.6075 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.002133/1.075, allocations: 1.47 MB / 0.9145 GB, free: 139.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004804/1.08, allocations: 3.207 MB / 0.9177 GB, free: 136.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.08, allocations: 3.938 kB / 0.9177 GB, free: 136.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/1.083, allocations: 2.141 MB / 0.9198 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005569/1.088, allocations: 0.761 MB / 0.9205 GB, free: 133.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/1.097, allocations: 6.304 MB / 0.9267 GB, free: 127.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.098, allocations: 1.641 MB / 0.9283 GB, free: 125.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009246/1.099, allocations: 219.4 kB / 0.9285 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/1.099, allocations: 0 / 0.9285 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.0744/1.174, allocations: 85.88 MB / 1.012 GB, free: 39.6 MB / 0.6075 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches