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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 192.8 kB / 16.14 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.743/0.743, allocations: 93.71 MB / 383.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 82.44 kB / 462.7 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 68.27 MB / 0.5185 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5029/0.6353, allocations: 259.9 MB / 0.7723 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01737/0.6527, allocations: 13.33 MB / 0.7854 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.6542, allocations: 87.44 kB / 0.7854 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.6566, allocations: 0.91 MB / 0.7863 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.6689, allocations: 4.783 MB / 0.791 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005539/0.6744, allocations: 2.108 MB / 0.7931 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003133/0.6776, allocations: 2.898 MB / 0.7959 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.6782, allocations: 361.7 kB / 0.7962 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.6807, allocations: 1.245 MB / 0.7975 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000944/0.6816, allocations: 0.8243 MB / 0.7983 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.6818, allocations: 72 kB / 0.7983 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01966/0.7015, allocations: 11.85 MB / 0.8099 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006455/0.7022, allocations: 350.6 kB / 0.8102 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.7033, allocations: 0.6797 MB / 0.8109 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.7201, allocations: 6.305 MB / 0.817 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7201, allocations: 8 kB / 0.8171 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.346e-06/0.7202, allocations: 0 / 0.8171 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.7202, allocations: 3.938 kB / 0.8171 GB, free: 9.402 MB / 0.6231 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.006773/0.727, allocations: 2.726 MB / 0.8197 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.727, allocations: 8.031 kB / 0.8197 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.7273, allocations: 162 kB / 0.8199 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.7288, allocations: 0.9551 MB / 0.8208 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.7289, allocations: 73.98 kB / 0.8209 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.729, allocations: 104 kB / 0.821 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.7312, allocations: 1.397 MB / 0.8224 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.7312, allocations: 0 / 0.8224 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/0.7313, allocations: 43.97 kB / 0.8224 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.7314, allocations: 85.95 kB / 0.8225 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.7336, allocations: 1.527 MB / 0.824 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2368/0.9703, allocations: 5.844 MB / 0.8297 GB, free: 236.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.9721, allocations: 0.8622 MB / 0.8305 GB, free: 235.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.9731, allocations: 0.6794 MB / 0.8312 GB, free: 235.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.9747, allocations: 2.402 MB / 0.8335 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.9747, allocations: 48.31 kB / 0.8336 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 5.56e-06/0.9747, allocations: 0 / 0.8336 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.004394/0.9791, allocations: 2.105 MB / 0.8356 GB, free: 231.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.9792, allocations: 90.11 kB / 0.8357 GB, free: 231.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.9804, allocations: 0.9156 MB / 0.8366 GB, free: 231.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/0.9804, allocations: 52.7 kB / 0.8367 GB, free: 231.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.9809, allocations: 0.5309 MB / 0.8372 GB, free: 230.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.9812, allocations: 391.9 kB / 0.8375 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.9816, allocations: 181.1 kB / 0.8377 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9817, allocations: 340.4 kB / 0.838 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007962/0.9825, allocations: 460.9 kB / 0.8385 GB, free: 230.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.9832, allocations: 0.5258 MB / 0.839 GB, free: 229.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.9847, allocations: 1.046 MB / 0.84 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.9847, allocations: 0 / 0.84 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002248/0.9869, allocations: 1.387 MB / 0.8414 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.987, allocations: 7.906 kB / 0.8414 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.987, allocations: 4.5 kB / 0.8414 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.9875, allocations: 123.1 kB / 0.8415 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.9882, allocations: 186.9 kB / 0.8417 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.9904, allocations: 3.124 MB / 0.8447 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.9913, allocations: 95.23 kB / 0.8448 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.9915, allocations: 62.72 kB / 0.8449 GB, free: 225.7 MB / 0.6231 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.0005683/0.992, allocations: 286.9 kB / 0.8452 GB, free: 225.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.9923, allocations: 126.5 kB / 0.8453 GB, free: 225.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003898/0.9962, allocations: 2.05 MB / 0.8473 GB, free: 224.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.9963, allocations: 11.28 kB / 0.8473 GB, free: 224.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.9963, allocations: 7.391 kB / 0.8473 GB, free: 224.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.9963, allocations: 6.484 kB / 0.8473 GB, free: 224.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/1.001, allocations: 2.997 MB / 0.8502 GB, free: 223.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.001, allocations: 5.406 kB / 0.8502 GB, free: 223.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/1.002, allocations: 177.1 kB / 0.8504 GB, free: 223.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/1.002, allocations: 119 kB / 0.8505 GB, free: 223.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.002, allocations: 48.25 kB / 0.8506 GB, free: 223.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/1.004, allocations: 3.126 MB / 0.8536 GB, free: 220.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.004, allocations: 0 / 0.8536 GB, free: 220.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/1.008, allocations: 2.234 MB / 0.8558 GB, free: 219.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/1.008, allocations: 211.5 kB / 0.856 GB, free: 218.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.009, allocations: 18.78 kB / 0.856 GB, free: 218.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/1.009, allocations: 66.7 kB / 0.8561 GB, free: 218.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.009, allocations: 88.95 kB / 0.8562 GB, free: 218.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.01, allocations: 64.66 kB / 0.8562 GB, free: 218.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008563/1.01, allocations: 0.6707 MB / 0.8569 GB, free: 218.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/1.01, allocations: 0 / 0.8569 GB, free: 218.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003729/1.014, allocations: 1.004 MB / 0.8579 GB, free: 218.3 MB / 0.6231 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.003258/1.017, allocations: 1.286 MB / 0.8591 GB, free: 218.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002375/1.02, allocations: 1.468 MB / 0.8606 GB, free: 217.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.02, allocations: 1.344 kB / 0.8606 GB, free: 217.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.021, allocations: 0.9226 MB / 0.8615 GB, free: 216.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.023, allocations: 402.2 kB / 0.8618 GB, free: 216.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/1.027, allocations: 2.951 MB / 0.8647 GB, free: 215.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/1.028, allocations: 1.205 MB / 0.8659 GB, free: 214.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001338/1.029, allocations: 0.6833 MB / 0.8666 GB, free: 214.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/1.03, allocations: 141.8 kB / 0.8667 GB, free: 214.3 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/1.03, allocations: 0 / 0.8667 GB, free: 214.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.04482/1.074, allocations: 35.45 MB / 0.9013 GB, free: 185.4 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile (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) 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) Reference file matches