Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.001437/0.001438, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00175/0.00175, allocations: 189.5 kB / 16.25 MB, free: 6.645 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7173/0.7173, allocations: 91.19 MB / 381.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 77.38 kB / 459.8 MB, free: 23.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1665, allocations: 67.69 MB / 0.5151 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4446/0.6111, allocations: 138.8 MB / 0.6507 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.6154, allocations: 3.317 MB / 0.6539 GB, free: 8.641 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.6159, allocations: 25.31 kB / 0.654 GB, free: 8.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.6165, allocations: 110.1 kB / 0.6541 GB, free: 8.539 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005494/0.6171, allocations: 162.6 kB / 0.6542 GB, free: 8.406 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.6176, allocations: 190.7 kB / 0.6544 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.6182, allocations: 341.6 kB / 0.6547 GB, free: 8.066 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.6183, allocations: 60.36 kB / 0.6548 GB, free: 8.031 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005273/0.6189, allocations: 196.2 kB / 0.655 GB, free: 7.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.6191, allocations: 122.8 kB / 0.6551 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.6191, allocations: 11.06 kB / 0.6551 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.6196, allocations: 261.8 kB / 0.6553 GB, free: 7.719 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.6197, allocations: 35.8 kB / 0.6554 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.6198, allocations: 112.2 kB / 0.6555 GB, free: 7.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.6203, allocations: 302.8 kB / 0.6558 GB, free: 7.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6204, allocations: 0 / 0.6558 GB, free: 7.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6204, allocations: 0 / 0.6558 GB, free: 7.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.6204, allocations: 0 / 0.6558 GB, free: 7.43 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.0008969/0.6213, allocations: 0.5506 MB / 0.6563 GB, free: 6.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6213, allocations: 12.67 kB / 0.6563 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.6214, allocations: 31.28 kB / 0.6564 GB, free: 6.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.6219, allocations: 333.8 kB / 0.6567 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6219, allocations: 8.172 kB / 0.6567 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.622, allocations: 13.31 kB / 0.6567 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.6222, allocations: 150.1 kB / 0.6568 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.6223, allocations: 2.312 kB / 0.6568 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.6223, allocations: 4 kB / 0.6568 GB, free: 6.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.6223, allocations: 4.312 kB / 0.6568 GB, free: 6.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.6224, allocations: 75.3 kB / 0.6569 GB, free: 6.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/0.6233, allocations: 0.7342 MB / 0.6576 GB, free: 5.707 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.6235, allocations: 79.2 kB / 0.6577 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.6236, allocations: 36.86 kB / 0.6577 GB, free: 5.609 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.6237, allocations: 167.5 kB / 0.6579 GB, free: 5.414 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.6238, allocations: 44.72 kB / 0.6579 GB, free: 5.363 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.6238, allocations: 0 / 0.6579 GB, free: 5.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007198/0.6245, allocations: 329.5 kB / 0.6583 GB, free: 5.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.6246, allocations: 77.92 kB / 0.6583 GB, free: 4.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.6249, allocations: 310.4 kB / 0.6586 GB, free: 4.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.6249, allocations: 34.86 kB / 0.6587 GB, free: 4.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.6251, allocations: 162.5 kB / 0.6588 GB, free: 4.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.6251, allocations: 26.47 kB / 0.6588 GB, free: 4.559 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.6251, allocations: 28.86 kB / 0.6589 GB, free: 4.531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6253, allocations: 340.4 kB / 0.6592 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.6253, allocations: 21.48 kB / 0.6592 GB, free: 4.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.6254, allocations: 51 kB / 0.6593 GB, free: 4.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.6255, allocations: 80.17 kB / 0.6593 GB, free: 4.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6255, allocations: 0 / 0.6593 GB, free: 4.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002716/0.6258, allocations: 153.2 kB / 0.6595 GB, free: 3.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6258, allocations: 15.16 kB / 0.6595 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6259, allocations: 4.062 kB / 0.6595 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.6261, allocations: 43.62 kB / 0.6596 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.6262, allocations: 11.62 kB / 0.6596 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.6281, allocations: 2.757 MB / 0.6623 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.6282, allocations: 13.03 kB / 0.6623 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.6282, allocations: 2.781 kB / 0.6623 GB, free: 1.031 MB / 478.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.0001278/0.6284, allocations: 131.2 kB / 0.6624 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.6284, allocations: 38.97 kB / 0.6624 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.6288, allocations: 155 kB / 0.6626 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6288, allocations: 11.02 kB / 0.6626 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6288, allocations: 0 / 0.6626 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6288, allocations: 0 / 0.6626 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.6293, allocations: 0.5223 MB / 0.6631 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6293, allocations: 6.188 kB / 0.6631 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.6294, allocations: 2.906 kB / 0.6631 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.6295, allocations: 43.44 kB / 0.6631 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6295, allocations: 0 / 0.6631 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.6313, allocations: 2.76 MB / 0.6658 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6313, allocations: 3.984 kB / 0.6658 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.6316, allocations: 337 kB / 0.6662 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.6317, allocations: 100.3 kB / 0.6663 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.6318, allocations: 5.469 kB / 0.6663 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.6319, allocations: 0 / 0.6663 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.6319, allocations: 15 kB / 0.6663 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.632, allocations: 8.859 kB / 0.6663 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.6322, allocations: 234.8 kB / 0.6665 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6322, allocations: 4.062 kB / 0.6665 GB, free: 12.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.6326, allocations: 53.59 kB / 0.6666 GB, free: 12.69 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.000225/0.6328, allocations: 153.5 kB / 0.6667 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.6332, allocations: 286.7 kB / 0.667 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6333, allocations: 0 / 0.667 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.6335, allocations: 249.3 kB / 0.6672 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.6341, allocations: 71.45 kB / 0.6673 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.6351, allocations: 0.6183 MB / 0.6679 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.6355, allocations: 0.7503 MB / 0.6686 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.814e-05/0.6356, allocations: 37.08 kB / 0.6687 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.6356, allocations: 19.97 kB / 0.6687 GB, free: 10.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6357, allocations: 0 / 0.6687 GB, free: 10.8 MB / 494.1 MB Notification: Performance of Templates: time 0.007651/0.6433, allocations: 3.372 MB / 0.672 GB, free: 9.125 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches