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.00156/0.00156, 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.002027/0.002027, allocations: 198.1 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6937/0.6937, allocations: 91.18 MB / 381.1 MB, free: 9.598 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 81.72 kB / 459.6 MB, free: 23.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 67.7 MB / 0.515 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4682/0.5888, allocations: 225.1 MB / 0.7348 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04221/0.631, allocations: 31.33 MB / 0.7654 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004235/0.6353, allocations: 174.8 kB / 0.7656 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005462/0.6408, allocations: 1.539 MB / 0.7671 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009137/0.65, allocations: 2.417 MB / 0.7695 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007995/0.6581, allocations: 2.328 MB / 0.7717 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007684/0.6658, allocations: 5.552 MB / 0.7772 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.6683, allocations: 0.9787 MB / 0.7781 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005357/0.6737, allocations: 2.154 MB / 0.7802 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003738/0.6775, allocations: 2.277 MB / 0.7824 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009641/0.6785, allocations: 172 kB / 0.7826 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008759/0.6873, allocations: 3.637 MB / 0.7862 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.6884, allocations: 0.5288 MB / 0.7867 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.6915, allocations: 1.457 MB / 0.7881 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009844/0.7014, allocations: 4.568 MB / 0.7926 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7014, allocations: 0 / 0.7926 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7015, allocations: 0 / 0.7926 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001493/0.7016, allocations: 0 / 0.7926 GB, free: 3.535 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.008578/0.7102, allocations: 3.537 MB / 0.796 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7103, allocations: 12.03 kB / 0.796 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008649/0.7111, allocations: 332.9 kB / 0.7963 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.7149, allocations: 1.797 MB / 0.7981 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.7151, allocations: 160.2 kB / 0.7982 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005785/0.7157, allocations: 215.8 kB / 0.7985 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00544/0.7211, allocations: 2.483 MB / 0.8009 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.7212, allocations: 0 / 0.8009 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.7214, allocations: 84 kB / 0.801 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.7214, allocations: 48 kB / 0.801 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.7256, allocations: 2.234 MB / 0.8032 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.7407, allocations: 11.23 MB / 0.8142 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.7444, allocations: 1.758 MB / 0.8159 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.746, allocations: 0.906 MB / 0.8168 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008763/0.7548, allocations: 6.534 MB / 0.8231 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/0.7569, allocations: 1.039 MB / 0.8242 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 4.148e-06/0.7569, allocations: 0 / 0.8242 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.3006/1.057, allocations: 6.081 MB / 0.8301 GB, free: 159.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.058, allocations: 99.95 kB / 0.8302 GB, free: 159.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.06, allocations: 1.833 MB / 0.832 GB, free: 159.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/1.06, allocations: 59.7 kB / 0.832 GB, free: 159.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/1.061, allocations: 1.075 MB / 0.8331 GB, free: 159 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005503/1.061, allocations: 0.6205 MB / 0.8337 GB, free: 158.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005059/1.062, allocations: 291.2 kB / 0.834 GB, free: 158.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 4.194e-05/1.062, allocations: 304.3 kB / 0.8343 GB, free: 158.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/1.063, allocations: 0.6659 MB / 0.8349 GB, free: 158.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/1.065, allocations: 0.8585 MB / 0.8357 GB, free: 158.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/1.068, allocations: 1.662 MB / 0.8374 GB, free: 157.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.068, allocations: 0 / 0.8374 GB, free: 157.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005737/1.074, allocations: 2.556 MB / 0.8399 GB, free: 157.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.074, allocations: 34.92 kB / 0.8399 GB, free: 157.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.074, allocations: 3.453 kB / 0.8399 GB, free: 157.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/1.076, allocations: 0.6218 MB / 0.8405 GB, free: 157.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.078, allocations: 293.4 kB / 0.8408 GB, free: 157.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.092, allocations: 15.03 MB / 0.8555 GB, free: 144.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.094, allocations: 145.5 kB / 0.8556 GB, free: 144.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/1.094, allocations: 76.94 kB / 0.8557 GB, free: 144.8 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.001217/1.095, allocations: 424.9 kB / 0.8561 GB, free: 144.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007809/1.096, allocations: 265.5 kB / 0.8563 GB, free: 144.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006917/1.103, allocations: 3.454 MB / 0.8597 GB, free: 142.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/1.103, allocations: 25.88 kB / 0.8597 GB, free: 142.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.391e-05/1.103, allocations: 7.531 kB / 0.8597 GB, free: 142.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/1.103, allocations: 14.34 kB / 0.8598 GB, free: 142.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009263/1.112, allocations: 5.172 MB / 0.8648 GB, free: 140.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.112, allocations: 0 / 0.8648 GB, free: 140.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.114, allocations: 286.3 kB / 0.8651 GB, free: 140.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/1.115, allocations: 0.5377 MB / 0.8656 GB, free: 140.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/1.116, allocations: 70.66 kB / 0.8657 GB, free: 140.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00916/1.125, allocations: 14.06 MB / 0.8794 GB, free: 127.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/1.125, allocations: 4.906 kB / 0.8794 GB, free: 127.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/1.132, allocations: 3.701 MB / 0.883 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/1.133, allocations: 330 kB / 0.8833 GB, free: 124.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006682/1.133, allocations: 46.67 kB / 0.8834 GB, free: 124.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.135, allocations: 116.8 kB / 0.8835 GB, free: 124.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/1.135, allocations: 169.7 kB / 0.8837 GB, free: 124.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.136, allocations: 73.55 kB / 0.8837 GB, free: 124.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001855/1.137, allocations: 1.305 MB / 0.885 GB, free: 124 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.137, allocations: 0 / 0.885 GB, free: 124 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003061/1.141, allocations: 0.8988 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.001576/1.142, allocations: 1.003 MB / 0.8869 GB, free: 123.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004866/1.147, allocations: 3.082 MB / 0.8899 GB, free: 121.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.147, allocations: 384 / 0.8899 GB, free: 121.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/1.15, allocations: 2.25 MB / 0.8921 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/1.154, allocations: 0.7814 MB / 0.8928 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008184/1.163, allocations: 5.94 MB / 0.8986 GB, free: 115.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.164, allocations: 1.681 MB / 0.9003 GB, free: 114 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001927/1.166, allocations: 0.5183 MB / 0.9008 GB, free: 113.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/1.166, allocations: 219.4 kB / 0.901 GB, free: 113.3 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/1.166, allocations: 0 / 0.901 GB, free: 113.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.06738/1.234, allocations: 49.59 MB / 0.9494 GB, free: 64.3 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