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.001482/0.001482, allocations: 75.09 kB / 19.16 MB, free: 2.57 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.001576/0.001576, allocations: 172.5 kB / 22.44 MB, free: 5.312 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.489/1.489, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.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 0.7948/0.7948, allocations: 74.9 MB / 334.1 MB, free: 12 kB / 302.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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Processes.Tests.Nozzle") [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.002794/0.002794, allocations: 84.88 kB / 496 MB, free: 29.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1424, allocations: 73.03 MB / 0.5557 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6233/0.7656, allocations: 226.6 MB / 0.777 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.7835, allocations: 11.76 MB / 0.7884 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.7851, allocations: 105.7 kB / 0.7885 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003386/0.7885, allocations: 0.8772 MB / 0.7894 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01747/0.806, allocations: 5.515 MB / 0.7948 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007561/0.8135, allocations: 2.472 MB / 0.7972 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.817, allocations: 2.065 MB / 0.7992 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.8176, allocations: 235.3 kB / 0.7994 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.8217, allocations: 1.735 MB / 0.8011 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.8232, allocations: 0.7718 MB / 0.8019 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002982/0.8235, allocations: 100.3 kB / 0.802 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.8416, allocations: 8.788 MB / 0.8106 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007756/0.8424, allocations: 390.5 kB / 0.8109 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.8438, allocations: 0.5712 MB / 0.8115 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.8607, allocations: 5.869 MB / 0.8172 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.8607, allocations: 0 / 0.8172 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8607, allocations: 7.938 kB / 0.8172 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.918e-05/0.8608, allocations: 0 / 0.8172 GB, free: 5.422 MB / 0.6231 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.007933/0.8688, allocations: 2.752 MB / 0.8199 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8688, allocations: 16.03 kB / 0.8199 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.8693, allocations: 178.8 kB / 0.8201 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.8716, allocations: 0.9746 MB / 0.8211 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.8716, allocations: 73.98 kB / 0.8211 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.8718, allocations: 104 kB / 0.8212 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.8743, allocations: 1.42 MB / 0.8226 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.8744, allocations: 4 kB / 0.8226 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/0.8745, allocations: 39.98 kB / 0.8227 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.8746, allocations: 85.94 kB / 0.8227 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.8771, allocations: 1.562 MB / 0.8243 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00834/0.8855, allocations: 3.716 MB / 0.8279 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.8872, allocations: 0.7708 MB / 0.8287 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.8883, allocations: 0.5941 MB / 0.8292 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.8894, allocations: 316.7 kB / 0.8295 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.8894, allocations: 47.56 kB / 0.8296 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 4.368e-06/0.8894, allocations: 0 / 0.8296 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004716/0.8942, allocations: 1.942 MB / 0.8315 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.8942, allocations: 94.05 kB / 0.8316 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.8955, allocations: 0.8044 MB / 0.8324 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.8956, allocations: 45.7 kB / 0.8324 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.8961, allocations: 0.5409 MB / 0.8329 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/0.8966, allocations: 412.4 kB / 0.8333 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.897, allocations: 190.6 kB / 0.8335 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.8972, allocations: 341.9 kB / 0.8338 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/0.898, allocations: 453.8 kB / 0.8343 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.899, allocations: 0.5239 MB / 0.8348 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.901, allocations: 1.045 MB / 0.8358 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.901, allocations: 0 / 0.8358 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002838/0.9038, allocations: 1.381 MB / 0.8371 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.9038, allocations: 9.875 kB / 0.8371 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.9038, allocations: 0 / 0.8371 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.9043, allocations: 125.2 kB / 0.8373 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/0.9051, allocations: 187.8 kB / 0.8374 GB, free: 416 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.9088, allocations: 3.082 MB / 0.8405 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.9095, allocations: 63.48 kB / 0.8405 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/0.9097, allocations: 63.97 kB / 0.8406 GB, free: 13 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.0007229/0.9104, allocations: 281.7 kB / 0.8408 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/0.9109, allocations: 131.2 kB / 0.841 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.9151, allocations: 2.049 MB / 0.843 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.9152, allocations: 12 kB / 0.843 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9152, allocations: 4 kB / 0.843 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.9152, allocations: 3.984 kB / 0.843 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00519/0.9204, allocations: 2.66 MB / 0.8456 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.9204, allocations: 0 / 0.8456 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.9211, allocations: 175.8 kB / 0.8458 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.9215, allocations: 125.6 kB / 0.8459 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.9217, allocations: 43.97 kB / 0.8459 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.9252, allocations: 3.096 MB / 0.8489 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.9252, allocations: 7.922 kB / 0.849 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.9293, allocations: 2.215 MB / 0.8511 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.9296, allocations: 127 kB / 0.8512 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.9298, allocations: 27.98 kB / 0.8513 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.9303, allocations: 19.98 kB / 0.8513 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.9305, allocations: 92.91 kB / 0.8514 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.9307, allocations: 59.97 kB / 0.8514 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000902/0.9316, allocations: 0.5846 MB / 0.852 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9316, allocations: 0 / 0.852 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002933/0.9345, allocations: 1.04 MB / 0.853 GB, free: 15.92 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.003998/0.9385, allocations: 1.286 MB / 0.8543 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003018/0.9415, allocations: 1.392 MB / 0.8556 GB, free: 13.21 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9415, allocations: 0 / 0.8556 GB, free: 13.21 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.9431, allocations: 0.8659 MB / 0.8565 GB, free: 12.32 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.9449, allocations: 376 kB / 0.8568 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.9501, allocations: 2.493 MB / 0.8593 GB, free: 9.434 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/0.951, allocations: 0.6092 MB / 0.8599 GB, free: 8.789 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001688/0.9527, allocations: 0.6703 MB / 0.8605 GB, free: 8.117 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.9531, allocations: 136.5 kB / 0.8606 GB, free: 7.984 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.9531, allocations: 0 / 0.8606 GB, free: 7.984 MB / 0.67 GB Notification: Performance of Templates: time 0.06293/1.016, allocations: 35.42 MB / 0.8952 GB, free: 4.852 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 8.356358541175723]