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.001219/0.001219, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001654/0.001654, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6731/0.6731, allocations: 89.63 MB / 380.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 8.188 kB / 460 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 68.83 MB / 0.5165 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02177/0.1464, allocations: 21.06 MB / 0.537 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1578, allocations: 8.711 MB / 0.5455 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.1586, allocations: 15.94 kB / 0.5455 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.1598, allocations: 334 kB / 0.5459 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.1619, allocations: 0.6442 MB / 0.5465 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1631, allocations: 366.7 kB / 0.5468 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.1645, allocations: 1.073 MB / 0.5479 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.1649, allocations: 172.6 kB / 0.5481 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/0.1657, allocations: 346.5 kB / 0.5484 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.1663, allocations: 358.3 kB / 0.5487 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1664, allocations: 35.94 kB / 0.5488 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.1679, allocations: 379.7 kB / 0.5491 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1681, allocations: 111.5 kB / 0.5492 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.1683, allocations: 173.3 kB / 0.5494 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1694, allocations: 0.7328 MB / 0.5501 GB, free: 9.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1694, allocations: 0 / 0.5501 GB, free: 9.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1694, allocations: 0 / 0.5501 GB, free: 9.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.1695, allocations: 0 / 0.5501 GB, free: 9.168 MB / 430.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.002075/0.1715, allocations: 1.013 MB / 0.5511 GB, free: 8.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1716, allocations: 16.03 kB / 0.5511 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.1719, allocations: 90.88 kB / 0.5512 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.1726, allocations: 452.5 kB / 0.5516 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.1726, allocations: 57.23 kB / 0.5517 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.1727, allocations: 64 kB / 0.5517 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1739, allocations: 0.6691 MB / 0.5524 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.174, allocations: 0 / 0.5524 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.174, allocations: 24 kB / 0.5524 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1741, allocations: 19.94 kB / 0.5524 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1753, allocations: 0.6258 MB / 0.5531 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005407/0.1807, allocations: 2.98 MB / 0.556 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.1826, allocations: 0.6578 MB / 0.5566 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008137/0.1835, allocations: 291.9 kB / 0.5569 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003341/0.1868, allocations: 1.905 MB / 0.5587 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.1869, allocations: 47.12 kB / 0.5588 GB, free: 15.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.956e-06/0.1869, allocations: 0 / 0.5588 GB, free: 15.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009342/0.1963, allocations: 2.435 MB / 0.5612 GB, free: 13.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.1964, allocations: 89.61 kB / 0.5613 GB, free: 13.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.1972, allocations: 474.9 kB / 0.5617 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.1972, allocations: 37.7 kB / 0.5617 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.1975, allocations: 332.4 kB / 0.5621 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.1978, allocations: 228.6 kB / 0.5623 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1979, allocations: 12 kB / 0.5623 GB, free: 11.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.1981, allocations: 378.7 kB / 0.5626 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.1985, allocations: 205.2 kB / 0.5628 GB, free: 11.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.1989, allocations: 294.8 kB / 0.5631 GB, free: 11.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.1996, allocations: 243.1 kB / 0.5634 GB, free: 10.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.1996, allocations: 4 kB / 0.5634 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006435/0.2061, allocations: 1.354 MB / 0.5647 GB, free: 9.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.2061, allocations: 4 kB / 0.5647 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.2062, allocations: 7.984 kB / 0.5647 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/0.2123, allocations: 0.9312 MB / 0.5656 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.213, allocations: 99.89 kB / 0.5657 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.2165, allocations: 2.838 MB / 0.5685 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/0.2173, allocations: 63.45 kB / 0.5685 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.2175, allocations: 28.06 kB / 0.5686 GB, free: 5.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005335/0.218, allocations: 197.7 kB / 0.5687 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.2183, allocations: 63.16 kB / 0.5688 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006567/0.2249, allocations: 1.467 MB / 0.5702 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.2249, allocations: 8 kB / 0.5702 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2249, allocations: 0 / 0.5702 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.225, allocations: 3.984 kB / 0.5703 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00781/0.2328, allocations: 2.097 MB / 0.5723 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.2328, allocations: 0 / 0.5723 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.2332, allocations: 75.91 kB / 0.5724 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004511/0.2377, allocations: 0.9352 MB / 0.5733 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.2378, allocations: 19.98 kB / 0.5733 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.2405, allocations: 2.83 MB / 0.5761 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.2405, allocations: 7.969 kB / 0.5761 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007605/0.2481, allocations: 1.74 MB / 0.5778 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.2487, allocations: 204.1 kB / 0.578 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.2489, allocations: 12 kB / 0.578 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.2496, allocations: 35.92 kB / 0.578 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.2497, allocations: 44.5 kB / 0.5781 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.2498, allocations: 19.95 kB / 0.5781 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000657/0.2505, allocations: 342.8 kB / 0.5784 GB, free: 10.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2505, allocations: 4 kB / 0.5784 GB, free: 10.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001437/0.2519, allocations: 291.5 kB / 0.5787 GB, free: 10.56 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009755/0.2529, allocations: 392.3 kB / 0.5791 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.255, allocations: 0.6901 MB / 0.5797 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.255, allocations: 0 / 0.5797 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.2561, allocations: 450.3 kB / 0.5802 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.2579, allocations: 192.2 kB / 0.5803 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.2619, allocations: 1.756 MB / 0.5821 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.2626, allocations: 0.9147 MB / 0.583 GB, free: 6.102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005775/0.2632, allocations: 98.84 kB / 0.583 GB, free: 6.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2634, allocations: 51.42 kB / 0.5831 GB, free: 5.969 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2634, allocations: 0 / 0.5831 GB, free: 5.969 MB / 462.1 MB Notification: Performance of Templates: time 0.2602/0.5236, allocations: 14.33 MB / 0.5971 GB, free: 73.01 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches