Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008566/0.0008568, allocations: 180 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 225.7 MB / 241.9 MB, free: 14.64 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007959/0.0007959, allocations: 90.14 kB / 293 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6237/0.6237, allocations: 90.98 MB / 435.2 MB, free: 32.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8 kB / 0.5029 GB, free: 5.031 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2955, allocations: 69.11 MB / 0.5704 GB, free: 33.94 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1257/0.4213, allocations: 129.3 MB / 0.6967 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.425, allocations: 3.726 MB / 0.7003 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.4252, allocations: 5.406 kB / 0.7003 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.4257, allocations: 111.4 kB / 0.7004 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.4261, allocations: 151.1 kB / 0.7006 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.4266, allocations: 175.4 kB / 0.7007 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.427, allocations: 358.5 kB / 0.7011 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.4271, allocations: 43.75 kB / 0.7011 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.4275, allocations: 155.4 kB / 0.7013 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.4277, allocations: 123.5 kB / 0.7014 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.4277, allocations: 7.938 kB / 0.7014 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.4283, allocations: 323.3 kB / 0.7017 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.4283, allocations: 31.84 kB / 0.7017 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.4284, allocations: 97.31 kB / 0.7018 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.4289, allocations: 287.1 kB / 0.7021 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4289, allocations: 0 / 0.7021 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4289, allocations: 0 / 0.7021 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4289, allocations: 0.5625 kB / 0.7021 GB, free: 6.355 MB / 0.4948 GB 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.0006315/0.4295, allocations: 467.1 kB / 0.7025 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4296, allocations: 11.98 kB / 0.7026 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.4296, allocations: 20.75 kB / 0.7026 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4299, allocations: 228.4 kB / 0.7028 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4299, allocations: 8.375 kB / 0.7028 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.4299, allocations: 14.25 kB / 0.7028 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.4302, allocations: 139.7 kB / 0.703 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4302, allocations: 0 / 0.703 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4302, allocations: 8 kB / 0.703 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4302, allocations: 3.984 kB / 0.703 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.4303, allocations: 79.91 kB / 0.703 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.4311, allocations: 0.752 MB / 0.7038 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.4313, allocations: 121.2 kB / 0.7039 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.4314, allocations: 55.02 kB / 0.7039 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.4314, allocations: 7.984 kB / 0.704 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.4315, allocations: 42.5 kB / 0.704 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.4315, allocations: 0 / 0.704 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0006704/0.4321, allocations: 374 kB / 0.7043 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.4322, allocations: 77.11 kB / 0.7044 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.4324, allocations: 191.8 kB / 0.7046 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4324, allocations: 25.7 kB / 0.7046 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.4325, allocations: 131.9 kB / 0.7048 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.4325, allocations: 43.3 kB / 0.7048 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.4325, allocations: 4 kB / 0.7048 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4326, allocations: 334.8 kB / 0.7051 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.4327, allocations: 37.3 kB / 0.7052 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.4328, allocations: 59.42 kB / 0.7052 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4329, allocations: 100.4 kB / 0.7053 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4329, allocations: 0 / 0.7053 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002858/0.4332, allocations: 176.1 kB / 0.7055 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4333, allocations: 8 kB / 0.7055 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4333, allocations: 0 / 0.7055 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.4335, allocations: 41.64 kB / 0.7055 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.4335, allocations: 23.98 kB / 0.7055 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.4352, allocations: 2.552 MB / 0.708 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.4353, allocations: 11.88 kB / 0.708 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4353, allocations: 8.156 kB / 0.7081 GB, free: 15.63 MB / 0.5105 GB 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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001033/0.4354, allocations: 133.7 kB / 0.7082 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.4355, allocations: 15.81 kB / 0.7082 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.4358, allocations: 166.6 kB / 0.7084 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4358, allocations: 7.938 kB / 0.7084 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4358, allocations: 6.062 kB / 0.7084 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4358, allocations: 0 / 0.7084 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.4361, allocations: 245.5 kB / 0.7086 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4361, allocations: 0 / 0.7086 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.4361, allocations: 12 kB / 0.7086 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.4363, allocations: 37.69 kB / 0.7087 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4363, allocations: 0 / 0.7087 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.4378, allocations: 2.579 MB / 0.7112 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4378, allocations: 0 / 0.7112 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.4382, allocations: 386.1 kB / 0.7115 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.4383, allocations: 92.95 kB / 0.7116 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.4383, allocations: 4 kB / 0.7116 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.4384, allocations: 0 / 0.7116 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.4385, allocations: 17.86 kB / 0.7116 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4385, allocations: 11.92 kB / 0.7117 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001061/0.4386, allocations: 149.5 kB / 0.7118 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4386, allocations: 0 / 0.7118 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003572/0.439, allocations: 44 kB / 0.7118 GB, free: 11.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (sink.inlet.m_flow,sink1.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 (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002025/0.4392, allocations: 166.9 kB / 0.712 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.4397, allocations: 380.8 kB / 0.7124 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4397, allocations: 0 / 0.7124 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.44, allocations: 342.7 kB / 0.7127 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.4405, allocations: 39.97 kB / 0.7127 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.4413, allocations: 0.5694 MB / 0.7133 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4417, allocations: 0.7359 MB / 0.714 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.112e-05/0.4417, allocations: 14.12 kB / 0.714 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.4417, allocations: 15.44 kB / 0.714 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.4418, allocations: 0 / 0.714 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of Templates: time 0.006535/0.4483, allocations: 3.241 MB / 0.7172 GB, free: 5.828 MB / 0.5105 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches