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.001057/0.001057, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008445/0.008445, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6592/0.6592, allocations: 91.33 MB / 382.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004096, allocations: 11 kB / 462.7 MB, free: 23.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 69.21 MB / 0.5195 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.4953/0.6196, allocations: 233.1 MB / 0.7471 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0423/0.662, allocations: 36.64 MB / 0.7829 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.6656, allocations: 123.1 kB / 0.783 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004856/0.6705, allocations: 1.644 MB / 0.7846 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008454/0.6789, allocations: 2.766 MB / 0.7873 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007492/0.6865, allocations: 2.365 MB / 0.7896 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007969/0.6945, allocations: 5.938 MB / 0.7954 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.6965, allocations: 0.9693 MB / 0.7963 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004528/0.701, allocations: 1.801 MB / 0.7981 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/0.7058, allocations: 2.483 MB / 0.8005 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.7069, allocations: 132 kB / 0.8006 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.7175, allocations: 4.328 MB / 0.8049 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.7189, allocations: 0.5676 MB / 0.8054 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002778/0.7217, allocations: 1.521 MB / 0.8069 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.3577/1.079, allocations: 5.153 MB / 0.8119 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.079, allocations: 1.469 kB / 0.8119 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/1.079, allocations: 0 / 0.8119 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001527/1.08, allocations: 0 / 0.8119 GB, free: 11.69 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.01016/1.09, allocations: 3.453 MB / 0.8153 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.09, allocations: 9.031 kB / 0.8153 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/1.091, allocations: 349.4 kB / 0.8157 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/1.095, allocations: 1.844 MB / 0.8175 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/1.095, allocations: 164.7 kB / 0.8176 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005527/1.096, allocations: 241.8 kB / 0.8178 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005699/1.101, allocations: 2.813 MB / 0.8206 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/1.101, allocations: 0 / 0.8206 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/1.102, allocations: 94.95 kB / 0.8207 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.198e-05/1.102, allocations: 64.88 kB / 0.8207 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005229/1.107, allocations: 2.811 MB / 0.8235 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/1.127, allocations: 12.05 MB / 0.8353 GB, free: 18.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004164/1.132, allocations: 2.29 MB / 0.8375 GB, free: 18.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/1.134, allocations: 1.338 MB / 0.8388 GB, free: 18.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/1.148, allocations: 8.728 MB / 0.8473 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/1.148, allocations: 62.62 kB / 0.8474 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=225): time 4.939e-06/1.148, allocations: 0 / 0.8474 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=229): time 0.02113/1.169, allocations: 9.326 MB / 0.8565 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.169, allocations: 161.8 kB / 0.8566 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/1.173, allocations: 1.794 MB / 0.8584 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004656/1.173, allocations: 66.3 kB / 0.8585 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/1.174, allocations: 1.107 MB / 0.8595 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008503/1.175, allocations: 0.7667 MB / 0.8603 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/1.175, allocations: 165.1 kB / 0.8604 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.175, allocations: 304.5 kB / 0.8607 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/1.177, allocations: 0.9002 MB / 0.8616 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/1.179, allocations: 1.198 MB / 0.8628 GB, free: 7.562 MB / 0.6231 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.05307/1.232, allocations: 12.53 MB / 0.875 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.232, allocations: 3.344 kB / 0.875 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007514/1.24, allocations: 3.254 MB / 0.8782 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/1.24, allocations: 9.625 kB / 0.8782 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.24, allocations: 5.875 kB / 0.8782 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/1.242, allocations: 0.8471 MB / 0.879 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.244, allocations: 372.8 kB / 0.8794 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/1.261, allocations: 11.15 MB / 0.8903 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/1.263, allocations: 139.1 kB / 0.8904 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005456/1.264, allocations: 92.61 kB / 0.8905 GB, free: 15.88 MB / 0.6387 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.00159/1.266, allocations: 486.9 kB / 0.891 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007989/1.266, allocations: 257 kB / 0.8912 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00819/1.275, allocations: 4.123 MB / 0.8952 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/1.275, allocations: 22.56 kB / 0.8953 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.871e-05/1.275, allocations: 14.94 kB / 0.8953 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/1.275, allocations: 11.95 kB / 0.8953 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/1.288, allocations: 6.599 MB / 0.9017 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.288, allocations: 4 kB / 0.9017 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.29, allocations: 354 kB / 0.9021 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002546/1.292, allocations: 0.7108 MB / 0.9028 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00038/1.293, allocations: 81.94 kB / 0.9028 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.304, allocations: 9.577 MB / 0.9122 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.305, allocations: 10.91 kB / 0.9122 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/1.315, allocations: 4.894 MB / 0.917 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.316, allocations: 365.5 kB / 0.9173 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009257/1.317, allocations: 56 kB / 0.9174 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.319, allocations: 139.6 kB / 0.9175 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006107/1.32, allocations: 204.8 kB / 0.9177 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003074/1.32, allocations: 87.95 kB / 0.9178 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002323/1.322, allocations: 1.308 MB / 0.9191 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.31e-07/1.322, allocations: 0 / 0.9191 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006246/1.329, allocations: 1.226 MB / 0.9203 GB, free: 11.06 MB / 0.6544 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.003942/1.333, allocations: 1.464 MB / 0.9217 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007842/1.341, allocations: 3.184 MB / 0.9248 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.341, allocations: 0 / 0.9248 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005248/1.346, allocations: 2.172 MB / 0.9269 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007885/1.354, allocations: 0.7917 MB / 0.9277 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.368, allocations: 6.814 MB / 0.9344 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/1.37, allocations: 1.781 MB / 0.9361 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003215/1.373, allocations: 0.6318 MB / 0.9367 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.375, allocations: 231.4 kB / 0.9369 GB, free: 10.17 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/1.375, allocations: 0 / 0.9369 GB, free: 10.17 MB / 0.67 GB Notification: Performance of Templates: time 0.1089/1.483, allocations: 59.49 MB / 0.995 GB, free: 15.51 MB / 0.7325 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