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.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_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_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.001154/0.001154, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.00117/0.00117, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7437/0.7437, allocations: 91.19 MB / 382.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 75.88 kB / 0.5175 GB, free: 4.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3396, allocations: 67.68 MB / 0.5836 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5887/0.9283, allocations: 258.9 MB / 0.8364 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.9436, allocations: 12.92 MB / 0.849 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.9452, allocations: 72.03 kB / 0.8491 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.9478, allocations: 1.024 MB / 0.8501 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.963, allocations: 5.517 MB / 0.8555 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007397/0.9704, allocations: 2.423 MB / 0.8578 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.9739, allocations: 2.017 MB / 0.8598 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006496/0.9746, allocations: 375.5 kB / 0.8602 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/0.9776, allocations: 1.311 MB / 0.8614 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.9786, allocations: 0.8087 MB / 0.8622 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.9788, allocations: 100 kB / 0.8623 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02051/0.9993, allocations: 10.61 MB / 0.8727 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007636/1, allocations: 386.5 kB / 0.8731 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/1.001, allocations: 0.707 MB / 0.8737 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/1.02, allocations: 6.029 MB / 0.8796 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/1.02, allocations: 0 / 0.8796 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.645e-06/1.02, allocations: 0 / 0.8796 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.849e-05/1.02, allocations: 0 / 0.8796 GB, free: 9.637 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.006193/1.026, allocations: 2.726 MB / 0.8823 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.026, allocations: 12.03 kB / 0.8823 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/1.027, allocations: 162 kB / 0.8825 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.028, allocations: 1.045 MB / 0.8835 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/1.028, allocations: 73.98 kB / 0.8836 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.029, allocations: 99.98 kB / 0.8836 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/1.031, allocations: 1.393 MB / 0.885 GB, free: 4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/1.031, allocations: 0 / 0.885 GB, free: 4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/1.031, allocations: 39.98 kB / 0.885 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/1.031, allocations: 97.83 kB / 0.8851 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/1.033, allocations: 1.519 MB / 0.8866 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007002/1.04, allocations: 5.841 MB / 0.8923 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.041, allocations: 0.8612 MB / 0.8932 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009023/1.042, allocations: 0.6688 MB / 0.8938 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/1.044, allocations: 2.402 MB / 0.8962 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.044, allocations: 47.62 kB / 0.8962 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.957e-06/1.044, allocations: 4 kB / 0.8962 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.003786/1.048, allocations: 2.099 MB / 0.8983 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/1.048, allocations: 90.23 kB / 0.8984 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.049, allocations: 0.8988 MB / 0.8992 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/1.049, allocations: 45.7 kB / 0.8993 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/1.05, allocations: 0.5214 MB / 0.8998 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/1.05, allocations: 402.2 kB / 0.9002 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/1.05, allocations: 182.6 kB / 0.9003 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.05, allocations: 341.9 kB / 0.9007 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/1.051, allocations: 461.7 kB / 0.9011 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008343/1.052, allocations: 0.5201 MB / 0.9016 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/1.054, allocations: 1.051 MB / 0.9026 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/1.054, allocations: 7.938 kB / 0.9026 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002365/1.056, allocations: 1.375 MB / 0.904 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.056, allocations: 6.812 kB / 0.904 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.056, allocations: 4 kB / 0.904 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/1.057, allocations: 125.6 kB / 0.9041 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/1.057, allocations: 183.7 kB / 0.9043 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/1.06, allocations: 3.353 MB / 0.9076 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/1.061, allocations: 83.08 kB / 0.9076 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/1.061, allocations: 59.98 kB / 0.9077 GB, free: 11.27 MB / 0.6544 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.0005146/1.062, allocations: 285.6 kB / 0.908 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/1.062, allocations: 126.4 kB / 0.9081 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/1.065, allocations: 2.052 MB / 0.9101 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/1.065, allocations: 12 kB / 0.9101 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.065, allocations: 0 / 0.9101 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.065, allocations: 11.97 kB / 0.9101 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/1.07, allocations: 2.996 MB / 0.9131 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/1.07, allocations: 7.984 kB / 0.9131 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/1.07, allocations: 167.8 kB / 0.9132 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/1.071, allocations: 129.7 kB / 0.9133 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/1.071, allocations: 39.97 kB / 0.9134 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/1.074, allocations: 3.353 MB / 0.9167 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.074, allocations: 4 kB / 0.9167 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/1.077, allocations: 2.232 MB / 0.9188 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/1.077, allocations: 215.2 kB / 0.919 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/1.077, allocations: 27.94 kB / 0.9191 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/1.078, allocations: 19.91 kB / 0.9191 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.078, allocations: 89 kB / 0.9192 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.078, allocations: 60.03 kB / 0.9192 GB, free: 15.01 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000832/1.079, allocations: 0.6616 MB / 0.9199 GB, free: 14.34 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/1.079, allocations: 3.938 kB / 0.9199 GB, free: 14.34 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00268/1.082, allocations: 0.9987 MB / 0.9209 GB, free: 13.34 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.002667/1.084, allocations: 1.278 MB / 0.9221 GB, free: 12.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002477/1.087, allocations: 1.472 MB / 0.9235 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.087, allocations: 0 / 0.9235 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/1.088, allocations: 0.9213 MB / 0.9244 GB, free: 9.605 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.09, allocations: 434.4 kB / 0.9249 GB, free: 9.199 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/1.094, allocations: 2.49 MB / 0.9273 GB, free: 6.668 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/1.095, allocations: 1.195 MB / 0.9285 GB, free: 5.445 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/1.095, allocations: 159.4 kB / 0.9286 GB, free: 5.289 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/1.095, allocations: 0 / 0.9286 GB, free: 5.289 MB / 0.67 GB Notification: Performance of Templates: time 0.05086/1.146, allocations: 41.95 MB / 0.9696 GB, free: 11.32 MB / 0.7169 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile (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) 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) Reference file matches