Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6207/0.6207, allocations: 90.29 MB / 394.8 MB, free: 3.906 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.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_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.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_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 83.86 kB / 0.5387 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4247, allocations: 70.82 MB / 0.6078 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.046/1.471, allocations: 0.5614 GB / 1.169 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.5764/2.047, allocations: 48.2 MB / 1.216 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004187/2.052, allocations: 52.09 kB / 1.216 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009733/2.061, allocations: 4.042 MB / 1.22 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.04874/2.11, allocations: 18.72 MB / 1.239 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01659/2.127, allocations: 6.46 MB / 1.245 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01262/2.139, allocations: 7.988 MB / 1.253 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/2.142, allocations: 1.337 MB / 1.254 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009954/2.152, allocations: 4.104 MB / 1.258 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009124/2.161, allocations: 3.828 MB / 1.262 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002457/2.164, allocations: 0.5955 MB / 1.262 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06656/2.23, allocations: 37.27 MB / 1.299 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006005/2.236, allocations: 1.884 MB / 1.301 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008836/2.245, allocations: 3.019 MB / 1.303 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.07251/2.318, allocations: 21.91 MB / 1.325 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/2.318, allocations: 4 kB / 1.325 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.303e-06/2.318, allocations: 0 / 1.325 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003169/2.318, allocations: 0 / 1.325 GB, free: 7.207 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1130 * Number of variables: 1130 Notification: Performance of Generate backend data structure: time 0.02689/2.345, allocations: 9.289 MB / 1.334 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/2.345, allocations: 8.031 kB / 1.334 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/2.346, allocations: 0.5647 MB / 1.335 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/2.351, allocations: 2.517 MB / 1.337 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/2.352, allocations: 321.3 kB / 1.337 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009794/2.352, allocations: 441.5 kB / 1.338 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/2.368, allocations: 7.222 MB / 1.345 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-05/2.368, allocations: 1.188 kB / 1.345 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000599/2.369, allocations: 170.5 kB / 1.345 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006085/2.369, allocations: 419.7 kB / 1.345 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/2.384, allocations: 8.22 MB / 1.353 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04412/2.429, allocations: 27.29 MB / 1.38 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007594/2.436, allocations: 3.892 MB / 1.384 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005759/2.442, allocations: 3.164 MB / 1.387 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00902/2.451, allocations: 8.104 MB / 1.395 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/2.451, allocations: 86.55 kB / 1.395 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=475): time 1.186e-05/2.451, allocations: 0 / 1.395 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=479): time 0.04345/2.495, allocations: 19.8 MB / 1.414 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/2.495, allocations: 128 kB / 1.414 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/2.498, allocations: 2.121 MB / 1.416 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/2.499, allocations: 98.78 kB / 1.417 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001394/2.501, allocations: 1.548 MB / 1.418 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.002475/2.503, allocations: 1.677 MB / 1.42 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/2.505, allocations: 0.7488 MB / 1.42 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001828/2.505, allocations: 305.1 kB / 1.421 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004413/2.509, allocations: 2.545 MB / 1.423 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005265/2.515, allocations: 2.811 MB / 1.426 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/2.526, allocations: 5.789 MB / 1.432 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/2.526, allocations: 0 / 1.432 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.0176/2.544, allocations: 7.38 MB / 1.439 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/2.544, allocations: 8 kB / 1.439 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/2.544, allocations: 0 / 1.439 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007324/2.551, allocations: 1.757 MB / 1.44 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/2.555, allocations: 0.7044 MB / 1.441 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/2.571, allocations: 12.22 MB / 1.453 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/2.574, allocations: 117.4 kB / 1.453 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009736/2.575, allocations: 265.6 kB / 1.453 GB, free: 4.562 MB / 0.9981 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 (404): * Single equations (assignments): 367 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,4), (2,4), (2,4), (1,5), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002681/2.578, allocations: 1.136 MB / 1.455 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/2.579, allocations: 365.7 kB / 1.455 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02292/2.602, allocations: 10.9 MB / 1.466 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000176/2.602, allocations: 51.94 kB / 1.466 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/2.602, allocations: 8 kB / 1.466 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-05/2.602, allocations: 23.91 kB / 1.466 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03238/2.635, allocations: 14.8 MB / 1.48 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/2.635, allocations: 0 / 1.48 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/2.638, allocations: 0.6874 MB / 1.481 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00746/2.645, allocations: 1.778 MB / 1.483 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/2.646, allocations: 178.5 kB / 1.483 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/2.663, allocations: 12.23 MB / 1.495 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/2.663, allocations: 3.219 kB / 1.495 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0241/2.687, allocations: 11.58 MB / 1.506 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/2.688, allocations: 430.6 kB / 1.506 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/2.69, allocations: 89.23 kB / 1.506 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002674/2.692, allocations: 115.9 kB / 1.507 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/2.693, allocations: 364.1 kB / 1.507 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008439/2.694, allocations: 258 kB / 1.507 GB, free: 13.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002861/2.697, allocations: 1.549 MB / 1.509 GB, free: 11.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/2.697, allocations: 0 / 1.509 GB, free: 11.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01189/2.709, allocations: 3.518 MB / 1.512 GB, free: 8.406 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.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 (400): * Single equations (assignments): 363 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (2,4), (2,4), (1,5), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01119/2.72, allocations: 4.066 MB / 1.516 GB, free: 4.695 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01465/2.735, allocations: 6.788 MB / 1.523 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/2.735, allocations: 0 / 1.523 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.008265/2.743, allocations: 3.861 MB / 1.526 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007782/2.751, allocations: 1.531 MB / 1.528 GB, free: 8.691 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/2.771, allocations: 10.17 MB / 1.538 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/2.774, allocations: 2.937 MB / 1.541 GB, free: 11.53 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.006442/2.78, allocations: 2.765 MB / 1.543 GB, free: 8.938 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/2.782, allocations: 443.2 kB / 1.544 GB, free: 8.504 MB / 1.092 GB Notification: Performance of SimCode: time 9.32e-07/2.782, allocations: 0 / 1.544 GB, free: 8.504 MB / 1.092 GB Notification: Performance of Templates: time 0.4838/3.266, allocations: 148.7 MB / 1.689 GB, free: 0.5601 GB / 1.123 GB " [Timeout remaining time 657] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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: 14.656284553930163]