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: translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001559/0.001559, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7254/0.7254, allocations: 91.19 MB / 381.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 77.23 kB / 459.6 MB, free: 23.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1362, allocations: 67.69 MB / 0.515 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5201/0.6564, allocations: 225.1 MB / 0.7348 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0382/0.6946, allocations: 31.34 MB / 0.7654 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.6989, allocations: 170.8 kB / 0.7656 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005018/0.704, allocations: 1.531 MB / 0.7671 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.7117, allocations: 2.424 MB / 0.7695 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007061/0.7188, allocations: 2.328 MB / 0.7717 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007086/0.7259, allocations: 5.552 MB / 0.7772 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.7279, allocations: 0.9721 MB / 0.7781 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.7327, allocations: 2.158 MB / 0.7802 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.7364, allocations: 2.273 MB / 0.7824 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008106/0.7373, allocations: 172 kB / 0.7826 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008485/0.7458, allocations: 3.637 MB / 0.7862 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.7469, allocations: 0.5327 MB / 0.7867 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002997/0.7499, allocations: 1.457 MB / 0.7881 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.76, allocations: 4.564 MB / 0.7926 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.76, allocations: 3.984 kB / 0.7926 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.76, allocations: 0 / 0.7926 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001638/0.7602, allocations: 0 / 0.7926 GB, free: 3.684 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.009107/0.7693, allocations: 3.533 MB / 0.796 GB, free: 72 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.7694, allocations: 12.03 kB / 0.796 GB, free: 60 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.7703, allocations: 333.1 kB / 0.7963 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/0.7741, allocations: 1.793 MB / 0.7981 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.7743, allocations: 160.2 kB / 0.7982 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/0.7748, allocations: 215.9 kB / 0.7984 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004909/0.7797, allocations: 2.483 MB / 0.8009 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.7798, allocations: 0 / 0.8009 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.78, allocations: 88 kB / 0.801 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.78, allocations: 48 kB / 0.801 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/0.7842, allocations: 2.226 MB / 0.8032 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.7991, allocations: 11.23 MB / 0.8141 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.8029, allocations: 1.762 MB / 0.8159 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.8046, allocations: 0.906 MB / 0.8168 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008492/0.8131, allocations: 6.526 MB / 0.8231 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/0.8151, allocations: 1.047 MB / 0.8241 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 4.108e-06/0.8151, allocations: 0 / 0.8241 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.3/1.115, allocations: 6.08 MB / 0.8301 GB, free: 159.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/1.115, allocations: 107.5 kB / 0.8302 GB, free: 159.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.118, allocations: 1.827 MB / 0.832 GB, free: 159.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/1.118, allocations: 58.05 kB / 0.832 GB, free: 159.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/1.119, allocations: 1.075 MB / 0.8331 GB, free: 159.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/1.119, allocations: 0.6215 MB / 0.8337 GB, free: 158.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/1.12, allocations: 293.5 kB / 0.834 GB, free: 158.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 4.072e-05/1.12, allocations: 303.1 kB / 0.8343 GB, free: 158.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/1.121, allocations: 0.6708 MB / 0.8349 GB, free: 158.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/1.123, allocations: 0.8541 MB / 0.8357 GB, free: 158.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/1.126, allocations: 1.664 MB / 0.8374 GB, free: 158.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.126, allocations: 1.344 kB / 0.8374 GB, free: 158.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005506/1.132, allocations: 2.555 MB / 0.8399 GB, free: 157.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.132, allocations: 33.75 kB / 0.8399 GB, free: 157.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.132, allocations: 3.188 kB / 0.8399 GB, free: 157.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/1.134, allocations: 0.6232 MB / 0.8405 GB, free: 157.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.135, allocations: 292.1 kB / 0.8408 GB, free: 157.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.149, allocations: 15.04 MB / 0.8555 GB, free: 145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.151, allocations: 153.1 kB / 0.8556 GB, free: 144.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/1.151, allocations: 72.89 kB / 0.8557 GB, free: 144.9 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.001054/1.152, allocations: 428 kB / 0.8561 GB, free: 144.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/1.153, allocations: 257 kB / 0.8563 GB, free: 144.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/1.16, allocations: 3.453 MB / 0.8597 GB, free: 143 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/1.16, allocations: 27.75 kB / 0.8597 GB, free: 143 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/1.16, allocations: 8.594 kB / 0.8598 GB, free: 143 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/1.16, allocations: 8.578 kB / 0.8598 GB, free: 143 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/1.168, allocations: 5.162 MB / 0.8648 GB, free: 140.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.168, allocations: 7.062 kB / 0.8648 GB, free: 140.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.169, allocations: 284.8 kB / 0.8651 GB, free: 140.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/1.171, allocations: 0.5419 MB / 0.8656 GB, free: 140.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/1.171, allocations: 67.25 kB / 0.8657 GB, free: 140.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009278/1.181, allocations: 14.05 MB / 0.8794 GB, free: 127.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.181, allocations: 3.344 kB / 0.8794 GB, free: 127.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006716/1.187, allocations: 3.708 MB / 0.883 GB, free: 125.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/1.188, allocations: 325.6 kB / 0.8833 GB, free: 125 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005799/1.189, allocations: 48.12 kB / 0.8834 GB, free: 125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.19, allocations: 122.8 kB / 0.8835 GB, free: 124.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/1.191, allocations: 169.9 kB / 0.8837 GB, free: 124.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.191, allocations: 75.39 kB / 0.8837 GB, free: 124.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001843/1.193, allocations: 1.305 MB / 0.885 GB, free: 124.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/1.193, allocations: 0 / 0.885 GB, free: 124.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002957/1.196, allocations: 0.8938 MB / 0.8859 GB, free: 123.9 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.00146/1.197, allocations: 1.012 MB / 0.8869 GB, free: 123.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004665/1.202, allocations: 3.083 MB / 0.8899 GB, free: 121.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.202, allocations: 0 / 0.8899 GB, free: 121.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002937/1.205, allocations: 2.248 MB / 0.8921 GB, free: 119.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.209, allocations: 0.7804 MB / 0.8928 GB, free: 119.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007618/1.216, allocations: 5.936 MB / 0.8986 GB, free: 115.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.217, allocations: 1.671 MB / 0.9003 GB, free: 114.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001688/1.219, allocations: 0.5168 MB / 0.9008 GB, free: 113.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/1.22, allocations: 223.4 kB / 0.901 GB, free: 113.6 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/1.22, allocations: 0 / 0.901 GB, free: 113.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.0655/1.285, allocations: 49.59 MB / 0.9494 GB, free: 64.59 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (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 & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches