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.001525/0.001525, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001853/0.001853, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7019/0.7019, allocations: 94.55 MB / 407.7 MB, free: 9.215 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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.002376/0.002376, allocations: 89.12 kB / 0.5562 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1132, allocations: 73.05 MB / 0.6275 GB, free: 8 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5483/0.6615, allocations: 260.8 MB / 0.8822 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.6784, allocations: 13.06 MB / 0.895 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.6798, allocations: 111 kB / 0.8951 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.6824, allocations: 1.034 MB / 0.8961 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01486/0.6973, allocations: 5.572 MB / 0.9015 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/0.7041, allocations: 2.492 MB / 0.904 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003216/0.7073, allocations: 2.068 MB / 0.906 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005957/0.7079, allocations: 240 kB / 0.9062 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.7109, allocations: 1.393 MB / 0.9076 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.7124, allocations: 0.8399 MB / 0.9084 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.7126, allocations: 100 kB / 0.9085 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02105/0.7337, allocations: 11.16 MB / 0.9194 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006714/0.7343, allocations: 398.4 kB / 0.9198 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.7356, allocations: 0.7109 MB / 0.9205 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.7513, allocations: 6.099 MB / 0.9264 GB, free: 12.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7513, allocations: 0 / 0.9264 GB, free: 12.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7513, allocations: 0 / 0.9264 GB, free: 12.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.774e-05/0.7514, allocations: 0 / 0.9264 GB, free: 12.59 MB / 0.67 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.006679/0.7581, allocations: 2.76 MB / 0.9291 GB, free: 9.789 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7581, allocations: 8.031 kB / 0.9291 GB, free: 9.781 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.7585, allocations: 178.9 kB / 0.9293 GB, free: 9.605 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.7607, allocations: 0.9741 MB / 0.9303 GB, free: 8.582 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.7608, allocations: 73.97 kB / 0.9303 GB, free: 8.508 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.7609, allocations: 92 kB / 0.9304 GB, free: 8.418 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.7632, allocations: 1.424 MB / 0.9318 GB, free: 6.977 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.7632, allocations: 0 / 0.9318 GB, free: 6.977 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.7633, allocations: 43.92 kB / 0.9318 GB, free: 6.934 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.7634, allocations: 89.94 kB / 0.9319 GB, free: 6.848 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.7658, allocations: 1.566 MB / 0.9335 GB, free: 5.277 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008441/0.7742, allocations: 5.812 MB / 0.9391 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.7758, allocations: 0.785 MB / 0.9399 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009659/0.7768, allocations: 0.598 MB / 0.9405 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.7778, allocations: 320.7 kB / 0.9408 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.7779, allocations: 43.56 kB / 0.9408 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.336e-06/0.7779, allocations: 0 / 0.9408 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004114/0.782, allocations: 1.954 MB / 0.9427 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.782, allocations: 94.05 kB / 0.9428 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.7833, allocations: 0.9119 MB / 0.9437 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.7834, allocations: 49.69 kB / 0.9438 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000457/0.7838, allocations: 0.5415 MB / 0.9443 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.7842, allocations: 412.4 kB / 0.9447 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.7845, allocations: 182.6 kB / 0.9449 GB, free: 9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7847, allocations: 345.9 kB / 0.9452 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/0.7855, allocations: 461.8 kB / 0.9456 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008662/0.7863, allocations: 0.5168 MB / 0.9461 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.7881, allocations: 1.044 MB / 0.9472 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7881, allocations: 0 / 0.9472 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002606/0.7907, allocations: 1.392 MB / 0.9485 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7907, allocations: 7.938 kB / 0.9485 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7907, allocations: 0 / 0.9485 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/0.7912, allocations: 124.1 kB / 0.9486 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/0.7919, allocations: 183.8 kB / 0.9488 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.7952, allocations: 3.15 MB / 0.9519 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.7958, allocations: 79.34 kB / 0.952 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.796, allocations: 59.98 kB / 0.952 GB, free: 1.402 MB / 0.6856 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.0005371/0.7965, allocations: 277.7 kB / 0.9523 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/0.7968, allocations: 139 kB / 0.9524 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.8007, allocations: 2.051 MB / 0.9544 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.8007, allocations: 12 kB / 0.9544 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8007, allocations: 0 / 0.9544 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.8007, allocations: 15.97 kB / 0.9545 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.8057, allocations: 2.965 MB / 0.9574 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.8057, allocations: 0 / 0.9574 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.8064, allocations: 171.9 kB / 0.9575 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.8068, allocations: 137.5 kB / 0.9576 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/0.8069, allocations: 47.95 kB / 0.9577 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.8101, allocations: 3.146 MB / 0.9608 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8101, allocations: 4.031 kB / 0.9608 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.8137, allocations: 2.237 MB / 0.963 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.814, allocations: 146.8 kB / 0.9631 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.8142, allocations: 24 kB / 0.9631 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.8147, allocations: 16 kB / 0.9631 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.8149, allocations: 92.83 kB / 0.9632 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.815, allocations: 63.95 kB / 0.9633 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009814/0.816, allocations: 0.6662 MB / 0.9639 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.816, allocations: 0 / 0.9639 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002594/0.8186, allocations: 1.028 MB / 0.9649 GB, free: 3.812 MB / 0.7012 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.003103/0.8217, allocations: 1.292 MB / 0.9662 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002588/0.8243, allocations: 1.388 MB / 0.9676 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8243, allocations: 0 / 0.9676 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.8257, allocations: 0.8621 MB / 0.9684 GB, free: 216 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.8278, allocations: 427.2 kB / 0.9688 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.8325, allocations: 2.574 MB / 0.9713 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.8334, allocations: 1.195 MB / 0.9725 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.8339, allocations: 159.4 kB / 0.9726 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/0.8339, allocations: 0 / 0.9726 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.05758/0.8915, allocations: 42.53 MB / 1.014 GB, free: 1.254 MB / 0.7481 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 12.971964174881577]