Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108 kB / 16.41 MB, free: 6.027 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.001176/0.001176, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7348/0.7348, allocations: 91.19 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 75.88 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3784, allocations: 67.69 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01986/0.3983, allocations: 22.84 MB / 0.6059 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.4092, allocations: 9.446 MB / 0.6151 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.4105, allocations: 31.81 kB / 0.6152 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.4119, allocations: 413.2 kB / 0.6156 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.4149, allocations: 0.7839 MB / 0.6163 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.4165, allocations: 478.4 kB / 0.6168 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.4184, allocations: 1.135 MB / 0.6179 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.4189, allocations: 243.1 kB / 0.6181 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.4199, allocations: 477.9 kB / 0.6186 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007486/0.4207, allocations: 437.8 kB / 0.619 GB, free: 9.742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.4209, allocations: 60 kB / 0.6191 GB, free: 9.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.4227, allocations: 0.5034 MB / 0.6196 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.4229, allocations: 159.3 kB / 0.6197 GB, free: 9.023 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006548/0.4236, allocations: 433.5 kB / 0.6201 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.4262, allocations: 1.197 MB / 0.6213 GB, free: 7.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4262, allocations: 0 / 0.6213 GB, free: 7.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4262, allocations: 0 / 0.6213 GB, free: 7.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.488e-05/0.4263, allocations: 0 / 0.6213 GB, free: 7.398 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002805/0.4291, allocations: 1.254 MB / 0.6225 GB, free: 6.094 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4291, allocations: 15.97 kB / 0.6225 GB, free: 6.078 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.4294, allocations: 103.7 kB / 0.6226 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4306, allocations: 0.6438 MB / 0.6233 GB, free: 5.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.4306, allocations: 45.31 kB / 0.6233 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.4307, allocations: 68 kB / 0.6234 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009866/0.4317, allocations: 0.673 MB / 0.624 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4317, allocations: 0 / 0.624 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.4318, allocations: 28 kB / 0.624 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4318, allocations: 12 kB / 0.6241 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/0.4328, allocations: 0.6258 MB / 0.6247 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/0.4362, allocations: 2.999 MB / 0.6276 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4372, allocations: 0.6715 MB / 0.6283 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.4376, allocations: 279.3 kB / 0.6285 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001954/0.4395, allocations: 1.916 MB / 0.6304 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4396, allocations: 39.12 kB / 0.6304 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.4396, allocations: 0 / 0.6304 GB, free: 13.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.009325/0.4489, allocations: 2.428 MB / 0.6328 GB, free: 10.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.449, allocations: 85.61 kB / 0.6329 GB, free: 10.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.4496, allocations: 0.5902 MB / 0.6335 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.4497, allocations: 37.7 kB / 0.6335 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.45, allocations: 376.3 kB / 0.6339 GB, free: 9.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.4501, allocations: 228.7 kB / 0.6341 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.4503, allocations: 114.2 kB / 0.6342 GB, free: 9.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4505, allocations: 394.8 kB / 0.6346 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.4508, allocations: 205.2 kB / 0.6348 GB, free: 8.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.4512, allocations: 294.8 kB / 0.635 GB, free: 8.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/0.452, allocations: 0.5276 MB / 0.6356 GB, free: 7.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.452, allocations: 4 kB / 0.6356 GB, free: 7.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004702/0.4567, allocations: 1.381 MB / 0.6369 GB, free: 6.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4567, allocations: 4 kB / 0.6369 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4568, allocations: 4 kB / 0.6369 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004864/0.4616, allocations: 0.9313 MB / 0.6378 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.462, allocations: 99.89 kB / 0.6379 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.4644, allocations: 2.933 MB / 0.6408 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/0.4648, allocations: 71.33 kB / 0.6408 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.4649, allocations: 20 kB / 0.6409 GB, free: 2.312 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003199/0.4652, allocations: 209.6 kB / 0.6411 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.4654, allocations: 79.05 kB / 0.6411 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/0.4704, allocations: 1.49 MB / 0.6426 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4704, allocations: 4 kB / 0.6426 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4704, allocations: 7.938 kB / 0.6426 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4704, allocations: 3.984 kB / 0.6426 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.4762, allocations: 2.137 MB / 0.6447 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4762, allocations: 4.031 kB / 0.6447 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.4765, allocations: 75.91 kB / 0.6448 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004882/0.4814, allocations: 0.9351 MB / 0.6457 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.4815, allocations: 15.98 kB / 0.6457 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.4838, allocations: 2.948 MB / 0.6486 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4838, allocations: 4.031 kB / 0.6486 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005273/0.4891, allocations: 1.76 MB / 0.6503 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.4895, allocations: 211.9 kB / 0.6505 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.4896, allocations: 12 kB / 0.6505 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.4899, allocations: 12 kB / 0.6505 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.49, allocations: 48.48 kB / 0.6506 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.4901, allocations: 20 kB / 0.6506 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005091/0.4906, allocations: 427 kB / 0.651 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4906, allocations: 0 / 0.651 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008849/0.4915, allocations: 299.5 kB / 0.6513 GB, free: 7.289 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005961/0.4921, allocations: 391.6 kB / 0.6517 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.4934, allocations: 0.6901 MB / 0.6523 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4934, allocations: 4 kB / 0.6523 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006982/0.4941, allocations: 450.3 kB / 0.6528 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4952, allocations: 219.3 kB / 0.653 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.4976, allocations: 1.548 MB / 0.6545 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.4981, allocations: 0.9464 MB / 0.6554 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.4983, allocations: 63.42 kB / 0.6555 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4983, allocations: 0 / 0.6555 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.02338/0.5217, allocations: 22.17 MB / 0.6771 GB, free: 12.77 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches