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.001209/0.001209, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01087/0.01087, allocations: 172 kB / 16.26 MB, free: 6.613 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7237/0.7237, allocations: 91.33 MB / 382.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003702, allocations: 9.969 kB / 462.7 MB, free: 23.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 69.22 MB / 0.5195 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4466/0.5816, allocations: 136.8 MB / 0.6531 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.5851, allocations: 3.301 MB / 0.6563 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.5854, allocations: 19.47 kB / 0.6563 GB, free: 6.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.5859, allocations: 119.4 kB / 0.6564 GB, free: 6.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.5863, allocations: 158.6 kB / 0.6566 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.5867, allocations: 185.8 kB / 0.6568 GB, free: 6.117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.5871, allocations: 369.6 kB / 0.6571 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.5872, allocations: 54.98 kB / 0.6572 GB, free: 5.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.5876, allocations: 191.8 kB / 0.6573 GB, free: 5.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.5878, allocations: 114.1 kB / 0.6574 GB, free: 5.691 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.5878, allocations: 5.25 kB / 0.6575 GB, free: 5.691 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.5882, allocations: 254.5 kB / 0.6577 GB, free: 5.574 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.5883, allocations: 32.53 kB / 0.6577 GB, free: 5.551 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.908e-05/0.5884, allocations: 121.7 kB / 0.6578 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.5888, allocations: 275 kB / 0.6581 GB, free: 5.281 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5888, allocations: 2.906 kB / 0.6581 GB, free: 5.281 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5888, allocations: 0 / 0.6581 GB, free: 5.281 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.5888, allocations: 0 / 0.6581 GB, free: 5.281 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.0006713/0.5895, allocations: 0.5093 MB / 0.6586 GB, free: 4.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5895, allocations: 10.28 kB / 0.6586 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.5896, allocations: 30.38 kB / 0.6586 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.59, allocations: 332.4 kB / 0.659 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.59, allocations: 9.672 kB / 0.659 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.59, allocations: 13.09 kB / 0.659 GB, free: 4.457 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.5903, allocations: 154.5 kB / 0.6591 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.5903, allocations: 0 / 0.6591 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5903, allocations: 6.562 kB / 0.6591 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5903, allocations: 2.625 kB / 0.6591 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.5905, allocations: 71.34 kB / 0.6592 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.5913, allocations: 0.7355 MB / 0.6599 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.5914, allocations: 88.59 kB / 0.66 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.5914, allocations: 30.91 kB / 0.66 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.5916, allocations: 168.5 kB / 0.6602 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.5916, allocations: 34.56 kB / 0.6602 GB, free: 3.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.5916, allocations: 4 kB / 0.6602 GB, free: 3.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006653/0.5923, allocations: 331.1 kB / 0.6606 GB, free: 2.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.5924, allocations: 80.39 kB / 0.6606 GB, free: 2.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.5927, allocations: 314.5 kB / 0.6609 GB, free: 2.648 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.5927, allocations: 29.7 kB / 0.661 GB, free: 2.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5928, allocations: 157.4 kB / 0.6611 GB, free: 2.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.5928, allocations: 33.89 kB / 0.6611 GB, free: 2.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.5929, allocations: 16.47 kB / 0.6612 GB, free: 2.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.593, allocations: 340.9 kB / 0.6615 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.593, allocations: 26.52 kB / 0.6615 GB, free: 2.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.5931, allocations: 45.52 kB / 0.6615 GB, free: 2.023 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.5932, allocations: 72 kB / 0.6616 GB, free: 1.965 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5932, allocations: 0 / 0.6616 GB, free: 1.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002468/0.5935, allocations: 159.1 kB / 0.6618 GB, free: 1.855 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5935, allocations: 9.781 kB / 0.6618 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5935, allocations: 0 / 0.6618 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.5937, allocations: 45.16 kB / 0.6618 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.5938, allocations: 7.75 kB / 0.6618 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.5956, allocations: 2.568 MB / 0.6643 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.5957, allocations: 10.03 kB / 0.6643 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5957, allocations: 6.906 kB / 0.6644 GB, free: 15.12 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.0001147/0.5958, allocations: 136.7 kB / 0.6645 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.5959, allocations: 29.41 kB / 0.6645 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.5962, allocations: 161 kB / 0.6647 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5962, allocations: 0 / 0.6647 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5962, allocations: 8.062 kB / 0.6647 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5962, allocations: 3.984 kB / 0.6647 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.5967, allocations: 0.5245 MB / 0.6652 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5967, allocations: 2.969 kB / 0.6652 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.5968, allocations: 2.906 kB / 0.6652 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.5969, allocations: 42.28 kB / 0.6652 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5969, allocations: 2.656 kB / 0.6652 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.5987, allocations: 2.575 MB / 0.6678 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5987, allocations: 3.938 kB / 0.6678 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.599, allocations: 335.8 kB / 0.6681 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.5991, allocations: 106 kB / 0.6682 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.5991, allocations: 6.562 kB / 0.6682 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5993, allocations: 0 / 0.6682 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.5993, allocations: 17.27 kB / 0.6682 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.5993, allocations: 2.906 kB / 0.6682 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.5995, allocations: 229.8 kB / 0.6684 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5995, allocations: 0 / 0.6684 GB, free: 10.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.5999, allocations: 49.89 kB / 0.6685 GB, free: 10.98 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.0002413/0.6002, allocations: 155.9 kB / 0.6686 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.6006, allocations: 288.5 kB / 0.6689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6006, allocations: 3.062 kB / 0.6689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.6009, allocations: 245 kB / 0.6691 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.6016, allocations: 62.41 kB / 0.6692 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.6025, allocations: 0.6697 MB / 0.6698 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6029, allocations: 0.757 MB / 0.6706 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.603, allocations: 32.89 kB / 0.6706 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.603, allocations: 18.41 kB / 0.6706 GB, free: 9.027 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.603, allocations: 0 / 0.6706 GB, free: 9.027 MB / 494.1 MB Notification: Performance of Templates: time 0.006975/0.61, allocations: 3.248 MB / 0.6738 GB, free: 7.414 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