Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.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.001657/0.001657, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001555/0.001555, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.582/1.582, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6668/0.6668, allocations: 94.59 MB / 397.3 MB, free: 0.4922 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-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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 79.88 kB / 0.5416 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.5145, allocations: 71.84 MB / 0.6118 GB, free: 3.973 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.3515/0.866, allocations: 259.9 MB / 0.8656 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5084/1.374, allocations: 12.97 MB / 0.8782 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/1.376, allocations: 75.84 kB / 0.8783 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002649/1.379, allocations: 1.034 MB / 0.8793 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01618/1.395, allocations: 5.548 MB / 0.8847 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007216/1.402, allocations: 2.426 MB / 0.8871 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003869/1.406, allocations: 2.064 MB / 0.8891 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/1.407, allocations: 261.8 kB / 0.8894 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/1.41, allocations: 1.338 MB / 0.8907 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/1.411, allocations: 0.8403 MB / 0.8915 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003576/1.412, allocations: 101.4 kB / 0.8916 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02433/1.436, allocations: 10.96 MB / 0.9023 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009838/1.437, allocations: 396.8 kB / 0.9027 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/1.438, allocations: 0.7073 MB / 0.9033 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01868/1.457, allocations: 6.085 MB / 0.9093 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.457, allocations: 0 / 0.9093 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.683e-06/1.457, allocations: 0 / 0.9093 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.927e-05/1.457, allocations: 0.9375 kB / 0.9093 GB, free: 1.395 MB / 0.6856 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.007111/1.464, allocations: 2.834 MB / 0.9121 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.464, allocations: 11.62 kB / 0.9121 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/1.464, allocations: 153.3 kB / 0.9122 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/1.465, allocations: 174.4 kB / 0.9124 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/1.467, allocations: 1.078 MB / 0.9134 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/1.467, allocations: 72.94 kB / 0.9135 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/1.467, allocations: 102.2 kB / 0.9136 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/1.469, allocations: 1.399 MB / 0.915 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.469, allocations: 0 / 0.915 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/1.469, allocations: 41.62 kB / 0.915 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/1.469, allocations: 91.56 kB / 0.9151 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/1.471, allocations: 1.523 MB / 0.9166 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008354/1.479, allocations: 5.848 MB / 0.9223 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.481, allocations: 0.7814 MB / 0.9231 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/1.482, allocations: 0.5916 MB / 0.9236 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002401/1.484, allocations: 2.403 MB / 0.926 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.484, allocations: 53.59 kB / 0.926 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=114): time 3.066e-06/1.484, allocations: 0.9375 kB / 0.926 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114): time 0.004198/1.488, allocations: 2.103 MB / 0.9281 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/1.488, allocations: 91.27 kB / 0.9282 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/1.49, allocations: 0.9126 MB / 0.9291 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/1.49, allocations: 44.86 kB / 0.9291 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/1.49, allocations: 0.5397 MB / 0.9296 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/1.491, allocations: 409.5 kB / 0.93 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/1.491, allocations: 186.1 kB / 0.9302 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.491, allocations: 343.6 kB / 0.9305 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007639/1.492, allocations: 460.6 kB / 0.931 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/1.493, allocations: 0.523 MB / 0.9315 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/1.494, allocations: 1.047 MB / 0.9325 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/1.494, allocations: 4.906 kB / 0.9325 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002343/1.497, allocations: 1.394 MB / 0.9339 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/1.497, allocations: 5.188 kB / 0.9339 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/1.497, allocations: 1.031 kB / 0.9339 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/1.497, allocations: 117.9 kB / 0.934 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/1.498, allocations: 188 kB / 0.9342 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/1.501, allocations: 3.365 MB / 0.9375 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/1.502, allocations: 71.09 kB / 0.9375 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/1.502, allocations: 68 kB / 0.9376 GB, free: 5.188 MB / 0.7012 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.0004782/1.503, allocations: 291.9 kB / 0.9379 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/1.503, allocations: 141.8 kB / 0.938 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003615/1.507, allocations: 2.031 MB / 0.94 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.507, allocations: 16.62 kB / 0.94 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.507, allocations: 10.67 kB / 0.94 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.507, allocations: 6.422 kB / 0.94 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/1.512, allocations: 3.007 MB / 0.943 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.512, allocations: 3.781 kB / 0.943 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/1.512, allocations: 166.3 kB / 0.9431 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/1.513, allocations: 128.1 kB / 0.9432 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/1.513, allocations: 46.12 kB / 0.9433 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003346/1.516, allocations: 3.354 MB / 0.9466 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.516, allocations: 6.438 kB / 0.9466 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/1.52, allocations: 2.228 MB / 0.9487 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/1.52, allocations: 221.2 kB / 0.9489 GB, free: 496 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/1.521, allocations: 27.17 kB / 0.949 GB, free: 492 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/1.521, allocations: 20.66 kB / 0.949 GB, free: 492 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.521, allocations: 86.84 kB / 0.9491 GB, free: 460 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.521, allocations: 59.88 kB / 0.9491 GB, free: 452 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009863/1.522, allocations: 0.671 MB / 0.9498 GB, free: 236 kB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.522, allocations: 3.031 kB / 0.9498 GB, free: 236 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003283/1.526, allocations: 1.015 MB / 0.9508 GB, free: 0 / 0.7012 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.00699/1.533, allocations: 4.027 MB / 0.9547 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.535, allocations: 1.397 MB / 0.9561 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.535, allocations: 0.8125 kB / 0.9561 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.536, allocations: 0.8655 MB / 0.9569 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.538, allocations: 430.6 kB / 0.9573 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/1.555, allocations: 10.37 MB / 0.9675 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.556, allocations: 1.199 MB / 0.9686 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001517/1.558, allocations: 0.6823 MB / 0.9693 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/1.559, allocations: 0.5607 MB / 0.9698 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/1.559, allocations: 0 / 0.9698 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/1.67, allocations: 50.13 MB / 1.019 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/16.42, allocations: 11.95 kB / 1.019 GB, free: 2.504 MB / 0.7637 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 20.293282404076308]