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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 102.9 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7385/0.7385, allocations: 90.29 MB / 393 MB, free: 4.418 MB / 302.1 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 82.27 kB / 0.5359 GB, free: 42.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1144, allocations: 70.84 MB / 0.6051 GB, free: 404 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02796/0.1424, allocations: 22.88 MB / 0.6274 GB, free: 9.434 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.1544, allocations: 9.425 MB / 0.6366 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006899/0.1551, allocations: 15.94 kB / 0.6366 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.1562, allocations: 409.3 kB / 0.637 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.1584, allocations: 0.7608 MB / 0.6378 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1596, allocations: 474.4 kB / 0.6382 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.161, allocations: 1.034 MB / 0.6392 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.1613, allocations: 151 kB / 0.6394 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.162, allocations: 418.3 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.1625, allocations: 426 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.1626, allocations: 60 kB / 0.6402 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.1638, allocations: 0.5151 MB / 0.6407 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.164, allocations: 155.3 kB / 0.6409 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.1644, allocations: 401.9 kB / 0.6413 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1659, allocations: 1.097 MB / 0.6423 GB, free: 10.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1659, allocations: 0 / 0.6423 GB, free: 10.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1659, allocations: 0 / 0.6423 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.166, allocations: 0 / 0.6423 GB, free: 10.07 MB / 494.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.002117/0.1681, allocations: 1.175 MB / 0.6435 GB, free: 8.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1681, allocations: 8.031 kB / 0.6435 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.1684, allocations: 92.38 kB / 0.6436 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.1691, allocations: 493.8 kB / 0.644 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.1691, allocations: 45.69 kB / 0.6441 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1692, allocations: 68.27 kB / 0.6442 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.1704, allocations: 0.6732 MB / 0.6448 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1704, allocations: 3.938 kB / 0.6448 GB, free: 7.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.1705, allocations: 24 kB / 0.6448 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.1705, allocations: 19.94 kB / 0.6449 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1716, allocations: 0.6258 MB / 0.6455 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.1755, allocations: 2.961 MB / 0.6484 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1766, allocations: 0.6312 MB / 0.649 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.1771, allocations: 251.3 kB / 0.6492 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/0.1794, allocations: 1.901 MB / 0.6511 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1794, allocations: 43.06 kB / 0.6511 GB, free: 460 kB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 1.843e-06/0.1794, allocations: 0 / 0.6511 GB, free: 460 kB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01009/0.1895, allocations: 2.412 MB / 0.6535 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.1896, allocations: 81.67 kB / 0.6535 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/0.1901, allocations: 478.9 kB / 0.654 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.1902, allocations: 33.7 kB / 0.654 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.1904, allocations: 340.9 kB / 0.6544 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.1906, allocations: 242 kB / 0.6546 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.1908, allocations: 114.3 kB / 0.6547 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.191, allocations: 374.7 kB / 0.6551 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.1914, allocations: 205.3 kB / 0.6553 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.1919, allocations: 302.8 kB / 0.6555 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.1928, allocations: 0.5276 MB / 0.6561 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1928, allocations: 0 / 0.6561 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005086/0.1979, allocations: 1.358 MB / 0.6574 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1979, allocations: 4 kB / 0.6574 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1979, allocations: 8 kB / 0.6574 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005095/0.203, allocations: 0.9352 MB / 0.6583 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.2034, allocations: 103.8 kB / 0.6584 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.2064, allocations: 2.945 MB / 0.6613 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.2069, allocations: 63.66 kB / 0.6613 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.2069, allocations: 27.94 kB / 0.6614 GB, free: 5.539 MB / 0.4981 GB 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.0002982/0.2072, allocations: 193.7 kB / 0.6616 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.2074, allocations: 67.52 kB / 0.6616 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/0.2127, allocations: 1.47 MB / 0.6631 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2127, allocations: 8 kB / 0.6631 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2127, allocations: 4 kB / 0.6631 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2127, allocations: 4.172 kB / 0.6631 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.219, allocations: 2.094 MB / 0.6651 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.219, allocations: 4.062 kB / 0.6651 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.2193, allocations: 75.91 kB / 0.6652 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00506/0.2243, allocations: 0.9351 MB / 0.6661 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.2244, allocations: 16 kB / 0.6661 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/0.2272, allocations: 2.937 MB / 0.669 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2272, allocations: 3.938 kB / 0.669 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005557/0.2327, allocations: 1.741 MB / 0.6707 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.2331, allocations: 200.7 kB / 0.6709 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.2332, allocations: 23.88 kB / 0.6709 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.2335, allocations: 19.98 kB / 0.6709 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.2337, allocations: 44.5 kB / 0.671 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.2337, allocations: 19.94 kB / 0.671 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004696/0.2342, allocations: 342.9 kB / 0.6713 GB, free: 11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2342, allocations: 4 kB / 0.6713 GB, free: 11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008553/0.235, allocations: 295.3 kB / 0.6716 GB, free: 10.71 MB / 0.5137 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.0005795/0.2356, allocations: 382.9 kB / 0.672 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.237, allocations: 0.6743 MB / 0.6726 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.237, allocations: 0 / 0.6726 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.2378, allocations: 414.4 kB / 0.673 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.2389, allocations: 218.5 kB / 0.6732 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.2413, allocations: 1.408 MB / 0.6746 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.2419, allocations: 0.9147 MB / 0.6755 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002904/0.2422, allocations: 88.86 kB / 0.6756 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2423, allocations: 55.42 kB / 0.6756 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2423, allocations: 0 / 0.6756 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of Templates: time 0.02678/0.2691, allocations: 15.76 MB / 0.691 GB, free: 6.91 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.956867501139641]