Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9976/0.9976, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.758/0.758, allocations: 118.6 MB / 378.9 MB, free: 1.336 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.546e-05, allocations: 5.406 kB / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.006411/0.006427, allocations: 7.16 MB / 438 MB, free: 6.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.009073, allocations: 2.138 MB / 440.1 MB, free: 3.945 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.009501, allocations: 39.62 kB / 440.2 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.009872, allocations: 134.7 kB / 440.3 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009559/0.01083, allocations: 0.5003 MB / 440.8 MB, free: 3.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.0113, allocations: 227.3 kB / 441 MB, free: 3.047 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009064/0.01221, allocations: 0.9132 MB / 441.9 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.01241, allocations: 106.7 kB / 442 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008022/0.01321, allocations: 0.514 MB / 442.6 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.0135, allocations: 231.2 kB / 442.8 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.01355, allocations: 36 kB / 442.8 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.01388, allocations: 167.8 kB / 443 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.01396, allocations: 111.4 kB / 443.1 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.01412, allocations: 203.4 kB / 443.3 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006762/0.0148, allocations: 0.6225 MB / 443.9 MB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.0148, allocations: 0 / 443.9 MB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0148, allocations: 0 / 443.9 MB, free: 148 kB / 410.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.01481, allocations: 4 kB / 443.9 MB, free: 144 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.2063/0.2211, allocations: 0.8951 MB / 444.8 MB, free: 19.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.2212, allocations: 7.312 kB / 444.8 MB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.2215, allocations: 102.6 kB / 444.9 MB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.2222, allocations: 496.4 kB / 445.4 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.2222, allocations: 32.77 kB / 445.4 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.2223, allocations: 42.22 kB / 445.5 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.2227, allocations: 333.2 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2227, allocations: 1.125 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2227, allocations: 19.72 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2227, allocations: 11.84 kB / 445.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.223, allocations: 158 kB / 446 MB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2241, allocations: 1.167 MB / 447.2 MB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.2244, allocations: 274.2 kB / 447.4 MB, free: 18.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.2245, allocations: 92.5 kB / 447.5 MB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.2252, allocations: 0.5746 MB / 448.1 MB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2252, allocations: 36.69 kB / 448.1 MB, free: 18.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.2252, allocations: 0 / 448.1 MB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009995/0.2262, allocations: 450.5 kB / 448.6 MB, free: 18.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.2262, allocations: 86.39 kB / 448.7 MB, free: 18.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.2265, allocations: 462 kB / 449.1 MB, free: 17.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2265, allocations: 31.61 kB / 449.1 MB, free: 17.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.2266, allocations: 253 kB / 449.4 MB, free: 17.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.2266, allocations: 136.9 kB / 449.5 MB, free: 17.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.2267, allocations: 77.02 kB / 449.6 MB, free: 17.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.2268, allocations: 374.7 kB / 450 MB, free: 17.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.2268, allocations: 37.64 kB / 450 MB, free: 17.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-05/0.2269, allocations: 124.8 kB / 450.1 MB, free: 17.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.2271, allocations: 210.8 kB / 450.3 MB, free: 17.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2271, allocations: 2.016 kB / 450.3 MB, free: 17.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003962/0.2275, allocations: 301.8 kB / 450.6 MB, free: 17.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2275, allocations: 7.25 kB / 450.6 MB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2275, allocations: 9.672 kB / 450.6 MB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.228, allocations: 158.3 kB / 450.8 MB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2282, allocations: 81.14 kB / 450.9 MB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007473/0.2289, allocations: 1.782 MB / 452.7 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2291, allocations: 41.34 kB / 452.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2291, allocations: 14.77 kB / 452.7 MB, free: 15.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (40): * 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: 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,6)} Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/0.2292, allocations: 138.5 kB / 452.8 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.2293, allocations: 48.62 kB / 452.9 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.2297, allocations: 346.5 kB / 453.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2297, allocations: 4.125 kB / 453.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2297, allocations: 3.375 kB / 453.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2297, allocations: 5.234 kB / 453.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.2305, allocations: 0.6129 MB / 453.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2305, allocations: 3.594 kB / 453.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.2307, allocations: 50.88 kB / 453.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.2311, allocations: 159.3 kB / 454.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.2312, allocations: 10.03 kB / 454.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006198/0.2318, allocations: 1.785 MB / 455.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2318, allocations: 1.375 kB / 455.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.2323, allocations: 499.3 kB / 456.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.2324, allocations: 72.91 kB / 456.4 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.2324, allocations: 13.69 kB / 456.4 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2325, allocations: 7.766 kB / 456.4 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.2326, allocations: 33.92 kB / 456.5 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2326, allocations: 8.109 kB / 456.5 MB, free: 13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.2328, allocations: 216.6 kB / 456.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2328, allocations: 0.75 kB / 456.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.2331, allocations: 167.3 kB / 456.9 MB, free: 12.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001708/0.2333, allocations: 132.3 kB / 457 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.2337, allocations: 308.9 kB / 457.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.2338, allocations: 6.5 kB / 457.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.2339, allocations: 242.8 kB / 457.5 MB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.2345, allocations: 193.8 kB / 457.7 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2358, allocations: 1.034 MB / 458.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.2359, allocations: 129.5 kB / 458.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.2361, allocations: 76.48 kB / 459 MB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.2363, allocations: 187.8 kB / 459.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2363, allocations: 3.5 kB / 459.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01109/0.2474, allocations: 9.3 MB / 468.4 MB, free: 4.973 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.726563734933734]