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.005782/0.005782, allocations: 101.3 kB / 15.88 MB, free: 5.844 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.001445/0.001445, allocations: 196.7 kB / 16.79 MB, free: 5.781 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.291/1.291, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.627/0.627, allocations: 89.5 MB / 380.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 77.19 kB / 458.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1117, allocations: 67.32 MB / 0.5132 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4981/0.6098, allocations: 259.3 MB / 0.7664 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.6254, allocations: 13.11 MB / 0.7793 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.6266, allocations: 11.94 kB / 0.7793 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.6291, allocations: 0.8984 MB / 0.7801 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.6409, allocations: 4.69 MB / 0.7847 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005556/0.6465, allocations: 2.095 MB / 0.7868 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.6493, allocations: 2.571 MB / 0.7893 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.6499, allocations: 322.4 kB / 0.7896 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.6523, allocations: 1.078 MB / 0.7906 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.6534, allocations: 0.7626 MB / 0.7914 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.6536, allocations: 68 kB / 0.7914 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.6731, allocations: 11.85 MB / 0.803 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005525/0.6737, allocations: 338.8 kB / 0.8033 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009183/0.6746, allocations: 0.5868 MB / 0.8039 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007567/0.6822, allocations: 3.969 MB / 0.8078 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6822, allocations: 0 / 0.8078 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6822, allocations: 0 / 0.8078 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.485e-05/0.6822, allocations: 0 / 0.8078 GB, free: 5.414 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00567/0.6879, allocations: 2.427 MB / 0.8102 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.688, allocations: 11.97 kB / 0.8102 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.6883, allocations: 126.5 kB / 0.8103 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.6892, allocations: 0.607 MB / 0.8109 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.6892, allocations: 77.88 kB / 0.811 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.6894, allocations: 91.98 kB / 0.811 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.6914, allocations: 1.373 MB / 0.8124 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6915, allocations: 4 kB / 0.8124 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.6915, allocations: 39.98 kB / 0.8124 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.6917, allocations: 81.95 kB / 0.8125 GB, free: 480 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.6938, allocations: 1.515 MB / 0.814 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006413/0.7002, allocations: 5.104 MB / 0.819 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.7018, allocations: 0.8489 MB / 0.8198 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.7027, allocations: 0.6804 MB / 0.8205 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/0.7046, allocations: 2.398 MB / 0.8228 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.7046, allocations: 43.69 kB / 0.8229 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 3.446e-06/0.7046, allocations: 0 / 0.8229 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.0041/0.7087, allocations: 2.069 MB / 0.8249 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.7088, allocations: 98.22 kB / 0.825 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.7096, allocations: 0.6059 MB / 0.8256 GB, free: 2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.7097, allocations: 45.7 kB / 0.8256 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.7099, allocations: 396.9 kB / 0.826 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.7103, allocations: 390.3 kB / 0.8264 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.7106, allocations: 186.6 kB / 0.8265 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7107, allocations: 337.9 kB / 0.8269 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.7115, allocations: 461.8 kB / 0.8273 GB, free: 196 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2088/0.9203, allocations: 0.5162 MB / 0.8278 GB, free: 243 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.9223, allocations: 1.056 MB / 0.8288 GB, free: 243 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9223, allocations: 3.75 kB / 0.8288 GB, free: 243 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002627/0.925, allocations: 1.352 MB / 0.8302 GB, free: 242.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.925, allocations: 9.438 kB / 0.8302 GB, free: 242.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.925, allocations: 0.7812 kB / 0.8302 GB, free: 242.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.9255, allocations: 123 kB / 0.8303 GB, free: 242.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.9263, allocations: 186.7 kB / 0.8305 GB, free: 242.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.9286, allocations: 3.115 MB / 0.8335 GB, free: 239.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/0.9293, allocations: 94.14 kB / 0.8336 GB, free: 239.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.9295, allocations: 61.89 kB / 0.8336 GB, free: 239.8 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.0004408/0.9299, allocations: 266.3 kB / 0.8339 GB, free: 239.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.9302, allocations: 91.66 kB / 0.834 GB, free: 239.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.9338, allocations: 2.026 MB / 0.836 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.9338, allocations: 12.52 kB / 0.836 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.9338, allocations: 2.781 kB / 0.836 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.9339, allocations: 7.109 kB / 0.836 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.9377, allocations: 2.896 MB / 0.8388 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.9377, allocations: 0 / 0.8388 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.9384, allocations: 172.8 kB / 0.839 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.9388, allocations: 128.3 kB / 0.8391 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.534e-05/0.9389, allocations: 42.41 kB / 0.8391 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.941, allocations: 3.124 MB / 0.8422 GB, free: 234.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.941, allocations: 3.172 kB / 0.8422 GB, free: 234.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.9441, allocations: 2.19 MB / 0.8443 GB, free: 233.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.9443, allocations: 175.1 kB / 0.8445 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.9445, allocations: 35.09 kB / 0.8445 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.9451, allocations: 50.05 kB / 0.8446 GB, free: 233 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.9453, allocations: 87.5 kB / 0.8447 GB, free: 233 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.9454, allocations: 68.08 kB / 0.8447 GB, free: 233 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005396/0.9459, allocations: 479 kB / 0.8452 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.946, allocations: 0 / 0.8452 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002443/0.9484, allocations: 0.9872 MB / 0.8462 GB, free: 232.6 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.003197/0.9516, allocations: 1.284 MB / 0.8474 GB, free: 232.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.9539, allocations: 1.471 MB / 0.8488 GB, free: 231.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9539, allocations: 0 / 0.8488 GB, free: 231.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.9551, allocations: 0.9317 MB / 0.8498 GB, free: 231.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.957, allocations: 367.4 kB / 0.8501 GB, free: 231.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.9611, allocations: 2.564 MB / 0.8526 GB, free: 229.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.9618, allocations: 1.089 MB / 0.8537 GB, free: 229 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.9623, allocations: 142.2 kB / 0.8538 GB, free: 229 MB / 0.6231 GB Notification: Performance of SimCode: time 9.71e-07/0.9623, allocations: 0 / 0.8538 GB, free: 229 MB / 0.6231 GB Notification: Performance of Templates: time 0.03499/0.9973, allocations: 36.77 MB / 0.8897 GB, free: 203.8 MB / 0.6231 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