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.001475/0.001475, allocations: 114 kB / 16.42 MB, free: 6.449 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.001705/0.001706, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6602/0.6602, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 83.88 kB / 0.5175 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2896, allocations: 67.67 MB / 0.5836 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5083/0.7979, allocations: 258.9 MB / 0.8364 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.8108, allocations: 12.91 MB / 0.849 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.8121, allocations: 72.03 kB / 0.8491 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.8145, allocations: 1.03 MB / 0.8501 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.8291, allocations: 5.519 MB / 0.8555 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.8353, allocations: 2.42 MB / 0.8578 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.8378, allocations: 2.017 MB / 0.8598 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.8383, allocations: 378.3 kB / 0.8602 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.8408, allocations: 1.311 MB / 0.8615 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.842, allocations: 0.8048 MB / 0.8622 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.8423, allocations: 100 kB / 0.8623 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0179/0.8602, allocations: 10.61 MB / 0.8727 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.8607, allocations: 390.5 kB / 0.8731 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009077/0.8616, allocations: 0.7032 MB / 0.8738 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.8727, allocations: 6.037 MB / 0.8797 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8727, allocations: 8 kB / 0.8797 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8727, allocations: 0 / 0.8797 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.069e-05/0.8728, allocations: 0 / 0.8797 GB, free: 9.605 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.005921/0.8787, allocations: 2.718 MB / 0.8823 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8787, allocations: 8.031 kB / 0.8823 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.879, allocations: 162 kB / 0.8825 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.8809, allocations: 1.045 MB / 0.8835 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.881, allocations: 73.98 kB / 0.8836 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.8811, allocations: 95.98 kB / 0.8837 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.8833, allocations: 1.389 MB / 0.885 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.8833, allocations: 3.938 kB / 0.885 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.255e-05/0.8834, allocations: 43.98 kB / 0.8851 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.8835, allocations: 97.88 kB / 0.8852 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.8856, allocations: 1.527 MB / 0.8866 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007378/0.893, allocations: 5.826 MB / 0.8923 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.8945, allocations: 0.8678 MB / 0.8932 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/0.8954, allocations: 0.6727 MB / 0.8938 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.8972, allocations: 2.398 MB / 0.8962 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.8972, allocations: 51.62 kB / 0.8962 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.306e-06/0.8972, allocations: 4 kB / 0.8962 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.003833/0.9011, allocations: 2.095 MB / 0.8983 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.9011, allocations: 94.23 kB / 0.8984 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.9021, allocations: 0.8949 MB / 0.8992 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/0.9022, allocations: 49.64 kB / 0.8993 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.9026, allocations: 0.5214 MB / 0.8998 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.9029, allocations: 398.2 kB / 0.9002 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.9032, allocations: 182.6 kB / 0.9004 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9033, allocations: 341.9 kB / 0.9007 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.9041, allocations: 461.7 kB / 0.9011 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.9049, allocations: 0.524 MB / 0.9016 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.9065, allocations: 1.051 MB / 0.9027 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9065, allocations: 0 / 0.9027 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002276/0.9088, allocations: 1.387 MB / 0.904 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9088, allocations: 4 kB / 0.904 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9088, allocations: 0 / 0.904 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/0.9092, allocations: 125.6 kB / 0.9041 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.9099, allocations: 179.8 kB / 0.9043 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.9128, allocations: 3.349 MB / 0.9076 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.9134, allocations: 83.16 kB / 0.9077 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.9135, allocations: 63.97 kB / 0.9077 GB, free: 11.25 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.0004288/0.9139, allocations: 281.5 kB / 0.908 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.9142, allocations: 126.4 kB / 0.9081 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.9177, allocations: 2.053 MB / 0.9101 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.9178, allocations: 3.984 kB / 0.9101 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9178, allocations: 0 / 0.9101 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.918, allocations: 211.2 kB / 0.9103 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.9182, allocations: 24 kB / 0.9103 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.9186, allocations: 20 kB / 0.9104 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.9188, allocations: 92.92 kB / 0.9104 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002808/0.9216, allocations: 1.532 MB / 0.9119 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00301/0.9246, allocations: 2.243 MB / 0.9141 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000802/0.9254, allocations: 0.6022 MB / 0.9147 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007891/0.9262, allocations: 0.6495 MB / 0.9154 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of Backend: time 1.633e-06/0.9262, allocations: 112 / 0.9154 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00835/0.9346, allocations: 3.224 MB / 0.9185 GB, free: 72 kB / 0.6544 GB Notification: Performance of SimCode: time 0.003764/0.9384, allocations: 2.752 MB / 0.9212 GB, free: 13.27 MB / 0.67 GB Notification: Performance of Templates: time 0.07732/1.016, allocations: 56.79 MB / 0.9767 GB, free: 4.547 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