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.002283/0.002283, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002794/0.002794, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.078/1.078, allocations: 118.6 MB / 378.2 MB, free: 1.469 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 482.9 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.049e-05, allocations: 10.14 kB / 482.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6939/0.694, allocations: 262.1 MB / 0.7275 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009088/0.7031, allocations: 6.204 MB / 0.7336 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.7053, allocations: 120.8 kB / 0.7337 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.7084, allocations: 0.9056 MB / 0.7346 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01791/0.7263, allocations: 5.729 MB / 0.7402 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007868/0.7342, allocations: 2.53 MB / 0.7426 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003584/0.7377, allocations: 2.344 MB / 0.7449 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000935/0.7387, allocations: 237.2 kB / 0.7451 GB, free: 23.35 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/0.7434, allocations: 1.777 MB / 0.7469 GB, free: 22.44 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.7451, allocations: 0.6988 MB / 0.7476 GB, free: 22.14 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004205/0.7455, allocations: 101.1 kB / 0.7477 GB, free: 22.14 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/0.7647, allocations: 8.839 MB / 0.7563 GB, free: 18.47 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007553/0.7655, allocations: 423.1 kB / 0.7567 GB, free: 18.18 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.7669, allocations: 0.5061 MB / 0.7572 GB, free: 17.98 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.7852, allocations: 6.614 MB / 0.7636 GB, free: 14.68 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.7852, allocations: 0 / 0.7636 GB, free: 14.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7853, allocations: 0 / 0.7636 GB, free: 14.68 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.381e-05/0.7853, allocations: 0 / 0.7636 GB, free: 14.68 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.008536/0.7939, allocations: 3.033 MB / 0.7666 GB, free: 12.55 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7939, allocations: 15.28 kB / 0.7666 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007073/0.7946, allocations: 275.3 kB / 0.7669 GB, free: 12.42 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.7974, allocations: 1.143 MB / 0.768 GB, free: 11.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.7974, allocations: 78.05 kB / 0.7681 GB, free: 11.66 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.7976, allocations: 101.6 kB / 0.7682 GB, free: 11.63 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.7998, allocations: 1.051 MB / 0.7692 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.7999, allocations: 0 / 0.7692 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/0.8, allocations: 40.88 kB / 0.7692 GB, free: 11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.8001, allocations: 83.92 kB / 0.7693 GB, free: 10.98 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.8019, allocations: 0.8968 MB / 0.7702 GB, free: 10.67 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009307/0.8112, allocations: 4.197 MB / 0.7743 GB, free: 7.758 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.8129, allocations: 0.6669 MB / 0.7749 GB, free: 7.238 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009724/0.8139, allocations: 470.4 kB / 0.7754 GB, free: 6.773 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.8151, allocations: 308.7 kB / 0.7757 GB, free: 6.473 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/0.8151, allocations: 50.38 kB / 0.7757 GB, free: 6.414 MB / 0.573 GB Notification: Performance of pre-optimization done (n=114): time 5.07e-06/0.8151, allocations: 0 / 0.7757 GB, free: 6.414 MB / 0.573 GB Notification: Performance of matching and sorting (n=114): time 0.004714/0.8198, allocations: 1.659 MB / 0.7774 GB, free: 4.758 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.8199, allocations: 90.11 kB / 0.7774 GB, free: 4.652 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.8217, allocations: 1.076 MB / 0.7785 GB, free: 3.562 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.8218, allocations: 45.7 kB / 0.7785 GB, free: 3.512 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.8225, allocations: 0.6658 MB / 0.7792 GB, free: 2.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000522/0.8231, allocations: 427.6 kB / 0.7796 GB, free: 2.43 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/0.8235, allocations: 220.2 kB / 0.7798 GB, free: 2.211 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003458/0.8238, allocations: 0.5316 MB / 0.7803 GB, free: 1.672 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/0.8246, allocations: 336.5 kB / 0.7806 GB, free: 1.344 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.826, allocations: 461.5 kB / 0.7811 GB, free: 0.875 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.8279, allocations: 0.8723 MB / 0.7819 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.8279, allocations: 0 / 0.7819 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003143/0.8311, allocations: 1.238 MB / 0.7831 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.8311, allocations: 12.06 kB / 0.7832 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.8311, allocations: 0 / 0.7832 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007988/0.8319, allocations: 150.2 kB / 0.7833 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/0.8327, allocations: 191.1 kB / 0.7835 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/0.8373, allocations: 4.162 MB / 0.7875 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/0.8383, allocations: 73.62 kB / 0.7876 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.8386, allocations: 59.97 kB / 0.7877 GB, free: 9.902 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * 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.0008597/0.8394, allocations: 281.5 kB / 0.7879 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.8406, allocations: 186.9 kB / 0.7881 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/0.8452, allocations: 1.85 MB / 0.7899 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.975e-05/0.8452, allocations: 12 kB / 0.7899 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.8452, allocations: 4 kB / 0.7899 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.8452, allocations: 3.984 kB / 0.7899 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006453/0.8517, allocations: 2.666 MB / 0.7926 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.8517, allocations: 0 / 0.7926 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.8525, allocations: 174 kB / 0.7927 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006844/0.8531, allocations: 151.3 kB / 0.7929 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.8533, allocations: 43.97 kB / 0.7929 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/0.8581, allocations: 4.152 MB / 0.797 GB, free: 152 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.8581, allocations: 6.844 kB / 0.797 GB, free: 148 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004749/0.8628, allocations: 1.97 MB / 0.7989 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009887/0.8638, allocations: 258.7 kB / 0.7991 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.8641, allocations: 31.03 kB / 0.7992 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.8648, allocations: 27.92 kB / 0.7992 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.8651, allocations: 87.38 kB / 0.7993 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.8653, allocations: 55.97 kB / 0.7993 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00128/0.8665, allocations: 0.705 MB / 0.8 GB, free: 13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.8665, allocations: 0 / 0.8 GB, free: 13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003957/0.8705, allocations: 1.066 MB / 0.8011 GB, free: 11.93 MB / 0.6042 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.004626/0.8751, allocations: 1.363 MB / 0.8024 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003185/0.8783, allocations: 1.33 MB / 0.8037 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8783, allocations: 3.938 kB / 0.8037 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.8802, allocations: 0.9094 MB / 0.8046 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.8835, allocations: 0.5331 MB / 0.8051 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.8896, allocations: 2.45 MB / 0.8075 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/0.8905, allocations: 0.607 MB / 0.8081 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001852/0.8923, allocations: 0.5587 MB / 0.8086 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.8928, allocations: 144.4 kB / 0.8088 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/0.8928, allocations: 0 / 0.8088 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.07355/0.9663, allocations: 38.42 MB / 0.8463 GB, free: 14.16 MB / 0.6511 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] 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.640738781075925]