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.001254/0.001254, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001405/0.001405, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9053/0.9053, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6308/0.6308, allocations: 118.6 MB / 378.9 MB, free: 1.336 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.443e-06/1.443e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094e-05/1.238e-05, allocations: 2.312 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.2834/0.2834, allocations: 149.5 MB / 0.5667 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.2861, allocations: 2.759 MB / 0.5694 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.2865, allocations: 118.9 kB / 0.5695 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.287, allocations: 288.3 kB / 0.5698 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.2893, allocations: 1.773 MB / 0.5715 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.2904, allocations: 0.74 MB / 0.5722 GB, free: 84 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.2918, allocations: 2.331 MB / 0.5745 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.2921, allocations: 262.2 kB / 0.5748 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.2933, allocations: 1.449 MB / 0.5762 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.2939, allocations: 0.6736 MB / 0.5768 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.294, allocations: 100 kB / 0.5769 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.2956, allocations: 1.645 MB / 0.5785 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.2958, allocations: 430.4 kB / 0.5789 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.2964, allocations: 0.5026 MB / 0.5794 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.2982, allocations: 2.34 MB / 0.5817 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2982, allocations: 0 / 0.5817 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2982, allocations: 0 / 0.5817 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.2982, allocations: 0 / 0.5817 GB, free: 6.301 MB / 0.5261 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.002266/0.3004, allocations: 2.147 MB / 0.5838 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.3005, allocations: 12.03 kB / 0.5838 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.3007, allocations: 200.7 kB / 0.584 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.3018, allocations: 1.041 MB / 0.585 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.3019, allocations: 73.98 kB / 0.5851 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.302, allocations: 99.86 kB / 0.5852 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3027, allocations: 0.7878 MB / 0.586 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.3027, allocations: 4 kB / 0.586 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.3027, allocations: 43.98 kB / 0.586 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/0.3028, allocations: 85.89 kB / 0.5861 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.3036, allocations: 475.3 kB / 0.5866 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.3067, allocations: 2.864 MB / 0.5893 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.3073, allocations: 0.5102 MB / 0.5898 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.3075, allocations: 255 kB / 0.5901 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.3078, allocations: 129.5 kB / 0.5902 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3078, allocations: 47.5 kB / 0.5903 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 2.985e-06/0.3078, allocations: 0 / 0.5903 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=114): time 0.001316/0.3091, allocations: 0.9213 MB / 0.5912 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.3092, allocations: 94.05 kB / 0.5912 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.3097, allocations: 0.784 MB / 0.592 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.3097, allocations: 45.7 kB / 0.5921 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3099, allocations: 412.7 kB / 0.5924 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.3101, allocations: 408.3 kB / 0.5928 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.3103, allocations: 182.5 kB / 0.593 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002953/0.3106, allocations: 349.8 kB / 0.5933 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3108, allocations: 156.8 kB / 0.5935 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.311, allocations: 222.3 kB / 0.5937 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.3115, allocations: 491.4 kB / 0.5942 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3115, allocations: 4 kB / 0.5942 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0007558/0.3122, allocations: 0.6467 MB / 0.5948 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3123, allocations: 12 kB / 0.5948 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3123, allocations: 0 / 0.5948 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.3125, allocations: 111.2 kB / 0.5949 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.3129, allocations: 187.7 kB / 0.5951 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.3142, allocations: 2.604 MB / 0.5977 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.3144, allocations: 79.33 kB / 0.5977 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.3145, allocations: 47.97 kB / 0.5978 GB, free: 5.363 MB / 0.5417 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.0002013/0.3147, allocations: 160.5 kB / 0.5979 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.3148, allocations: 135.7 kB / 0.5981 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.3162, allocations: 1.269 MB / 0.5993 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.3162, allocations: 12 kB / 0.5993 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3162, allocations: 0 / 0.5993 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3162, allocations: 3.984 kB / 0.5993 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.3181, allocations: 1.612 MB / 0.6009 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3181, allocations: 7.984 kB / 0.6009 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.3185, allocations: 167.8 kB / 0.6011 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/0.3187, allocations: 121.6 kB / 0.6012 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.3188, allocations: 43.91 kB / 0.6012 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.32, allocations: 2.601 MB / 0.6037 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.32, allocations: 4 kB / 0.6038 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3211, allocations: 1.167 MB / 0.6049 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.3213, allocations: 199.6 kB / 0.6051 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.3214, allocations: 31.89 kB / 0.6051 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.3216, allocations: 19.98 kB / 0.6051 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.3217, allocations: 88.83 kB / 0.6052 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.3218, allocations: 43.97 kB / 0.6053 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002835/0.3221, allocations: 432.8 kB / 0.6057 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 0 / 0.6057 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007356/0.3228, allocations: 0.5573 MB / 0.6062 GB, free: 12.43 MB / 0.5573 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.0005509/0.3233, allocations: 425.2 kB / 0.6066 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.3244, allocations: 0.8127 MB / 0.6074 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.3244, allocations: 12 kB / 0.6074 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.3248, allocations: 0.599 MB / 0.608 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.326, allocations: 0.5437 MB / 0.6085 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.3287, allocations: 2.301 MB / 0.6108 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3289, allocations: 270.6 kB / 0.611 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007014/0.3296, allocations: 0.5321 MB / 0.6116 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/0.3303, allocations: 431.1 kB / 0.612 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.3303, allocations: 0 / 0.612 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of Templates: time 0.02869/0.3589, allocations: 27.8 MB / 0.6391 GB, free: 11.15 MB / 0.5886 GB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.041524398140609]