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.001564/0.001564, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001708/0.001708, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7821/0.7821, allocations: 100.9 MB / 414.1 MB, free: 2.863 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.002527/0.002527, allocations: 94.47 kB / 0.5653 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1333, allocations: 74.6 MB / 0.6381 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5962/0.7295, allocations: 226.8 MB / 0.8596 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.7473, allocations: 11.78 MB / 0.8711 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.7489, allocations: 109.6 kB / 0.8712 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.7517, allocations: 0.8715 MB / 0.872 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01533/0.7671, allocations: 5.504 MB / 0.8774 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007365/0.7744, allocations: 2.464 MB / 0.8798 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.7778, allocations: 2.071 MB / 0.8819 GB, free: 220 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.7783, allocations: 244 kB / 0.8821 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.7814, allocations: 1.397 MB / 0.8834 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.7825, allocations: 0.7696 MB / 0.8842 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.7827, allocations: 104 kB / 0.8843 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0184/0.8011, allocations: 8.752 MB / 0.8928 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007064/0.8018, allocations: 402.4 kB / 0.8932 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000915/0.8027, allocations: 0.579 MB / 0.8938 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.819, allocations: 5.819 MB / 0.8995 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.819, allocations: 0 / 0.8995 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.819, allocations: 0 / 0.8995 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.819, allocations: 0 / 0.8995 GB, free: 14.09 MB / 0.6544 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.006293/0.8253, allocations: 2.744 MB / 0.9022 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.8254, allocations: 9.469 kB / 0.9022 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.8257, allocations: 182.8 kB / 0.9023 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.8277, allocations: 0.9785 MB / 0.9033 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.8278, allocations: 73.98 kB / 0.9034 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.8279, allocations: 99.89 kB / 0.9035 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.83, allocations: 1.424 MB / 0.9049 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.8301, allocations: 0 / 0.9049 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/0.8301, allocations: 39.98 kB / 0.9049 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.8303, allocations: 93.89 kB / 0.905 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.8325, allocations: 1.554 MB / 0.9065 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006795/0.8393, allocations: 3.701 MB / 0.9101 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.8407, allocations: 0.7785 MB / 0.9109 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.8416, allocations: 0.598 MB / 0.9115 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009785/0.8426, allocations: 316.7 kB / 0.9118 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.8427, allocations: 47.5 kB / 0.9118 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 3.497e-06/0.8427, allocations: 0 / 0.9118 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.003898/0.8466, allocations: 1.95 MB / 0.9137 GB, free: 15.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.8466, allocations: 86.11 kB / 0.9138 GB, free: 15.19 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/0.8476, allocations: 0.7966 MB / 0.9146 GB, free: 14.37 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.8477, allocations: 41.7 kB / 0.9146 GB, free: 14.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.8481, allocations: 0.5526 MB / 0.9151 GB, free: 13.77 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/0.8485, allocations: 408.4 kB / 0.9155 GB, free: 13.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.8488, allocations: 186.6 kB / 0.9157 GB, free: 13.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.8489, allocations: 345.9 kB / 0.916 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/0.8497, allocations: 457.8 kB / 0.9165 GB, free: 12.39 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/0.8505, allocations: 0.5277 MB / 0.917 GB, free: 11.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.8522, allocations: 1.044 MB / 0.918 GB, free: 10.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8522, allocations: 0 / 0.918 GB, free: 10.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002477/0.8546, allocations: 1.384 MB / 0.9194 GB, free: 9.402 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8547, allocations: 4 kB / 0.9194 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.8547, allocations: 3.938 kB / 0.9194 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/0.8551, allocations: 125.6 kB / 0.9195 GB, free: 9.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.8558, allocations: 183.8 kB / 0.9197 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.8588, allocations: 3.077 MB / 0.9227 GB, free: 5.805 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.8593, allocations: 59.55 kB / 0.9227 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.8595, allocations: 63.97 kB / 0.9228 GB, free: 5.684 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.000508/0.86, allocations: 278.1 kB / 0.9231 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.8603, allocations: 131.2 kB / 0.9232 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.8639, allocations: 2.045 MB / 0.9252 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.8639, allocations: 12 kB / 0.9252 GB, free: 3.195 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8639, allocations: 4 kB / 0.9252 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.8639, allocations: 3.984 kB / 0.9252 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.8684, allocations: 2.671 MB / 0.9278 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8684, allocations: 0 / 0.9278 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.869, allocations: 171.8 kB / 0.928 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.8694, allocations: 121.6 kB / 0.9281 GB, free: 172 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/0.8695, allocations: 43.97 kB / 0.9281 GB, free: 128 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.8724, allocations: 3.1 MB / 0.9312 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8724, allocations: 0 / 0.9312 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.8759, allocations: 2.227 MB / 0.9333 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.8762, allocations: 127 kB / 0.9335 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8763, allocations: 23.98 kB / 0.9335 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.8767, allocations: 23.94 kB / 0.9335 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.8769, allocations: 88.78 kB / 0.9336 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.877, allocations: 63.95 kB / 0.9336 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007589/0.8778, allocations: 0.5768 MB / 0.9342 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8778, allocations: 0 / 0.9342 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002512/0.8803, allocations: 1.044 MB / 0.9352 GB, free: 8.621 MB / 0.6856 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.002585/0.8829, allocations: 1.286 MB / 0.9365 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.8853, allocations: 1.4 MB / 0.9379 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.8853, allocations: 4 kB / 0.9379 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.8867, allocations: 0.8582 MB / 0.9387 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.8883, allocations: 364.7 kB / 0.939 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.8928, allocations: 2.571 MB / 0.9416 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.8935, allocations: 0.6131 MB / 0.9422 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.894, allocations: 155.4 kB / 0.9423 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/0.894, allocations: 0 / 0.9423 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of Templates: time 0.05495/0.9489, allocations: 42.21 MB / 0.9835 GB, free: 7.004 MB / 0.7325 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/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: 13.304763404186815]