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.001784/0.001784, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002321/0.002321, allocations: 218.5 kB / 22.26 MB, free: 5.117 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 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 0.8314/0.8314, allocations: 100.3 MB / 412.7 MB, free: 3.676 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002595/0.002595, allocations: 83.38 kB / 0.5638 GB, free: 35.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1342, allocations: 74.47 MB / 0.6365 GB, free: 7.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.611/0.7452, allocations: 260.8 MB / 0.8912 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.7628, allocations: 13.07 MB / 0.904 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.764, allocations: 111.1 kB / 0.9041 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.7667, allocations: 1.037 MB / 0.9051 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/0.781, allocations: 5.566 MB / 0.9105 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006528/0.7875, allocations: 2.491 MB / 0.9129 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003105/0.7906, allocations: 2.067 MB / 0.915 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.7911, allocations: 252 kB / 0.9152 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.7939, allocations: 1.409 MB / 0.9166 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.795, allocations: 0.8438 MB / 0.9174 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.7952, allocations: 104 kB / 0.9175 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02112/0.8163, allocations: 11.15 MB / 0.9284 GB, free: 7.078 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006485/0.8169, allocations: 394.5 kB / 0.9288 GB, free: 6.691 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.818, allocations: 0.7109 MB / 0.9295 GB, free: 5.977 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.8338, allocations: 6.099 MB / 0.9354 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8338, allocations: 0 / 0.9354 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8338, allocations: 0 / 0.9354 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.8338, allocations: 4 kB / 0.9354 GB, free: 15.86 MB / 0.6856 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.00632/0.8401, allocations: 2.763 MB / 0.9381 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8401, allocations: 13.41 kB / 0.9381 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.8405, allocations: 178.8 kB / 0.9383 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.8425, allocations: 0.9746 MB / 0.9393 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.8426, allocations: 73.98 kB / 0.9393 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.8427, allocations: 95.94 kB / 0.9394 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.8449, allocations: 1.42 MB / 0.9408 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.8449, allocations: 0 / 0.9408 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.845, allocations: 43.98 kB / 0.9409 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.8452, allocations: 97.83 kB / 0.9409 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.8475, allocations: 1.554 MB / 0.9425 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008459/0.8559, allocations: 5.807 MB / 0.9481 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.8575, allocations: 0.7747 MB / 0.9489 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/0.8585, allocations: 0.5908 MB / 0.9495 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.8595, allocations: 324.6 kB / 0.9498 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.8596, allocations: 51.44 kB / 0.9498 GB, free: 460 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.737e-06/0.8596, allocations: 4 kB / 0.9498 GB, free: 456 kB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004176/0.8637, allocations: 1.946 MB / 0.9517 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.8638, allocations: 94.11 kB / 0.9518 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.865, allocations: 0.912 MB / 0.9527 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-05/0.8651, allocations: 45.7 kB / 0.9528 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.8656, allocations: 0.5416 MB / 0.9533 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.866, allocations: 412.4 kB / 0.9537 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.8663, allocations: 178.6 kB / 0.9538 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8665, allocations: 345.9 kB / 0.9542 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/0.8672, allocations: 469.4 kB / 0.9546 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.8681, allocations: 0.5238 MB / 0.9551 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.8699, allocations: 1.041 MB / 0.9562 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8699, allocations: 0 / 0.9562 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002627/0.8726, allocations: 1.385 MB / 0.9575 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.8726, allocations: 11.94 kB / 0.9575 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8726, allocations: 0 / 0.9575 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.8731, allocations: 121.6 kB / 0.9576 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.8738, allocations: 183.8 kB / 0.9578 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.8772, allocations: 3.15 MB / 0.9609 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005881/0.8778, allocations: 83.45 kB / 0.961 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.8779, allocations: 59.97 kB / 0.961 GB, free: 4.668 MB / 0.7012 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.0005217/0.8784, allocations: 277.6 kB / 0.9613 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.8787, allocations: 147 kB / 0.9614 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.8826, allocations: 2.052 MB / 0.9634 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.8827, allocations: 12 kB / 0.9634 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.8827, allocations: 4 kB / 0.9634 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.8827, allocations: 3.984 kB / 0.9634 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.8878, allocations: 2.969 MB / 0.9663 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.8878, allocations: 4 kB / 0.9664 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007055/0.8885, allocations: 167.8 kB / 0.9665 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/0.8889, allocations: 133.6 kB / 0.9666 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/0.889, allocations: 43.97 kB / 0.9667 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.8923, allocations: 3.162 MB / 0.9698 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8923, allocations: 0 / 0.9698 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.8962, allocations: 2.229 MB / 0.9719 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.8965, allocations: 146.8 kB / 0.9721 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.8967, allocations: 23.98 kB / 0.9721 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.8972, allocations: 19.98 kB / 0.9721 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.8973, allocations: 96.89 kB / 0.9722 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.8975, allocations: 55.97 kB / 0.9723 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009553/0.8984, allocations: 0.6701 MB / 0.9729 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8984, allocations: 7.938 kB / 0.9729 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002739/0.9012, allocations: 1.028 MB / 0.9739 GB, free: 7.07 MB / 0.7169 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.002815/0.904, allocations: 1.29 MB / 0.9752 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002699/0.9067, allocations: 1.396 MB / 0.9766 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.9067, allocations: 0 / 0.9766 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.9081, allocations: 0.8542 MB / 0.9774 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.9101, allocations: 432.5 kB / 0.9778 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.9146, allocations: 2.502 MB / 0.9803 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009111/0.9155, allocations: 1.195 MB / 0.9814 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001486/0.917, allocations: 0.675 MB / 0.9821 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.9174, allocations: 147.4 kB / 0.9822 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/0.9174, allocations: 0 / 0.9822 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of Templates: time 0.06463/0.982, allocations: 37.48 MB / 1.019 GB, free: 9.148 MB / 0.7637 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] 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.04363733716309]