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.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.001836/0.001836, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002554/0.002554, allocations: 214.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.047/1.047, allocations: 94.62 MB / 407 MB, free: 8.859 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 86.59 kB / 0.5549 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2195, allocations: 73.05 MB / 0.6263 GB, free: 172 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03171/0.2512, allocations: 21.17 MB / 0.647 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.2656, allocations: 8.676 MB / 0.6554 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.267, allocations: 43.62 kB / 0.6555 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.2685, allocations: 361.4 kB / 0.6558 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.2722, allocations: 0.8152 MB / 0.6566 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.2738, allocations: 462.4 kB / 0.657 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.276, allocations: 1.17 MB / 0.6582 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.2763, allocations: 144 kB / 0.6583 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.2774, allocations: 0.5018 MB / 0.6588 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.278, allocations: 397.8 kB / 0.6592 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.2781, allocations: 60 kB / 0.6593 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.2798, allocations: 483.5 kB / 0.6597 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.28, allocations: 159.2 kB / 0.6599 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.2805, allocations: 354 kB / 0.6602 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.2826, allocations: 1.202 MB / 0.6614 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.2826, allocations: 3.984 kB / 0.6614 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.669e-06/0.2826, allocations: 3.938 kB / 0.6614 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.2826, allocations: 0 / 0.6614 GB, free: 12.06 MB / 0.4981 GB 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.002821/0.2854, allocations: 1.208 MB / 0.6626 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.2855, allocations: 12.03 kB / 0.6626 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.2856, allocations: 110.6 kB / 0.6627 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.286, allocations: 116.3 kB / 0.6628 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.2873, allocations: 0.5839 MB / 0.6634 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.2874, allocations: 45.31 kB / 0.6634 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2875, allocations: 67.94 kB / 0.6635 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2887, allocations: 0.6731 MB / 0.6641 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.2887, allocations: 0 / 0.6641 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.2888, allocations: 24 kB / 0.6642 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.2888, allocations: 16 kB / 0.6642 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.29, allocations: 0.6336 MB / 0.6648 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.2938, allocations: 2.129 MB / 0.6669 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.295, allocations: 0.6215 MB / 0.6675 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.2955, allocations: 251.6 kB / 0.6677 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.2972, allocations: 0.7872 MB / 0.6685 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.2972, allocations: 43.22 kB / 0.6685 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.384e-06/0.2972, allocations: 0 / 0.6685 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01044/0.3077, allocations: 2.259 MB / 0.6707 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.3078, allocations: 97.67 kB / 0.6708 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/0.3087, allocations: 0.5981 MB / 0.6714 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.3087, allocations: 37.7 kB / 0.6714 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.3092, allocations: 392.9 kB / 0.6718 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.3094, allocations: 237.9 kB / 0.672 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.3096, allocations: 114.3 kB / 0.6722 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3098, allocations: 330 kB / 0.6725 GB, free: 436 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.3102, allocations: 205.2 kB / 0.6727 GB, free: 232 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.3107, allocations: 307.7 kB / 0.673 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3118, allocations: 0.5366 MB / 0.6735 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.3118, allocations: 8 kB / 0.6735 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005213/0.317, allocations: 1.389 MB / 0.6748 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.317, allocations: 11.94 kB / 0.6749 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3171, allocations: 0 / 0.6749 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005164/0.3222, allocations: 0.9391 MB / 0.6758 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.3227, allocations: 95.89 kB / 0.6759 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.3259, allocations: 2.836 MB / 0.6786 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.3265, allocations: 63.53 kB / 0.6787 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.3266, allocations: 24 kB / 0.6787 GB, free: 9.777 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0005002/0.3271, allocations: 209.8 kB / 0.6789 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.3273, allocations: 83.47 kB / 0.679 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/0.3328, allocations: 1.476 MB / 0.6804 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.3328, allocations: 11.94 kB / 0.6805 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3329, allocations: 8 kB / 0.6805 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3329, allocations: 3.984 kB / 0.6805 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.3393, allocations: 2.016 MB / 0.6824 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3393, allocations: 0 / 0.6824 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.3396, allocations: 71.91 kB / 0.6825 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004953/0.3446, allocations: 0.9468 MB / 0.6834 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.3446, allocations: 12 kB / 0.6834 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/0.3477, allocations: 2.842 MB / 0.6862 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3477, allocations: 12.09 kB / 0.6862 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/0.3534, allocations: 1.771 MB / 0.688 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.3539, allocations: 139.3 kB / 0.6881 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.3539, allocations: 15.94 kB / 0.6881 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.3543, allocations: 16 kB / 0.6881 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3544, allocations: 44.56 kB / 0.6882 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.3545, allocations: 20 kB / 0.6882 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000725/0.3552, allocations: 423 kB / 0.6886 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3552, allocations: 0 / 0.6886 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001157/0.3563, allocations: 291.4 kB / 0.6889 GB, free: 15.09 MB / 0.5294 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 (40): * Single equations (assignments): 37 * 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.006553/0.3629, allocations: 2.585 MB / 0.6914 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.3645, allocations: 0.672 MB / 0.692 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3645, allocations: 0 / 0.692 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007973/0.3653, allocations: 422.8 kB / 0.6924 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.3666, allocations: 227.2 kB / 0.6927 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.3848, allocations: 7.293 MB / 0.6998 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.3852, allocations: 361.5 kB / 0.7001 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000462/0.3857, allocations: 111.2 kB / 0.7002 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.3861, allocations: 303.3 kB / 0.7005 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of SimCode: time 1.984e-06/0.3861, allocations: 3.938 kB / 0.7005 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07481/0.4609, allocations: 23.95 MB / 0.7239 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/17.48, allocations: 4.062 kB / 0.7239 GB, free: 11.27 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.92748783202842]