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.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.0018/0.0018, 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.001977/0.001977, allocations: 173.6 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.049/1.049, allocations: 118.6 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 482.9 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.097e-05, allocations: 2.312 kB / 482.9 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6917/0.6918, allocations: 262.1 MB / 0.7275 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00942/0.7012, allocations: 6.21 MB / 0.7336 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.7033, allocations: 114.3 kB / 0.7337 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.706, allocations: 0.9057 MB / 0.7346 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.7219, allocations: 5.732 MB / 0.7402 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00795/0.7298, allocations: 2.527 MB / 0.7426 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00394/0.7338, allocations: 2.338 MB / 0.7449 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.7345, allocations: 240.1 kB / 0.7451 GB, free: 23.3 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.7382, allocations: 1.778 MB / 0.7469 GB, free: 22.39 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.7392, allocations: 0.7079 MB / 0.7476 GB, free: 22.09 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.7394, allocations: 102.2 kB / 0.7477 GB, free: 22.09 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/0.7562, allocations: 8.834 MB / 0.7563 GB, free: 18.43 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.7568, allocations: 424 kB / 0.7567 GB, free: 18.13 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009907/0.7578, allocations: 0.5047 MB / 0.7572 GB, free: 17.93 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.7762, allocations: 6.619 MB / 0.7636 GB, free: 14.63 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7762, allocations: 0 / 0.7636 GB, free: 14.63 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7762, allocations: 0 / 0.7636 GB, free: 14.63 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.264e-05/0.7762, allocations: 0 / 0.7636 GB, free: 14.63 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.007807/0.784, allocations: 3.026 MB / 0.7666 GB, free: 12.51 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.784, allocations: 9.25 kB / 0.7666 GB, free: 12.51 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006584/0.7847, allocations: 285.6 kB / 0.7669 GB, free: 12.37 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.7872, allocations: 1.139 MB / 0.768 GB, free: 11.65 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.7873, allocations: 83.33 kB / 0.7681 GB, free: 11.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.7874, allocations: 99.64 kB / 0.7682 GB, free: 11.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.7894, allocations: 1.05 MB / 0.7692 GB, free: 10.98 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.7894, allocations: 0 / 0.7692 GB, free: 10.98 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.7895, allocations: 39.39 kB / 0.7692 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.7896, allocations: 89.64 kB / 0.7693 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.7913, allocations: 0.8949 MB / 0.7702 GB, free: 10.62 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008331/0.7996, allocations: 4.196 MB / 0.7743 GB, free: 7.707 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.8012, allocations: 0.6647 MB / 0.7749 GB, free: 7.148 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.8021, allocations: 473 kB / 0.7754 GB, free: 6.68 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.8033, allocations: 308.7 kB / 0.7757 GB, free: 6.379 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.8033, allocations: 48.92 kB / 0.7757 GB, free: 6.324 MB / 0.573 GB Notification: Performance of pre-optimization done (n=114): time 4.278e-06/0.8033, allocations: 0 / 0.7757 GB, free: 6.324 MB / 0.573 GB Notification: Performance of matching and sorting (n=114): time 0.004402/0.8077, allocations: 1.662 MB / 0.7774 GB, free: 4.664 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.8078, allocations: 90.11 kB / 0.7774 GB, free: 4.559 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.8093, allocations: 1.076 MB / 0.7785 GB, free: 3.469 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.229e-05/0.8094, allocations: 45.7 kB / 0.7785 GB, free: 3.418 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/0.8103, allocations: 0.673 MB / 0.7792 GB, free: 2.742 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004641/0.8108, allocations: 424.7 kB / 0.7796 GB, free: 2.332 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/0.8112, allocations: 211.8 kB / 0.7798 GB, free: 2.121 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003168/0.8115, allocations: 0.5355 MB / 0.7803 GB, free: 1.578 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.8123, allocations: 337.8 kB / 0.7806 GB, free: 1.246 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/0.8132, allocations: 456.1 kB / 0.7811 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.8149, allocations: 0.8773 MB / 0.7819 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8149, allocations: 0 / 0.7819 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002811/0.8177, allocations: 1.238 MB / 0.7831 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.8178, allocations: 10.34 kB / 0.7832 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.8178, allocations: 4.062 kB / 0.7832 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.8185, allocations: 143.3 kB / 0.7833 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.8193, allocations: 194.1 kB / 0.7835 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004637/0.8239, allocations: 4.156 MB / 0.7875 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.8246, allocations: 75.5 kB / 0.7876 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.8248, allocations: 58.48 kB / 0.7877 GB, free: 9.816 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.0005931/0.8254, allocations: 288 kB / 0.7879 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.8258, allocations: 190.9 kB / 0.7881 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.8299, allocations: 1.836 MB / 0.7899 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/0.8299, allocations: 15.98 kB / 0.7899 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.8299, allocations: 4 kB / 0.7899 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.8299, allocations: 7.969 kB / 0.7899 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.8354, allocations: 2.661 MB / 0.7925 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.8354, allocations: 0 / 0.7925 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.8361, allocations: 178 kB / 0.7927 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006369/0.8368, allocations: 151.3 kB / 0.7929 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.8369, allocations: 41.45 kB / 0.7929 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004542/0.8414, allocations: 4.156 MB / 0.797 GB, free: 60 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8414, allocations: 4 kB / 0.797 GB, free: 56 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.8455, allocations: 1.975 MB / 0.7989 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/0.8463, allocations: 258.7 kB / 0.7991 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.8465, allocations: 20 kB / 0.7992 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.847, allocations: 31.52 kB / 0.7992 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.8472, allocations: 92.81 kB / 0.7993 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.8473, allocations: 55.97 kB / 0.7993 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001537/0.8489, allocations: 0.705 MB / 0.8 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8489, allocations: 3.938 kB / 0.8 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004718/0.8536, allocations: 1.064 MB / 0.8011 GB, free: 11.84 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.004935/0.8585, allocations: 1.363 MB / 0.8024 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004158/0.8627, allocations: 1.329 MB / 0.8037 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/0.8627, allocations: 0 / 0.8037 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.8649, allocations: 0.9129 MB / 0.8046 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/0.869, allocations: 0.5454 MB / 0.8051 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007798/0.8768, allocations: 2.44 MB / 0.8075 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/0.8778, allocations: 0.6031 MB / 0.8081 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00227/0.88, allocations: 0.5545 MB / 0.8086 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.8806, allocations: 148.4 kB / 0.8088 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of SimCode: time 2.575e-06/0.8806, allocations: 0 / 0.8088 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of Templates: time 0.08593/0.9666, allocations: 38.42 MB / 0.8463 GB, free: 14.09 MB / 0.6511 GB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.529749462963082]