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.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 132 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.001817/0.001817, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6755/0.6755, allocations: 91.19 MB / 381.6 MB, free: 9.438 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 84.41 kB / 460.3 MB, free: 23.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 67.68 MB / 0.5156 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4522/0.5641, allocations: 225 MB / 0.7353 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03668/0.6009, allocations: 30.89 MB / 0.7655 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.6039, allocations: 135.1 kB / 0.7656 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004761/0.6086, allocations: 1.732 MB / 0.7673 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.6162, allocations: 2.629 MB / 0.7699 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007026/0.6233, allocations: 2.584 MB / 0.7724 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006728/0.63, allocations: 4.715 MB / 0.777 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.6319, allocations: 1.045 MB / 0.778 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.6366, allocations: 2.315 MB / 0.7803 GB, free: 328 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.6402, allocations: 2.289 MB / 0.7825 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008125/0.6411, allocations: 268 kB / 0.7828 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008235/0.6493, allocations: 3.72 MB / 0.7864 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009387/0.6503, allocations: 0.6225 MB / 0.787 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.6527, allocations: 1.559 MB / 0.7885 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008989/0.6617, allocations: 4.806 MB / 0.7932 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6618, allocations: 0 / 0.7932 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6618, allocations: 4 kB / 0.7932 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001217/0.6619, allocations: 0 / 0.7932 GB, free: 3.02 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.007785/0.6697, allocations: 3.532 MB / 0.7967 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6698, allocations: 12.03 kB / 0.7967 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007246/0.6705, allocations: 329 kB / 0.797 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.6738, allocations: 1.797 MB / 0.7988 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.6739, allocations: 156.2 kB / 0.7989 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.6744, allocations: 215.9 kB / 0.7991 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004771/0.6791, allocations: 2.479 MB / 0.8015 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.6792, allocations: 0 / 0.8015 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.6795, allocations: 88 kB / 0.8016 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.6795, allocations: 52 kB / 0.8017 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/0.6838, allocations: 2.23 MB / 0.8038 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.6987, allocations: 11.27 MB / 0.8149 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/0.7024, allocations: 1.771 MB / 0.8166 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.7041, allocations: 0.906 MB / 0.8175 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00847/0.7126, allocations: 6.526 MB / 0.8238 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002068/0.7147, allocations: 1.039 MB / 0.8249 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 5.03e-06/0.7147, allocations: 0 / 0.8249 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.2651/0.9798, allocations: 6.087 MB / 0.8308 GB, free: 156.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.9799, allocations: 103.4 kB / 0.8309 GB, free: 156.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.9822, allocations: 1.839 MB / 0.8327 GB, free: 156.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.9824, allocations: 57.73 kB / 0.8327 GB, free: 156.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007391/0.9832, allocations: 1.075 MB / 0.8338 GB, free: 156.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000561/0.9838, allocations: 0.6149 MB / 0.8344 GB, free: 155.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004926/0.9843, allocations: 293.9 kB / 0.8347 GB, free: 155.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.9843, allocations: 302.1 kB / 0.835 GB, free: 155.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.9857, allocations: 0.6691 MB / 0.8356 GB, free: 155.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.9872, allocations: 0.8556 MB / 0.8365 GB, free: 155.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.9905, allocations: 1.662 MB / 0.8381 GB, free: 155.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.9905, allocations: 2.5 kB / 0.8381 GB, free: 155.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005716/0.9962, allocations: 2.559 MB / 0.8406 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.9963, allocations: 36.42 kB / 0.8406 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9963, allocations: 3.406 kB / 0.8406 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.9983, allocations: 0.6196 MB / 0.8412 GB, free: 154.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.9995, allocations: 298.7 kB / 0.8415 GB, free: 154.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.014, allocations: 16.23 MB / 0.8574 GB, free: 140.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.016, allocations: 98.8 kB / 0.8574 GB, free: 140.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/1.016, allocations: 76.11 kB / 0.8575 GB, free: 140.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.0009778/1.017, allocations: 431.3 kB / 0.8579 GB, free: 140.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/1.018, allocations: 256.3 kB / 0.8582 GB, free: 140.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006284/1.024, allocations: 3.47 MB / 0.8616 GB, free: 138.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.024, allocations: 21.56 kB / 0.8616 GB, free: 138.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/1.024, allocations: 8.344 kB / 0.8616 GB, free: 138.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/1.024, allocations: 13.3 kB / 0.8616 GB, free: 138.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009167/1.034, allocations: 5.165 MB / 0.8667 GB, free: 136.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.034, allocations: 4.266 kB / 0.8667 GB, free: 136.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.035, allocations: 288.3 kB / 0.8669 GB, free: 136.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/1.036, allocations: 0.5479 MB / 0.8675 GB, free: 136.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.037, allocations: 67.14 kB / 0.8675 GB, free: 136.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009558/1.046, allocations: 15.24 MB / 0.8824 GB, free: 122.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.046, allocations: 5.156 kB / 0.8824 GB, free: 122.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/1.053, allocations: 3.7 MB / 0.886 GB, free: 120.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/1.054, allocations: 324.4 kB / 0.8863 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/1.054, allocations: 59.19 kB / 0.8864 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.055, allocations: 58.34 kB / 0.8865 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/1.056, allocations: 174.6 kB / 0.8866 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.056, allocations: 73.97 kB / 0.8867 GB, free: 120 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001674/1.058, allocations: 1.313 MB / 0.888 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/1.058, allocations: 0 / 0.888 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002806/1.06, allocations: 0.8865 MB / 0.8888 GB, free: 119.3 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.001464/1.062, allocations: 1.022 MB / 0.8898 GB, free: 119 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005882/1.068, allocations: 3.24 MB / 0.893 GB, free: 116.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.068, allocations: 0 / 0.893 GB, free: 116.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003083/1.071, allocations: 2.254 MB / 0.8952 GB, free: 115.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/1.075, allocations: 0.8096 MB / 0.896 GB, free: 114.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/1.082, allocations: 4.997 MB / 0.9009 GB, free: 111.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.084, allocations: 1.682 MB / 0.9025 GB, free: 109.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001867/1.085, allocations: 0.52 MB / 0.903 GB, free: 109.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.086, allocations: 216.5 kB / 0.9032 GB, free: 109.1 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/1.086, allocations: 0 / 0.9032 GB, free: 109.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.06642/1.152, allocations: 51.3 MB / 0.9533 GB, free: 58.37 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