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.002632/0.002633, allocations: 108 kB / 15.61 MB, free: 148 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.001941/0.001942, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.064/2.064, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.123/1.123, allocations: 91.2 MB / 381.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 81.38 kB / 460.4 MB, free: 23.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2849, allocations: 67.69 MB / 0.5157 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 1.119/1.404, allocations: 225 MB / 0.7355 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.05992/1.464, allocations: 30.88 MB / 0.7656 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008603/1.472, allocations: 135.1 kB / 0.7657 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009013/1.482, allocations: 1.74 MB / 0.7674 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01534/1.497, allocations: 2.621 MB / 0.77 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01709/1.514, allocations: 2.588 MB / 0.7725 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02308/1.537, allocations: 4.713 MB / 0.7771 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007962/1.545, allocations: 1.041 MB / 0.7781 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01817/1.564, allocations: 2.315 MB / 0.7804 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01287/1.577, allocations: 2.292 MB / 0.7826 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002263/1.579, allocations: 268 kB / 0.7829 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01852/1.598, allocations: 3.72 MB / 0.7865 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002137/1.6, allocations: 0.6187 MB / 0.7871 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007818/1.608, allocations: 1.555 MB / 0.7887 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02029/1.628, allocations: 4.802 MB / 0.7933 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.973e-05/1.628, allocations: 4 kB / 0.7933 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.809e-06/1.628, allocations: 7.938 kB / 0.7934 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001202/1.628, allocations: 0 / 0.7934 GB, free: 2.98 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.01247/1.641, allocations: 3.54 MB / 0.7968 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.803e-05/1.641, allocations: 8.031 kB / 0.7968 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000429/1.641, allocations: 291.7 kB / 0.7971 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/1.642, allocations: 329 kB / 0.7974 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/1.648, allocations: 1.8 MB / 0.7992 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/1.648, allocations: 156.2 kB / 0.7993 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006904/1.649, allocations: 223.8 kB / 0.7995 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/1.655, allocations: 2.468 MB / 0.8019 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/1.655, allocations: 11.92 kB / 0.802 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/1.656, allocations: 88 kB / 0.802 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/1.656, allocations: 52 kB / 0.8021 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006191/1.662, allocations: 2.222 MB / 0.8043 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02689/1.689, allocations: 11.27 MB / 0.8153 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/1.694, allocations: 1.762 MB / 0.817 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/1.697, allocations: 0.9099 MB / 0.8179 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/1.712, allocations: 6.522 MB / 0.8242 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002984/1.715, allocations: 1.043 MB / 0.8253 GB, free: 304 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 1.115e-05/1.715, allocations: 3.938 kB / 0.8253 GB, free: 300 kB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.7245/2.44, allocations: 6.092 MB / 0.8312 GB, free: 239.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002182/2.44, allocations: 97.83 kB / 0.8313 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005532/2.446, allocations: 1.841 MB / 0.8331 GB, free: 238.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/2.446, allocations: 56.48 kB / 0.8332 GB, free: 238.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/2.448, allocations: 1.072 MB / 0.8342 GB, free: 237.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001707/2.45, allocations: 0.6267 MB / 0.8348 GB, free: 237.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/2.45, allocations: 291.8 kB / 0.8351 GB, free: 237 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001149/2.45, allocations: 305.1 kB / 0.8354 GB, free: 236.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/2.452, allocations: 0.6713 MB / 0.836 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/2.454, allocations: 0.8488 MB / 0.8369 GB, free: 236 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/2.458, allocations: 1.668 MB / 0.8385 GB, free: 235.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/2.458, allocations: 0 / 0.8385 GB, free: 235.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008296/2.466, allocations: 2.557 MB / 0.841 GB, free: 234 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/2.467, allocations: 32.34 kB / 0.841 GB, free: 234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/2.467, allocations: 4.703 kB / 0.841 GB, free: 234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/2.469, allocations: 0.6198 MB / 0.8416 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/2.471, allocations: 297.4 kB / 0.8419 GB, free: 233.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02903/2.5, allocations: 16.23 MB / 0.8578 GB, free: 219.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/2.504, allocations: 95.75 kB / 0.8579 GB, free: 219.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/2.505, allocations: 72.61 kB / 0.8579 GB, free: 219.1 MB / 0.6231 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.003/2.508, allocations: 435.9 kB / 0.8583 GB, free: 218.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/2.509, allocations: 255.2 kB / 0.8586 GB, free: 218.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/2.523, allocations: 3.471 MB / 0.862 GB, free: 217.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/2.524, allocations: 19.62 kB / 0.862 GB, free: 217.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/2.524, allocations: 7.531 kB / 0.862 GB, free: 217.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001083/2.524, allocations: 14.83 kB / 0.862 GB, free: 217.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/2.543, allocations: 5.161 MB / 0.8671 GB, free: 214.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/2.543, allocations: 5.812 kB / 0.8671 GB, free: 214.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/2.545, allocations: 286.8 kB / 0.8673 GB, free: 214.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/2.548, allocations: 0.5415 MB / 0.8679 GB, free: 214.6 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008353/2.549, allocations: 78.55 kB / 0.8679 GB, free: 214.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/2.569, allocations: 15.25 MB / 0.8828 GB, free: 200.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.569, allocations: 3.969 kB / 0.8828 GB, free: 200.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/2.579, allocations: 3.695 MB / 0.8864 GB, free: 197.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/2.581, allocations: 324.6 kB / 0.8868 GB, free: 197.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/2.583, allocations: 48.09 kB / 0.8868 GB, free: 197.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/2.584, allocations: 71.53 kB / 0.8869 GB, free: 197.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005811/2.585, allocations: 172.6 kB / 0.887 GB, free: 197.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/2.585, allocations: 71.41 kB / 0.8871 GB, free: 197.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002411/2.588, allocations: 1.311 MB / 0.8884 GB, free: 196.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.753e-06/2.588, allocations: 0 / 0.8884 GB, free: 196.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006068/2.594, allocations: 0.8911 MB / 0.8893 GB, free: 196.6 MB / 0.6231 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.01175/2.605, allocations: 5.167 MB / 0.8943 GB, free: 193.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009298/2.615, allocations: 3.24 MB / 0.8975 GB, free: 189.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.436e-05/2.615, allocations: 0 / 0.8975 GB, free: 189.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/2.62, allocations: 2.252 MB / 0.8997 GB, free: 187.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008074/2.628, allocations: 0.8158 MB / 0.9005 GB, free: 186.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04681/2.675, allocations: 22.33 MB / 0.9223 GB, free: 162.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/2.677, allocations: 1.666 MB / 0.9239 GB, free: 160.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002822/2.68, allocations: 0.5234 MB / 0.9244 GB, free: 160.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002891/2.683, allocations: 1.14 MB / 0.9255 GB, free: 159.2 MB / 0.6231 GB Notification: Performance of SimCode: time 1.984e-06/2.683, allocations: 0 / 0.9255 GB, free: 159.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2433/2.926, allocations: 75.91 MB / 0.9997 GB, free: 83.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.59/21.51, allocations: 18.19 kB / 0.9997 GB, free: 83.64 MB / 0.6231 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