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.001388/0.001388, allocations: 85.06 kB / 19.76 MB, free: 2.023 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.001604/0.001604, allocations: 157.3 kB / 23.01 MB, free: 4.961 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.35/1.35, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.7323/0.7323, allocations: 79.62 MB / 339.4 MB, free: 10.95 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.002561/0.002561, allocations: 91.44 kB / 0.4924 GB, free: 26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1144, allocations: 74.59 MB / 0.5652 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5564/0.6708, allocations: 226.8 MB / 0.7867 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.6869, allocations: 11.77 MB / 0.7981 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.6881, allocations: 107.2 kB / 0.7982 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.6905, allocations: 0.8733 MB / 0.7991 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.7044, allocations: 5.494 MB / 0.8045 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006429/0.7108, allocations: 2.461 MB / 0.8069 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003023/0.7138, allocations: 2.074 MB / 0.8089 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004535/0.7143, allocations: 241.7 kB / 0.8091 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.717, allocations: 1.402 MB / 0.8105 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.7181, allocations: 0.778 MB / 0.8113 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.7183, allocations: 103 kB / 0.8114 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/0.7361, allocations: 8.755 MB / 0.8199 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.7368, allocations: 390.5 kB / 0.8203 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009389/0.7377, allocations: 0.5829 MB / 0.8208 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.7559, allocations: 5.819 MB / 0.8265 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.7559, allocations: 0 / 0.8265 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7559, allocations: 3.938 kB / 0.8265 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.756, allocations: 0 / 0.8265 GB, free: 7.895 MB / 0.6387 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.005943/0.7619, allocations: 2.752 MB / 0.8292 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7619, allocations: 9.469 kB / 0.8292 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.7623, allocations: 182.8 kB / 0.8294 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.7642, allocations: 0.9745 MB / 0.8304 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.7643, allocations: 69.98 kB / 0.8304 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.7644, allocations: 103.9 kB / 0.8305 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.7666, allocations: 1.42 MB / 0.8319 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.7666, allocations: 3.984 kB / 0.8319 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.7667, allocations: 40 kB / 0.8319 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.7668, allocations: 93.83 kB / 0.832 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.7691, allocations: 1.565 MB / 0.8336 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006701/0.7758, allocations: 3.7 MB / 0.8372 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.7774, allocations: 0.7747 MB / 0.8379 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009408/0.7783, allocations: 0.5942 MB / 0.8385 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.7793, allocations: 324.6 kB / 0.8388 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.7793, allocations: 47.55 kB / 0.8389 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 3.287e-06/0.7793, allocations: 0 / 0.8389 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.004081/0.7834, allocations: 1.934 MB / 0.8408 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.7835, allocations: 90.11 kB / 0.8408 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.7845, allocations: 0.8005 MB / 0.8416 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.7846, allocations: 49.69 kB / 0.8417 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.785, allocations: 0.5486 MB / 0.8422 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.7854, allocations: 412.4 kB / 0.8426 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.7857, allocations: 182.6 kB / 0.8428 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7859, allocations: 341.9 kB / 0.8431 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/0.7866, allocations: 461.8 kB / 0.8435 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/0.7875, allocations: 0.52 MB / 0.8441 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.7892, allocations: 1.044 MB / 0.8451 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7892, allocations: 0 / 0.8451 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002556/0.7918, allocations: 1.385 MB / 0.8464 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7918, allocations: 8 kB / 0.8464 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7918, allocations: 0 / 0.8464 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.7923, allocations: 119.1 kB / 0.8465 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.793, allocations: 183.8 kB / 0.8467 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.7962, allocations: 3.084 MB / 0.8497 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.7967, allocations: 67.53 kB / 0.8498 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.7968, allocations: 63.91 kB / 0.8499 GB, free: 15.48 MB / 0.67 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.0005018/0.7973, allocations: 274.2 kB / 0.8501 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.7976, allocations: 131.2 kB / 0.8502 GB, free: 15.08 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.8014, allocations: 2.046 MB / 0.8522 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/0.8014, allocations: 12 kB / 0.8523 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.8014, allocations: 7.984 kB / 0.8523 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.8014, allocations: 7.922 kB / 0.8523 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.806, allocations: 2.66 MB / 0.8549 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.806, allocations: 4 kB / 0.8549 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.8067, allocations: 171.8 kB / 0.855 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.8071, allocations: 133.5 kB / 0.8552 GB, free: 9.957 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.8072, allocations: 51.89 kB / 0.8552 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003151/0.8103, allocations: 3.081 MB / 0.8582 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8104, allocations: 3.938 kB / 0.8582 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/0.8141, allocations: 2.231 MB / 0.8604 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.8144, allocations: 122.9 kB / 0.8605 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.8146, allocations: 27.95 kB / 0.8605 GB, free: 4.211 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.815, allocations: 16 kB / 0.8606 GB, free: 4.195 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.8152, allocations: 96.81 kB / 0.8607 GB, free: 4.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.8153, allocations: 55.97 kB / 0.8607 GB, free: 4.047 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008058/0.8161, allocations: 0.5885 MB / 0.8613 GB, free: 3.449 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8161, allocations: 0 / 0.8613 GB, free: 3.449 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002674/0.8188, allocations: 1.04 MB / 0.8623 GB, free: 2.406 MB / 0.67 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.002709/0.8215, allocations: 1.301 MB / 0.8636 GB, free: 1.098 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002557/0.8241, allocations: 1.384 MB / 0.8649 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.8241, allocations: 4 kB / 0.8649 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.8255, allocations: 0.8621 MB / 0.8658 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.8272, allocations: 363.9 kB / 0.8661 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.8315, allocations: 2.499 MB / 0.8686 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.8322, allocations: 0.6131 MB / 0.8692 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001386/0.8336, allocations: 0.6557 MB / 0.8698 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.8339, allocations: 144.4 kB / 0.8699 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of SimCode: time 1.123e-06/0.8339, allocations: 0 / 0.8699 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of Templates: time 0.0581/0.892, allocations: 35.42 MB / 0.9045 GB, free: 7.34 MB / 0.7169 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 -s ida -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/jenkins1/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: 7.338868269929662]