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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001284/0.001288, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.00123/0.00123, allocations: 196.7 kB / 16.91 MB, free: 6.188 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7011/0.7011, allocations: 89.46 MB / 380.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002278, allocations: 87.86 kB / 458.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1182, allocations: 67.29 MB / 0.5133 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7073/0.8255, allocations: 256.4 MB / 0.7637 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.8387, allocations: 12.8 MB / 0.7762 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.84, allocations: 13.16 kB / 0.7763 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.8422, allocations: 0.8863 MB / 0.7771 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.8549, allocations: 4.904 MB / 0.7819 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005443/0.8604, allocations: 2.225 MB / 0.7841 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002607/0.863, allocations: 1.708 MB / 0.7857 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006695/0.8637, allocations: 351.4 kB / 0.7861 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/0.8669, allocations: 1.153 MB / 0.7872 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.8681, allocations: 0.7869 MB / 0.788 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.8683, allocations: 98.56 kB / 0.7881 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01859/0.8869, allocations: 11.01 MB / 0.7988 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006517/0.8876, allocations: 360.7 kB / 0.7992 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009798/0.8886, allocations: 0.6197 MB / 0.7998 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008061/0.8967, allocations: 3.972 MB / 0.8037 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.8967, allocations: 0.6875 kB / 0.8037 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8967, allocations: 0.7812 kB / 0.8037 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.8967, allocations: 0 / 0.8037 GB, free: 16.58 MB / 0.5919 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.005665/0.9024, allocations: 2.437 MB / 0.806 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.9024, allocations: 7.625 kB / 0.806 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.9027, allocations: 127 kB / 0.8062 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.9036, allocations: 0.6141 MB / 0.8068 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.9037, allocations: 71.39 kB / 0.8068 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.9038, allocations: 97.47 kB / 0.8069 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.9058, allocations: 1.384 MB / 0.8083 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.9058, allocations: 0.8438 kB / 0.8083 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.9059, allocations: 35.78 kB / 0.8083 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.906, allocations: 88.81 kB / 0.8084 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.9078, allocations: 1.51 MB / 0.8099 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.9143, allocations: 5.103 MB / 0.8149 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.9157, allocations: 0.8443 MB / 0.8157 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/0.9166, allocations: 0.6841 MB / 0.8163 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.9188, allocations: 2.4 MB / 0.8187 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.9188, allocations: 46.88 kB / 0.8187 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 5.299e-06/0.9188, allocations: 3.984 kB / 0.8187 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.003708/0.9225, allocations: 2.066 MB / 0.8208 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.9226, allocations: 93.83 kB / 0.8208 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/0.9233, allocations: 0.6149 MB / 0.8214 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/0.9234, allocations: 40.23 kB / 0.8215 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.9237, allocations: 394.5 kB / 0.8219 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.924, allocations: 397 kB / 0.8222 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.9243, allocations: 186.2 kB / 0.8224 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9245, allocations: 342 kB / 0.8227 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.9251, allocations: 459 kB / 0.8232 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.9259, allocations: 0.5272 MB / 0.8237 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.9273, allocations: 1.048 MB / 0.8247 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.9273, allocations: 0 / 0.8247 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002217/0.9295, allocations: 1.352 MB / 0.826 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.9295, allocations: 6.031 kB / 0.826 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.9296, allocations: 0 / 0.826 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000453/0.93, allocations: 122.1 kB / 0.8262 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.9308, allocations: 187.1 kB / 0.8263 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.9339, allocations: 3.357 MB / 0.8296 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.9347, allocations: 86.98 kB / 0.8297 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.9349, allocations: 68.27 kB / 0.8298 GB, free: 2.555 MB / 0.5919 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.0004816/0.9354, allocations: 262.1 kB / 0.83 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.9357, allocations: 94.88 kB / 0.8301 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.9394, allocations: 2.027 MB / 0.8321 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.9395, allocations: 15.94 kB / 0.8321 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9395, allocations: 0 / 0.8321 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.9395, allocations: 3.984 kB / 0.8321 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.9442, allocations: 2.894 MB / 0.8349 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.9442, allocations: 4 kB / 0.8349 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.9449, allocations: 176 kB / 0.8351 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.9454, allocations: 127.2 kB / 0.8352 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.9455, allocations: 44.89 kB / 0.8353 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.9486, allocations: 3.361 MB / 0.8386 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9487, allocations: 8.094 kB / 0.8386 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.9523, allocations: 2.184 MB / 0.8407 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.9526, allocations: 183.7 kB / 0.8409 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.9528, allocations: 26.67 kB / 0.8409 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.9534, allocations: 55.8 kB / 0.8409 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.9536, allocations: 80.95 kB / 0.841 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.9537, allocations: 63.48 kB / 0.8411 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006324/0.9544, allocations: 489.6 kB / 0.8415 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9544, allocations: 0 / 0.8415 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002723/0.9571, allocations: 0.9792 MB / 0.8425 GB, free: 7.723 MB / 0.6075 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.003381/0.9605, allocations: 1.288 MB / 0.8438 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.9637, allocations: 1.559 MB / 0.8453 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9637, allocations: 3.938 kB / 0.8453 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.9652, allocations: 0.936 MB / 0.8462 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.9672, allocations: 388.9 kB / 0.8466 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.9716, allocations: 2.569 MB / 0.8491 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.9724, allocations: 1.082 MB / 0.8501 GB, free: 16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/0.973, allocations: 143.4 kB / 0.8503 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.973, allocations: 0 / 0.8503 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of Templates: time 0.05222/1.025, allocations: 36.77 MB / 0.8862 GB, free: 11.25 MB / 0.6544 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