Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008639/0.0008641, allocations: 177.7 kB / 15.43 MB, free: 5.766 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.196/1.196, allocations: 225.7 MB / 241.9 MB, free: 14.66 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.0006866/0.0006868, allocations: 92.09 kB / 293 MB, free: 4.867 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.6084/0.6084, allocations: 90.99 MB / 435.2 MB, free: 32.89 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 8 kB / 0.5029 GB, free: 5 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3128, allocations: 69.1 MB / 0.5704 GB, free: 33.98 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01289/0.3257, allocations: 17.11 MB / 0.5871 GB, free: 27.8 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.3315, allocations: 8.57 MB / 0.5955 GB, free: 20.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.332, allocations: 9.469 kB / 0.5955 GB, free: 20.62 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.3326, allocations: 246 kB / 0.5957 GB, free: 20.49 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009806/0.3336, allocations: 459.6 kB / 0.5962 GB, free: 20.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007317/0.3344, allocations: 319.2 kB / 0.5965 GB, free: 20.05 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.3351, allocations: 0.8034 MB / 0.5973 GB, free: 19.7 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.3353, allocations: 120.3 kB / 0.5974 GB, free: 19.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.3356, allocations: 254 kB / 0.5976 GB, free: 19.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.3359, allocations: 254.2 kB / 0.5979 GB, free: 19.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.336, allocations: 17.84 kB / 0.5979 GB, free: 19.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/0.3368, allocations: 347.9 kB / 0.5982 GB, free: 19.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.3369, allocations: 80.38 kB / 0.5983 GB, free: 19.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.337, allocations: 259.4 kB / 0.5985 GB, free: 19.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.3379, allocations: 0.7205 MB / 0.5992 GB, free: 18.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3379, allocations: 0 / 0.5992 GB, free: 18.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3379, allocations: 5.875 kB / 0.5993 GB, free: 18.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3379, allocations: 0 / 0.5993 GB, free: 18.86 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001116/0.3391, allocations: 0.7683 MB / 0.6 GB, free: 18.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3391, allocations: 17.42 kB / 0.6 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3393, allocations: 59 kB / 0.6001 GB, free: 18.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.3396, allocations: 359.5 kB / 0.6004 GB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.3397, allocations: 31.31 kB / 0.6004 GB, free: 17.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3397, allocations: 43.88 kB / 0.6005 GB, free: 17.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.3404, allocations: 458 kB / 0.6009 GB, free: 17.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3404, allocations: 4 kB / 0.6009 GB, free: 17.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3404, allocations: 15.69 kB / 0.6009 GB, free: 17.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3405, allocations: 12.81 kB / 0.601 GB, free: 17.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.341, allocations: 414.3 kB / 0.6014 GB, free: 17.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.343, allocations: 2.06 MB / 0.6034 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.3436, allocations: 466.2 kB / 0.6038 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.3439, allocations: 194.7 kB / 0.604 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.345, allocations: 1.435 MB / 0.6054 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3451, allocations: 37.94 kB / 0.6054 GB, free: 14.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.3451, allocations: 5.688 kB / 0.6054 GB, free: 14.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.005104/0.3502, allocations: 1.473 MB / 0.6069 GB, free: 13.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3502, allocations: 86.03 kB / 0.607 GB, free: 13.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.3505, allocations: 325.4 kB / 0.6073 GB, free: 13.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3505, allocations: 32.89 kB / 0.6073 GB, free: 13.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.3506, allocations: 240.1 kB / 0.6075 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.3507, allocations: 154 kB / 0.6077 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.3507, allocations: 4 kB / 0.6077 GB, free: 13.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.3508, allocations: 354.9 kB / 0.608 GB, free: 12.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.351, allocations: 135.5 kB / 0.6081 GB, free: 12.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3512, allocations: 191.2 kB / 0.6083 GB, free: 12.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.3516, allocations: 362.7 kB / 0.6087 GB, free: 12.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3516, allocations: 0 / 0.6087 GB, free: 12.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002238/0.3539, allocations: 0.8009 MB / 0.6095 GB, free: 12.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3539, allocations: 6.531 kB / 0.6095 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3539, allocations: 3.219 kB / 0.6095 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/0.3562, allocations: 485.4 kB / 0.6099 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3564, allocations: 72.86 kB / 0.61 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.3576, allocations: 2.088 MB / 0.612 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.358, allocations: 47.72 kB / 0.6121 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.3581, allocations: 20.11 kB / 0.6121 GB, free: 9.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.3583, allocations: 161.2 kB / 0.6123 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.3584, allocations: 42.41 kB / 0.6123 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.3609, allocations: 0.847 MB / 0.6131 GB, free: 9.508 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.3609, allocations: 3.312 kB / 0.6131 GB, free: 9.508 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3609, allocations: 3.938 kB / 0.6131 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3609, allocations: 6.547 kB / 0.6131 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.364, allocations: 1.396 MB / 0.6145 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.364, allocations: 0 / 0.6145 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3642, allocations: 60.44 kB / 0.6146 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.3665, allocations: 492.9 kB / 0.615 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3665, allocations: 11.16 kB / 0.615 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.3676, allocations: 2.091 MB / 0.6171 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3676, allocations: 3.156 kB / 0.6171 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.3702, allocations: 1.159 MB / 0.6182 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3703, allocations: 158 kB / 0.6184 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.3704, allocations: 11.03 kB / 0.6184 GB, free: 6.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.3706, allocations: 24.66 kB / 0.6184 GB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.3707, allocations: 33.33 kB / 0.6184 GB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3707, allocations: 13.25 kB / 0.6184 GB, free: 6.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3709, allocations: 233.5 kB / 0.6187 GB, free: 5.891 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3709, allocations: 0 / 0.6187 GB, free: 5.891 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005468/0.3715, allocations: 190 kB / 0.6188 GB, free: 5.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.3718, allocations: 303.9 kB / 0.6191 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.3725, allocations: 0.5122 MB / 0.6196 GB, free: 5.418 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3725, allocations: 0 / 0.6196 GB, free: 5.418 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.3729, allocations: 339.7 kB / 0.62 GB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.3737, allocations: 123.4 kB / 0.6201 GB, free: 5.191 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3749, allocations: 1.226 MB / 0.6213 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3751, allocations: 0.8281 MB / 0.6221 GB, free: 3.719 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.3753, allocations: 64.23 kB / 0.6221 GB, free: 3.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3753, allocations: 38.83 kB / 0.6222 GB, free: 3.684 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3754, allocations: 0 / 0.6222 GB, free: 3.684 MB / 442.7 MB Notification: Performance of Templates: time 0.01348/0.3888, allocations: 9.375 MB / 0.6313 GB, free: 2.66 MB / 442.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches