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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007202/0.007202, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 198 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7514/0.7514, allocations: 93.7 MB / 384.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 83.86 kB / 0.5204 GB, free: 5.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1478, allocations: 68.26 MB / 0.5871 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6381/0.7859, allocations: 258.9 MB / 0.8399 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.8068, allocations: 12.94 MB / 0.8525 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.8087, allocations: 75.56 kB / 0.8526 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.8121, allocations: 0.9867 MB / 0.8536 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.4576/1.27, allocations: 5.465 MB / 0.8589 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006852/1.277, allocations: 2.409 MB / 0.8613 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003497/1.28, allocations: 2.053 MB / 0.8633 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007331/1.281, allocations: 400 kB / 0.8636 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/1.284, allocations: 1.315 MB / 0.8649 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/1.286, allocations: 0.7979 MB / 0.8657 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/1.286, allocations: 102.9 kB / 0.8658 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02257/1.309, allocations: 10.6 MB / 0.8762 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009686/1.31, allocations: 389.3 kB / 0.8765 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/1.311, allocations: 0.7095 MB / 0.8772 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02066/1.332, allocations: 6.07 MB / 0.8831 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.332, allocations: 0.9375 kB / 0.8831 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.495e-06/1.332, allocations: 0.875 kB / 0.8831 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.929e-05/1.332, allocations: 0 / 0.8831 GB, free: 2.391 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.009413/1.341, allocations: 2.835 MB / 0.8859 GB, free: 16.92 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.342, allocations: 8.875 kB / 0.8859 GB, free: 16.92 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003884/1.342, allocations: 177.3 kB / 0.8861 GB, free: 16.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/1.344, allocations: 1.074 MB / 0.8871 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/1.344, allocations: 74.8 kB / 0.8872 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.344, allocations: 107 kB / 0.8873 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/1.346, allocations: 1.402 MB / 0.8887 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.346, allocations: 1 kB / 0.8887 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/1.346, allocations: 40.14 kB / 0.8887 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/1.347, allocations: 88.03 kB / 0.8888 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/1.349, allocations: 1.533 MB / 0.8903 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008221/1.357, allocations: 5.833 MB / 0.896 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.359, allocations: 0.8686 MB / 0.8968 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009827/1.36, allocations: 0.6756 MB / 0.8975 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002611/1.362, allocations: 2.399 MB / 0.8999 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/1.362, allocations: 51.84 kB / 0.8999 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=114): time 5.591e-06/1.362, allocations: 0 / 0.8999 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114): time 0.004218/1.367, allocations: 2.113 MB / 0.902 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/1.367, allocations: 92.47 kB / 0.9021 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.368, allocations: 0.9141 MB / 0.9029 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.252e-05/1.368, allocations: 43.55 kB / 0.903 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/1.369, allocations: 0.5401 MB / 0.9035 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/1.369, allocations: 409 kB / 0.9039 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/1.369, allocations: 184.5 kB / 0.9041 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.369, allocations: 343.6 kB / 0.9044 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/1.37, allocations: 461.5 kB / 0.9048 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/1.371, allocations: 0.5214 MB / 0.9054 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/1.372, allocations: 1.046 MB / 0.9064 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.372, allocations: 2.562 kB / 0.9064 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002544/1.375, allocations: 1.392 MB / 0.9077 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.375, allocations: 6.188 kB / 0.9077 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.375, allocations: 0 / 0.9077 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/1.376, allocations: 130.5 kB / 0.9079 GB, free: 9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/1.376, allocations: 191.1 kB / 0.9081 GB, free: 9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/1.38, allocations: 3.353 MB / 0.9113 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/1.381, allocations: 79.92 kB / 0.9114 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/1.381, allocations: 59.39 kB / 0.9115 GB, free: 6.23 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.0006351/1.382, allocations: 286.2 kB / 0.9117 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.382, allocations: 137.7 kB / 0.9119 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/1.385, allocations: 2.05 MB / 0.9139 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.385, allocations: 10.41 kB / 0.9139 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.385, allocations: 3.5 kB / 0.9139 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/1.385, allocations: 7.719 kB / 0.9139 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/1.39, allocations: 3.01 MB / 0.9168 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.39, allocations: 3.406 kB / 0.9168 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/1.391, allocations: 177.1 kB / 0.917 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/1.391, allocations: 124.2 kB / 0.9171 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/1.392, allocations: 41.48 kB / 0.9172 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/1.395, allocations: 3.362 MB / 0.9204 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.395, allocations: 3.438 kB / 0.9204 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/1.398, allocations: 2.237 MB / 0.9226 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/1.399, allocations: 218.4 kB / 0.9228 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/1.399, allocations: 23.03 kB / 0.9229 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/1.399, allocations: 21.69 kB / 0.9229 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.4, allocations: 90.64 kB / 0.923 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.4, allocations: 61.16 kB / 0.923 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009041/1.401, allocations: 0.6742 MB / 0.9237 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.91e-07/1.401, allocations: 0 / 0.9237 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003703/1.404, allocations: 1.016 MB / 0.9247 GB, free: 1.781 MB / 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.004016/1.408, allocations: 1.3 MB / 0.9259 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002785/1.411, allocations: 1.47 MB / 0.9274 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.411, allocations: 0.875 kB / 0.9274 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.413, allocations: 0.9282 MB / 0.9283 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/1.415, allocations: 435 kB / 0.9287 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/1.42, allocations: 2.493 MB / 0.9311 GB, free: 0 / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/1.421, allocations: 1.205 MB / 0.9323 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001578/1.422, allocations: 0.676 MB / 0.933 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/1.422, allocations: 139.5 kB / 0.9331 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.422, allocations: 0 / 0.9331 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.0685/1.491, allocations: 36.49 MB / 0.9687 GB, free: 14.85 MB / 0.7481 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches