Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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.002248/0.002248, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00185/0.00185, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.717/1.717, allocations: 230.6 MB / 256 MB, free: 7.809 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.091/1.091, allocations: 94.63 MB / 407.1 MB, free: 8.93 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.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",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.00258/0.00258, allocations: 83.53 kB / 0.5549 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.216, allocations: 73.05 MB / 0.6263 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 1.071/1.287, allocations: 226.7 MB / 0.8477 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02413/1.311, allocations: 11.77 MB / 0.8592 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/1.314, allocations: 105.9 kB / 0.8593 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004116/1.318, allocations: 0.8878 MB / 0.8602 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02532/1.343, allocations: 5.49 MB / 0.8655 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/1.354, allocations: 2.465 MB / 0.8679 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005179/1.359, allocations: 2.06 MB / 0.8699 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/1.36, allocations: 236 kB / 0.8702 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/1.365, allocations: 1.393 MB / 0.8715 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/1.366, allocations: 0.7774 MB / 0.8723 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/1.366, allocations: 100 kB / 0.8724 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02485/1.391, allocations: 8.76 MB / 0.8809 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/1.392, allocations: 394.5 kB / 0.8813 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/1.394, allocations: 0.5751 MB / 0.8819 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02659/1.42, allocations: 5.819 MB / 0.8876 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/1.42, allocations: 0 / 0.8876 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.226e-06/1.42, allocations: 0 / 0.8876 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.026e-05/1.42, allocations: 0 / 0.8876 GB, free: 13.26 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.008834/1.429, allocations: 2.756 MB / 0.8903 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.879e-05/1.429, allocations: 8.031 kB / 0.8903 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/1.429, allocations: 156.3 kB / 0.8904 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/1.43, allocations: 174.9 kB / 0.8906 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/1.432, allocations: 0.978 MB / 0.8915 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.288e-05/1.432, allocations: 70 kB / 0.8916 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/1.432, allocations: 99.98 kB / 0.8917 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/1.435, allocations: 1.42 MB / 0.8931 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/1.435, allocations: 4 kB / 0.8931 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/1.435, allocations: 39.98 kB / 0.8931 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/1.435, allocations: 86.83 kB / 0.8932 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/1.438, allocations: 1.562 MB / 0.8947 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008723/1.446, allocations: 3.877 MB / 0.8985 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/1.448, allocations: 0.7768 MB / 0.8993 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009997/1.449, allocations: 0.5903 MB / 0.8999 GB, free: 464 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.45, allocations: 320.6 kB / 0.9002 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/1.45, allocations: 47.56 kB / 0.9002 GB, free: 84 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.797e-06/1.45, allocations: 0 / 0.9002 GB, free: 84 kB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004624/1.455, allocations: 1.957 MB / 0.9021 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/1.455, allocations: 86.11 kB / 0.9022 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/1.457, allocations: 0.9236 MB / 0.9031 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/1.457, allocations: 45.64 kB / 0.9031 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/1.457, allocations: 0.5377 MB / 0.9037 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/1.458, allocations: 416.3 kB / 0.9041 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/1.458, allocations: 186.6 kB / 0.9042 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002183/1.458, allocations: 345.9 kB / 0.9046 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008791/1.459, allocations: 461.8 kB / 0.905 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009705/1.46, allocations: 0.5161 MB / 0.9055 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/1.462, allocations: 1.044 MB / 0.9065 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.462, allocations: 0 / 0.9065 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003001/1.465, allocations: 1.392 MB / 0.9079 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/1.465, allocations: 7.938 kB / 0.9079 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.465, allocations: 4 kB / 0.9079 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/1.466, allocations: 126.5 kB / 0.908 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/1.466, allocations: 183.8 kB / 0.9082 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/1.47, allocations: 3.124 MB / 0.9113 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/1.471, allocations: 80.52 kB / 0.9113 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/1.471, allocations: 59.97 kB / 0.9114 GB, free: 4.305 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 98 * Array equations: 8 * 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): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007976/1.472, allocations: 279.8 kB / 0.9117 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/1.473, allocations: 147 kB / 0.9118 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/1.477, allocations: 2.043 MB / 0.9138 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/1.477, allocations: 12 kB / 0.9138 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.477, allocations: 8 kB / 0.9138 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.477, allocations: 7.922 kB / 0.9138 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/1.482, allocations: 2.778 MB / 0.9165 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/1.482, allocations: 4 kB / 0.9165 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/1.483, allocations: 167.8 kB / 0.9167 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/1.483, allocations: 129.5 kB / 0.9168 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/1.483, allocations: 40.05 kB / 0.9169 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003386/1.487, allocations: 3.134 MB / 0.9199 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.487, allocations: 8.062 kB / 0.9199 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/1.491, allocations: 2.233 MB / 0.9221 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/1.491, allocations: 146.8 kB / 0.9222 GB, free: 8.82 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.491, allocations: 27.98 kB / 0.9223 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/1.492, allocations: 16 kB / 0.9223 GB, free: 8.777 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.492, allocations: 92.83 kB / 0.9224 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.492, allocations: 55.97 kB / 0.9224 GB, free: 8.633 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001096/1.493, allocations: 0.6741 MB / 0.9231 GB, free: 7.953 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.493, allocations: 0 / 0.9231 GB, free: 7.953 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003403/1.496, allocations: 1.032 MB / 0.9241 GB, free: 6.918 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow) * 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 (102): * Single equations (assignments): 92 * Array equations: 8 * 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): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008217/1.505, allocations: 4.013 MB / 0.928 GB, free: 2.867 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002878/1.508, allocations: 1.388 MB / 0.9294 GB, free: 1.457 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.508, allocations: 0 / 0.9294 GB, free: 1.457 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.509, allocations: 0.8659 MB / 0.9302 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/1.511, allocations: 438.2 kB / 0.9306 GB, free: 156 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.531, allocations: 10.39 MB / 0.9408 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/1.531, allocations: 0.6057 MB / 0.9414 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001915/1.533, allocations: 0.6782 MB / 0.942 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000956/1.534, allocations: 0.5657 MB / 0.9426 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of SimCode: time 2.475e-06/1.534, allocations: 3.938 kB / 0.9426 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/1.686, allocations: 52.57 MB / 0.9939 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/18.56, allocations: 3.938 kB / 0.9939 GB, free: 15.6 MB / 0.7481 GB " [Timeout remaining time 641] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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: 23.41675217729062]