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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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=2000,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=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008174/0.008174, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001742/0.001742, allocations: 201.4 kB / 16.68 MB, free: 5.965 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6627/0.6627, allocations: 91.19 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 79.89 kB / 0.5168 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1413, allocations: 67.69 MB / 0.5829 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5736/0.715, allocations: 258.9 MB / 0.8357 GB, free: 4.727 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4343/1.149, allocations: 12.89 MB / 0.8483 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/1.151, allocations: 75.09 kB / 0.8484 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/1.154, allocations: 0.9899 MB / 0.8494 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0149/1.169, allocations: 5.448 MB / 0.8547 GB, free: 1.715 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00683/1.176, allocations: 2.412 MB / 0.857 GB, free: 1.695 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004475/1.18, allocations: 2.005 MB / 0.859 GB, free: 1.691 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006716/1.181, allocations: 377.2 kB / 0.8593 GB, free: 1.629 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/1.184, allocations: 1.29 MB / 0.8606 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/1.186, allocations: 0.7995 MB / 0.8614 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/1.186, allocations: 100.8 kB / 0.8615 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02199/1.208, allocations: 10.6 MB / 0.8718 GB, free: 1.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007035/1.209, allocations: 388.3 kB / 0.8722 GB, free: 1.52 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.21, allocations: 0.7088 MB / 0.8729 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/1.225, allocations: 6.058 MB / 0.8788 GB, free: 1.125 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.225, allocations: 0 / 0.8788 GB, free: 1.125 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/1.225, allocations: 0 / 0.8788 GB, free: 1.125 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.172e-05/1.225, allocations: 1.031 kB / 0.8788 GB, free: 1.125 MB / 0.67 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.007326/1.233, allocations: 2.816 MB / 0.8816 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.233, allocations: 10.12 kB / 0.8816 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/1.233, allocations: 169 kB / 0.8817 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/1.235, allocations: 1.062 MB / 0.8828 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/1.235, allocations: 73.42 kB / 0.8828 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.236, allocations: 98.58 kB / 0.8829 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.237, allocations: 1.406 MB / 0.8843 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.238, allocations: 3.938 kB / 0.8843 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/1.238, allocations: 38.78 kB / 0.8844 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/1.238, allocations: 90.61 kB / 0.8844 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/1.24, allocations: 1.527 MB / 0.8859 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007404/1.247, allocations: 5.839 MB / 0.8916 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/1.249, allocations: 0.8603 MB / 0.8925 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/1.25, allocations: 0.6721 MB / 0.8931 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002796/1.253, allocations: 2.406 MB / 0.8955 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/1.253, allocations: 44.5 kB / 0.8955 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 6.252e-06/1.253, allocations: 0.8125 kB / 0.8955 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004905/1.258, allocations: 2.109 MB / 0.8976 GB, free: 9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.258, allocations: 92.05 kB / 0.8977 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.259, allocations: 0.8965 MB / 0.8985 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/1.26, allocations: 44.77 kB / 0.8986 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/1.26, allocations: 0.535 MB / 0.8991 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/1.26, allocations: 404.9 kB / 0.8995 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/1.261, allocations: 184.1 kB / 0.8997 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.261, allocations: 344.2 kB / 0.9 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/1.262, allocations: 465.4 kB / 0.9004 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/1.263, allocations: 0.5196 MB / 0.9009 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/1.264, allocations: 1.044 MB / 0.902 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.264, allocations: 0.9062 kB / 0.902 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002344/1.266, allocations: 1.392 MB / 0.9033 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.266, allocations: 16.78 kB / 0.9033 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.266, allocations: 0 / 0.9033 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/1.267, allocations: 130.2 kB / 0.9035 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/1.268, allocations: 179.8 kB / 0.9036 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/1.271, allocations: 3.35 MB / 0.9069 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/1.271, allocations: 81.92 kB / 0.907 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/1.272, allocations: 62.72 kB / 0.9071 GB, free: 4.973 MB / 0.6856 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.0005645/1.272, allocations: 280.8 kB / 0.9073 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/1.273, allocations: 139.3 kB / 0.9075 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/1.276, allocations: 2.042 MB / 0.9094 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/1.276, allocations: 12.47 kB / 0.9095 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.276, allocations: 4.188 kB / 0.9095 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.276, allocations: 12.88 kB / 0.9095 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/1.28, allocations: 2.999 MB / 0.9124 GB, free: 4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/1.28, allocations: 2.438 kB / 0.9124 GB, free: 4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/1.281, allocations: 170.3 kB / 0.9126 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/1.281, allocations: 130.1 kB / 0.9127 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.282, allocations: 42.39 kB / 0.9127 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/1.284, allocations: 3.363 MB / 0.916 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.284, allocations: 3.406 kB / 0.916 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/1.288, allocations: 2.234 MB / 0.9182 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/1.288, allocations: 219.1 kB / 0.9184 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.288, allocations: 25.97 kB / 0.9184 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/1.289, allocations: 19.59 kB / 0.9185 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.289, allocations: 86.75 kB / 0.9185 GB, free: 352 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.289, allocations: 64.89 kB / 0.9186 GB, free: 344 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008291/1.29, allocations: 0.6598 MB / 0.9192 GB, free: 128 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/1.29, allocations: 2.469 kB / 0.9192 GB, free: 128 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002823/1.293, allocations: 1.014 MB / 0.9202 GB, free: 15.9 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.003615/1.296, allocations: 1.3 MB / 0.9215 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.299, allocations: 1.469 MB / 0.9229 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.299, allocations: 0.9844 kB / 0.9229 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.3, allocations: 0.9348 MB / 0.9239 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.302, allocations: 438 kB / 0.9243 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/1.307, allocations: 2.466 MB / 0.9267 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/1.307, allocations: 1.195 MB / 0.9278 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001411/1.309, allocations: 0.6782 MB / 0.9285 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/1.309, allocations: 140.5 kB / 0.9286 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of SimCode: time 3.71e-07/1.309, allocations: 1.203 kB / 0.9286 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of Templates: time 0.05589/1.365, allocations: 36.44 MB / 0.9642 GB, free: 7.246 MB / 0.7325 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile (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) 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) Reference file matches