Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_dev_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.001873/0.001872, allocations: 108 kB / 15.61 MB, free: 152 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.00228/0.002279, allocations: 195.7 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 1.74/1.74, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9753/0.9753, allocations: 93.71 MB / 384.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 87.34 kB / 463.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1873, allocations: 68.26 MB / 0.5193 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.6863/0.8736, allocations: 225 MB / 0.7391 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04271/0.9164, allocations: 30.93 MB / 0.7693 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004687/0.9212, allocations: 147.1 kB / 0.7694 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00593/0.9271, allocations: 1.736 MB / 0.7711 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.9375, allocations: 2.66 MB / 0.7737 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009331/0.9469, allocations: 2.593 MB / 0.7762 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009554/0.9564, allocations: 4.807 MB / 0.7809 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.9588, allocations: 1.05 MB / 0.782 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006205/0.9651, allocations: 2.358 MB / 0.7843 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004663/0.9697, allocations: 2.292 MB / 0.7865 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007597/0.9705, allocations: 267.9 kB / 0.7868 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.9811, allocations: 3.732 MB / 0.7904 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.9823, allocations: 0.6226 MB / 0.791 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.9853, allocations: 1.562 MB / 0.7925 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.998, allocations: 4.829 MB / 0.7973 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.9981, allocations: 7.984 kB / 0.7973 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9981, allocations: 0 / 0.7973 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.35e-05/0.9982, allocations: 0 / 0.7973 GB, free: 13.91 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.008554/1.007, allocations: 3.572 MB / 0.8007 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.007, allocations: 8.031 kB / 0.8008 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003708/1.007, allocations: 295.7 kB / 0.801 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/1.008, allocations: 340.8 kB / 0.8014 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/1.011, allocations: 1.836 MB / 0.8032 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/1.012, allocations: 156.2 kB / 0.8033 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/1.012, allocations: 219.9 kB / 0.8035 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/1.017, allocations: 2.468 MB / 0.8059 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/1.017, allocations: 7.984 kB / 0.8059 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/1.017, allocations: 84 kB / 0.806 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/1.017, allocations: 52 kB / 0.8061 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/1.021, allocations: 2.226 MB / 0.8082 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/1.037, allocations: 11.28 MB / 0.8193 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/1.041, allocations: 1.76 MB / 0.821 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/1.043, allocations: 0.9099 MB / 0.8219 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.395/1.438, allocations: 6.522 MB / 0.8282 GB, free: 236.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002516/1.44, allocations: 1.046 MB / 0.8292 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 9.057e-06/1.44, allocations: 0 / 0.8292 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.01465/1.455, allocations: 6.107 MB / 0.8352 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.455, allocations: 104.3 kB / 0.8353 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/1.459, allocations: 1.871 MB / 0.8371 GB, free: 232.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/1.459, allocations: 58.14 kB / 0.8372 GB, free: 232 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/1.46, allocations: 1.092 MB / 0.8383 GB, free: 231.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007047/1.461, allocations: 0.6206 MB / 0.8389 GB, free: 230.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/1.461, allocations: 292.5 kB / 0.8391 GB, free: 230.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/1.461, allocations: 310.5 kB / 0.8394 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/1.463, allocations: 0.6728 MB / 0.8401 GB, free: 230 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/1.464, allocations: 0.8506 MB / 0.8409 GB, free: 229.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/1.468, allocations: 1.659 MB / 0.8425 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.468, allocations: 4.828 kB / 0.8426 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006228/1.474, allocations: 2.561 MB / 0.8451 GB, free: 227.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/1.474, allocations: 32.72 kB / 0.8451 GB, free: 227.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.474, allocations: 3.219 kB / 0.8451 GB, free: 227.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/1.476, allocations: 0.6284 MB / 0.8457 GB, free: 227.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.478, allocations: 296.2 kB / 0.846 GB, free: 227.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/1.497, allocations: 16.23 MB / 0.8618 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/1.499, allocations: 101.9 kB / 0.8619 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/1.5, allocations: 73.81 kB / 0.862 GB, free: 212.7 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.00154/1.501, allocations: 432.5 kB / 0.8624 GB, free: 212.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/1.502, allocations: 266 kB / 0.8627 GB, free: 212.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007512/1.509, allocations: 3.463 MB / 0.8661 GB, free: 210.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/1.509, allocations: 24 kB / 0.8661 GB, free: 210.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/1.509, allocations: 8.156 kB / 0.8661 GB, free: 210.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/1.51, allocations: 15.28 kB / 0.8661 GB, free: 210.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/1.52, allocations: 5.172 MB / 0.8711 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.52, allocations: 1.531 kB / 0.8711 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.521, allocations: 292.1 kB / 0.8714 GB, free: 207.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/1.523, allocations: 0.5421 MB / 0.872 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.523, allocations: 67.77 kB / 0.872 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/1.535, allocations: 15.25 MB / 0.8869 GB, free: 192.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.535, allocations: 0 / 0.8869 GB, free: 192.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007569/1.542, allocations: 3.706 MB / 0.8905 GB, free: 190.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.543, allocations: 336.3 kB / 0.8909 GB, free: 190.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/1.544, allocations: 52.58 kB / 0.8909 GB, free: 190.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/1.545, allocations: 63.11 kB / 0.891 GB, free: 190.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/1.545, allocations: 175.4 kB / 0.8911 GB, free: 190.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.545, allocations: 71.36 kB / 0.8912 GB, free: 190.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002096/1.547, allocations: 1.325 MB / 0.8925 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/1.547, allocations: 0 / 0.8925 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003379/1.551, allocations: 0.8942 MB / 0.8934 GB, free: 189.2 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.007659/1.558, allocations: 5.172 MB / 0.8984 GB, free: 184.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00617/1.565, allocations: 3.238 MB / 0.9016 GB, free: 181.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.565, allocations: 4 kB / 0.9016 GB, free: 181.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003284/1.568, allocations: 2.25 MB / 0.9038 GB, free: 179.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/1.572, allocations: 0.827 MB / 0.9046 GB, free: 178.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/1.606, allocations: 22.6 MB / 0.9267 GB, free: 154 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.608, allocations: 1.684 MB / 0.9283 GB, free: 152.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00223/1.61, allocations: 0.5202 MB / 0.9288 GB, free: 151.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.612, allocations: 1.155 MB / 0.9299 GB, free: 150.6 MB / 0.6231 GB Notification: Performance of SimCode: time 1.523e-06/1.612, allocations: 4 kB / 0.9299 GB, free: 150.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2033/1.815, allocations: 76.36 MB / 1.005 GB, free: 74.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/17.28, allocations: 3.75 kB / 1.005 GB, free: 74.66 MB / 0.6231 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches