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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001524/0.001524, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001499/0.0015, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6983/0.6983, allocations: 89.45 MB / 380.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002378, allocations: 71.88 kB / 458.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1246, allocations: 67.31 MB / 0.5138 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2035/0.3281, allocations: 22.68 MB / 0.536 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007223/0.3353, allocations: 9.393 MB / 0.5451 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/0.336, allocations: 14.44 kB / 0.5452 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008585/0.3369, allocations: 402 kB / 0.5455 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3385, allocations: 0.7437 MB / 0.5463 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.3394, allocations: 471.9 kB / 0.5467 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.3403, allocations: 1.036 MB / 0.5477 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.3406, allocations: 228.1 kB / 0.548 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.341, allocations: 414.1 kB / 0.5483 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.3414, allocations: 414.5 kB / 0.5487 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.3415, allocations: 61.25 kB / 0.5488 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.3427, allocations: 0.508 MB / 0.5493 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3428, allocations: 152.2 kB / 0.5494 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.3431, allocations: 405.7 kB / 0.5498 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.3451, allocations: 1.073 MB / 0.5509 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3451, allocations: 0 / 0.5509 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3452, allocations: 1.344 kB / 0.5509 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3452, allocations: 0 / 0.5509 GB, free: 29.3 MB / 446.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.002216/0.3474, allocations: 1.142 MB / 0.552 GB, free: 28.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3474, allocations: 14.31 kB / 0.552 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.3477, allocations: 90.12 kB / 0.5521 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.3484, allocations: 475.6 kB / 0.5525 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.3484, allocations: 45.34 kB / 0.5526 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/0.3485, allocations: 65.75 kB / 0.5527 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3495, allocations: 0.6701 MB / 0.5533 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.3496, allocations: 7.484 kB / 0.5533 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.3496, allocations: 23.28 kB / 0.5533 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.3496, allocations: 19.56 kB / 0.5534 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009882/0.3506, allocations: 0.6271 MB / 0.554 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.3535, allocations: 2.985 MB / 0.5569 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.3545, allocations: 0.6616 MB / 0.5575 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.355, allocations: 286.7 kB / 0.5578 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/0.3567, allocations: 1.906 MB / 0.5597 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3567, allocations: 38.19 kB / 0.5597 GB, free: 23.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.575e-06/0.3567, allocations: 0.5625 kB / 0.5597 GB, free: 23.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009642/0.3664, allocations: 2.413 MB / 0.5621 GB, free: 23.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.3665, allocations: 92.66 kB / 0.5621 GB, free: 22.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.3671, allocations: 478.9 kB / 0.5626 GB, free: 22.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.3671, allocations: 37.22 kB / 0.5626 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3673, allocations: 327.7 kB / 0.5629 GB, free: 22.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.3674, allocations: 235.9 kB / 0.5632 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.3676, allocations: 111.7 kB / 0.5633 GB, free: 22.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.3677, allocations: 378.7 kB / 0.5636 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.3681, allocations: 201.6 kB / 0.5638 GB, free: 21.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.3685, allocations: 297.7 kB / 0.5641 GB, free: 21.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.3692, allocations: 0.5307 MB / 0.5646 GB, free: 21.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3692, allocations: 0 / 0.5646 GB, free: 21.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005024/0.3743, allocations: 1.372 MB / 0.566 GB, free: 20.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3743, allocations: 6.531 kB / 0.566 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3743, allocations: 2.375 kB / 0.566 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005115/0.3795, allocations: 0.9357 MB / 0.5669 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.3799, allocations: 100.1 kB / 0.567 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.3818, allocations: 2.946 MB / 0.5699 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.3823, allocations: 58.75 kB / 0.5699 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.3824, allocations: 28.16 kB / 0.57 GB, free: 17.95 MB / 446.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.0002513/0.3827, allocations: 195.7 kB / 0.5701 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3828, allocations: 65.59 kB / 0.5702 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005089/0.3879, allocations: 1.475 MB / 0.5716 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3879, allocations: 7.766 kB / 0.5717 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3879, allocations: 2.656 kB / 0.5717 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.3879, allocations: 3.188 kB / 0.5717 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005724/0.3937, allocations: 2.104 MB / 0.5737 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3937, allocations: 0.6875 kB / 0.5737 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.394, allocations: 75.62 kB / 0.5738 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004865/0.3989, allocations: 0.9373 MB / 0.5747 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.399, allocations: 15.81 kB / 0.5747 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.4009, allocations: 2.947 MB / 0.5776 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4009, allocations: 4.406 kB / 0.5776 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005289/0.4062, allocations: 1.751 MB / 0.5793 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.4066, allocations: 197.3 kB / 0.5795 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.4067, allocations: 12.73 kB / 0.5795 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.4071, allocations: 23.03 kB / 0.5795 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4072, allocations: 44.55 kB / 0.5796 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.4073, allocations: 19.81 kB / 0.5796 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004237/0.4077, allocations: 352 kB / 0.5799 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4077, allocations: 0 / 0.5799 GB, free: 12.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009622/0.4087, allocations: 292.3 kB / 0.5802 GB, free: 12.3 MB / 446.1 MB 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.0005821/0.4093, allocations: 385.9 kB / 0.5806 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.4108, allocations: 0.7169 MB / 0.5813 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4108, allocations: 0 / 0.5813 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.4115, allocations: 449.4 kB / 0.5817 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.4127, allocations: 201.2 kB / 0.5819 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.4152, allocations: 1.432 MB / 0.5833 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.4157, allocations: 0.9093 MB / 0.5842 GB, free: 9.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.4158, allocations: 50.86 kB / 0.5842 GB, free: 9.953 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4158, allocations: 0 / 0.5842 GB, free: 9.953 MB / 446.1 MB Notification: Performance of Templates: time 0.02316/0.439, allocations: 19.79 MB / 0.6036 GB, free: 11.02 MB / 462.1 MB 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