Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 97.64 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.004996/0.004996, allocations: 170.1 kB / 16.27 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.179/1.179, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5417/0.5417, allocations: 89.65 MB / 381.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 9.938 kB / 460.8 MB, free: 24.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.09537, allocations: 68.82 MB / 0.5172 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3809/0.4763, allocations: 221.1 MB / 0.733 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0297/0.506, allocations: 30.59 MB / 0.7629 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.5082, allocations: 51.69 kB / 0.763 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.5117, allocations: 1.524 MB / 0.7645 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.517, allocations: 2.265 MB / 0.7667 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.5223, allocations: 2.325 MB / 0.7689 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005353/0.5277, allocations: 5.108 MB / 0.7739 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.529, allocations: 0.8728 MB / 0.7748 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.5322, allocations: 1.785 MB / 0.7765 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.535, allocations: 2.024 MB / 0.7785 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.5354, allocations: 104 kB / 0.7786 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006434/0.5418, allocations: 3.567 MB / 0.7821 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.5423, allocations: 421.9 kB / 0.7825 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.5437, allocations: 1.23 MB / 0.7837 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.5493, allocations: 4.186 MB / 0.7878 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5493, allocations: 0 / 0.7878 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5493, allocations: 0 / 0.7878 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.752e-05/0.5494, allocations: 0 / 0.7878 GB, free: 5.41 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.005057/0.5545, allocations: 2.607 MB / 0.7903 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.5545, allocations: 12.03 kB / 0.7903 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003791/0.5549, allocations: 291.7 kB / 0.7906 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.5553, allocations: 269.8 kB / 0.7909 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.5568, allocations: 1.168 MB / 0.792 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/0.5569, allocations: 160.1 kB / 0.7922 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.5572, allocations: 215.9 kB / 0.7924 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/0.5607, allocations: 2.491 MB / 0.7948 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.5608, allocations: 0 / 0.7948 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.5609, allocations: 91.94 kB / 0.7949 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.561, allocations: 52 kB / 0.7949 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.5643, allocations: 2.242 MB / 0.7971 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1967/0.761, allocations: 11.09 MB / 0.808 GB, free: 226.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/0.7646, allocations: 1.771 MB / 0.8097 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.7662, allocations: 0.9158 MB / 0.8106 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006812/0.7731, allocations: 6.566 MB / 0.817 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001601/0.7747, allocations: 1.055 MB / 0.818 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=183): time 5.22e-06/0.7747, allocations: 0 / 0.818 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184): time 0.009316/0.784, allocations: 5.9 MB / 0.8238 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.7841, allocations: 98.75 kB / 0.8239 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.7854, allocations: 1.314 MB / 0.8252 GB, free: 217 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.7855, allocations: 61.33 kB / 0.8252 GB, free: 216.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.7859, allocations: 0.8126 MB / 0.826 GB, free: 216.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.7863, allocations: 0.6212 MB / 0.8266 GB, free: 215.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.7864, allocations: 129.2 kB / 0.8267 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.7865, allocations: 301.1 kB / 0.827 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.7875, allocations: 0.6807 MB / 0.8277 GB, free: 215.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.7887, allocations: 0.8665 MB / 0.8285 GB, free: 214.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.7911, allocations: 1.688 MB / 0.8302 GB, free: 213.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7911, allocations: 0 / 0.8302 GB, free: 213.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004259/0.7953, allocations: 2.515 MB / 0.8326 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.7954, allocations: 38.31 kB / 0.8327 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7954, allocations: 6.656 kB / 0.8327 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.7972, allocations: 0.619 MB / 0.8333 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.7983, allocations: 302.6 kB / 0.8336 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.8101, allocations: 15.14 MB / 0.8484 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.8112, allocations: 157.6 kB / 0.8485 GB, free: 199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.8114, allocations: 74.38 kB / 0.8486 GB, free: 199 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006207/0.812, allocations: 398.3 kB / 0.849 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.8122, allocations: 190.4 kB / 0.8491 GB, free: 198.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005148/0.8174, allocations: 3.434 MB / 0.8525 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.8174, allocations: 19.84 kB / 0.8525 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8174, allocations: 9.75 kB / 0.8525 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.8174, allocations: 11.56 kB / 0.8525 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/0.8235, allocations: 5.023 MB / 0.8574 GB, free: 194 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.8236, allocations: 0 / 0.8574 GB, free: 194 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/0.8244, allocations: 296.8 kB / 0.8577 GB, free: 194 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.8258, allocations: 0.5308 MB / 0.8582 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.8259, allocations: 71.73 kB / 0.8583 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/0.8332, allocations: 14.08 MB / 0.8721 GB, free: 179.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8332, allocations: 3.5 kB / 0.8721 GB, free: 179.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.838, allocations: 3.665 MB / 0.8756 GB, free: 177.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.8382, allocations: 308.9 kB / 0.8759 GB, free: 177.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.8384, allocations: 39.38 kB / 0.876 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/0.8394, allocations: 125.5 kB / 0.8761 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.8396, allocations: 162.8 kB / 0.8763 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.8397, allocations: 79.39 kB / 0.8763 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008577/0.8406, allocations: 0.9738 MB / 0.8773 GB, free: 176.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.72e-07/0.8406, allocations: 0.875 kB / 0.8773 GB, free: 176.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001773/0.8424, allocations: 0.8865 MB / 0.8782 GB, free: 175.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00569/0.8481, allocations: 5.215 MB / 0.8832 GB, free: 170.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003305/0.8514, allocations: 3.091 MB / 0.8863 GB, free: 167.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8514, allocations: 0 / 0.8863 GB, free: 167.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.8536, allocations: 2.267 MB / 0.8885 GB, free: 165.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.8568, allocations: 0.74 MB / 0.8892 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.877, allocations: 19.87 MB / 0.9086 GB, free: 143.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.8777, allocations: 1.487 MB / 0.91 GB, free: 141.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001115/0.8788, allocations: 461.3 kB / 0.9105 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007779/0.8796, allocations: 0.8937 MB / 0.9114 GB, free: 140.3 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.8796, allocations: 4 kB / 0.9114 GB, free: 140.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.996/3.876, allocations: 66.88 MB / 0.9767 GB, free: 73.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/3.876, allocations: 238.3 kB / 0.9769 GB, free: 73.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.299/8.175, allocations: 3.938 kB / 0.9769 GB, free: 73.61 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches