Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00369/0.00369, allocations: 189.7 kB / 16.13 MB, free: 6.637 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9411/0.9411, allocations: 93.71 MB / 383.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 77.59 kB / 462.7 MB, free: 22.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.169, allocations: 68.27 MB / 0.5185 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4907/0.6597, allocations: 138.7 MB / 0.6539 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.6635, allocations: 3.362 MB / 0.6572 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.664, allocations: 21.5 kB / 0.6572 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.6645, allocations: 116.9 kB / 0.6574 GB, free: 4.301 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.6651, allocations: 177.5 kB / 0.6575 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.6656, allocations: 181.9 kB / 0.6577 GB, free: 4.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.666, allocations: 421.7 kB / 0.6581 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.6662, allocations: 72.55 kB / 0.6582 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.6667, allocations: 215.8 kB / 0.6584 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.6669, allocations: 127.5 kB / 0.6585 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.6669, allocations: 8.25 kB / 0.6585 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.6674, allocations: 254.3 kB / 0.6587 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.6675, allocations: 38.67 kB / 0.6588 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.6676, allocations: 109.6 kB / 0.6589 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.668, allocations: 287.8 kB / 0.6592 GB, free: 3.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.668, allocations: 0 / 0.6592 GB, free: 3.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.668, allocations: 0 / 0.6592 GB, free: 3.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.668, allocations: 0 / 0.6592 GB, free: 3.129 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008333/0.6689, allocations: 0.5776 MB / 0.6597 GB, free: 2.582 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6689, allocations: 14.06 kB / 0.6597 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.669, allocations: 32.62 kB / 0.6598 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.6694, allocations: 334 kB / 0.6601 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.6695, allocations: 9.703 kB / 0.6601 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.6695, allocations: 22.34 kB / 0.6601 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.6698, allocations: 153.8 kB / 0.6603 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6698, allocations: 0 / 0.6603 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.6699, allocations: 2.062 kB / 0.6603 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.6699, allocations: 2.531 kB / 0.6603 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.67, allocations: 71.78 kB / 0.6603 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.671, allocations: 0.74 MB / 0.6611 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.6712, allocations: 80.61 kB / 0.6611 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.6713, allocations: 39.55 kB / 0.6612 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.6715, allocations: 167.7 kB / 0.6613 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.6715, allocations: 35.92 kB / 0.6614 GB, free: 1.035 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.6715, allocations: 0 / 0.6614 GB, free: 1.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006943/0.6722, allocations: 335.6 kB / 0.6617 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.6723, allocations: 85.09 kB / 0.6618 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.6726, allocations: 329.8 kB / 0.6621 GB, free: 428 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.6726, allocations: 25.7 kB / 0.6621 GB, free: 396 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6727, allocations: 171.1 kB / 0.6623 GB, free: 236 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.6728, allocations: 25.41 kB / 0.6623 GB, free: 212 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.6728, allocations: 25.61 kB / 0.6623 GB, free: 188 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.673, allocations: 350.4 kB / 0.6627 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.673, allocations: 22.14 kB / 0.6627 GB, free: 15.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.6731, allocations: 43.48 kB / 0.6627 GB, free: 15.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.6732, allocations: 73.31 kB / 0.6628 GB, free: 15.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6732, allocations: 4 kB / 0.6628 GB, free: 15.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002531/0.6735, allocations: 154.9 kB / 0.6629 GB, free: 15.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6735, allocations: 11.38 kB / 0.663 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6735, allocations: 0 / 0.663 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.6737, allocations: 43.06 kB / 0.663 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.6738, allocations: 16 kB / 0.663 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.6756, allocations: 2.551 MB / 0.6655 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.6758, allocations: 24.48 kB / 0.6655 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.6758, allocations: 6.75 kB / 0.6655 GB, free: 12.88 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.6759, allocations: 144.1 kB / 0.6657 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.676, allocations: 33.22 kB / 0.6657 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.6763, allocations: 152 kB / 0.6658 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6763, allocations: 2.125 kB / 0.6658 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.6763, allocations: 7.938 kB / 0.6659 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6764, allocations: 2.938 kB / 0.6659 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.6769, allocations: 0.526 MB / 0.6664 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6769, allocations: 2.438 kB / 0.6664 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.6769, allocations: 6.391 kB / 0.6664 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.6771, allocations: 43.98 kB / 0.6664 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.6771, allocations: 6.078 kB / 0.6664 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.6787, allocations: 2.572 MB / 0.6689 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6788, allocations: 2.25 kB / 0.6689 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.6791, allocations: 333.5 kB / 0.6693 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.6792, allocations: 108.2 kB / 0.6694 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.6792, allocations: 2.344 kB / 0.6694 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.6794, allocations: 2.406 kB / 0.6694 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.6794, allocations: 18.48 kB / 0.6694 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.6794, allocations: 2.719 kB / 0.6694 GB, free: 8.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.6797, allocations: 242.3 kB / 0.6696 GB, free: 8.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6797, allocations: 0 / 0.6696 GB, free: 8.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.6801, allocations: 49.44 kB / 0.6697 GB, free: 8.727 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002365/0.6803, allocations: 156.9 kB / 0.6698 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.6808, allocations: 276.1 kB / 0.6701 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6808, allocations: 4.125 kB / 0.6701 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.6811, allocations: 253.1 kB / 0.6703 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.6818, allocations: 72.55 kB / 0.6704 GB, free: 8.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.6828, allocations: 0.6317 MB / 0.671 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.6832, allocations: 0.7605 MB / 0.6718 GB, free: 6.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.865e-05/0.6833, allocations: 34.41 kB / 0.6718 GB, free: 6.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.6833, allocations: 26.59 kB / 0.6718 GB, free: 6.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6833, allocations: 0 / 0.6718 GB, free: 6.82 MB / 494.1 MB Notification: Performance of Templates: time 0.007458/0.6908, allocations: 3.317 MB / 0.675 GB, free: 5.172 MB / 494.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches