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.001442/0.001442, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.658/0.658, allocations: 91.21 MB / 381.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 76.69 kB / 460.3 MB, free: 23.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1189, allocations: 67.7 MB / 0.5156 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5112/0.6301, allocations: 258.9 MB / 0.7684 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.645, allocations: 12.91 MB / 0.781 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.6461, allocations: 79.5 kB / 0.7811 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.6484, allocations: 0.9829 MB / 0.7821 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.6608, allocations: 5.449 MB / 0.7874 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.667, allocations: 2.413 MB / 0.7897 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002972/0.67, allocations: 1.997 MB / 0.7917 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.6707, allocations: 377.2 kB / 0.792 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.6734, allocations: 1.28 MB / 0.7933 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.6748, allocations: 0.801 MB / 0.7941 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.6751, allocations: 104 kB / 0.7942 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02188/0.697, allocations: 10.55 MB / 0.8045 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008698/0.698, allocations: 394.5 kB / 0.8049 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.6997, allocations: 0.7032 MB / 0.8055 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.7152, allocations: 5.971 MB / 0.8114 GB, free: 388 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.7152, allocations: 3.984 kB / 0.8114 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7152, allocations: 3.938 kB / 0.8114 GB, free: 380 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.866e-05/0.7153, allocations: 0 / 0.8114 GB, free: 380 kB / 0.6075 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.006228/0.7215, allocations: 2.711 MB / 0.814 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.7216, allocations: 8.031 kB / 0.814 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.7219, allocations: 165.9 kB / 0.8142 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.7235, allocations: 0.9315 MB / 0.8151 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.7235, allocations: 69.98 kB / 0.8152 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.7237, allocations: 99.91 kB / 0.8153 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.7259, allocations: 1.408 MB / 0.8166 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.7259, allocations: 11.98 kB / 0.8166 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.726, allocations: 36 kB / 0.8167 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.7262, allocations: 85.95 kB / 0.8168 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.7283, allocations: 1.527 MB / 0.8183 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007916/0.7363, allocations: 5.856 MB / 0.824 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.7379, allocations: 0.8597 MB / 0.8248 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000946/0.7388, allocations: 0.6804 MB / 0.8255 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2368/0.9757, allocations: 2.399 MB / 0.8278 GB, free: 239.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.9758, allocations: 51.11 kB / 0.8279 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 5.901e-06/0.9758, allocations: 0 / 0.8279 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.00459/0.9804, allocations: 2.103 MB / 0.8299 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.9804, allocations: 94.44 kB / 0.83 GB, free: 239.1 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.9816, allocations: 0.9025 MB / 0.8309 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.052e-05/0.9817, allocations: 43.98 kB / 0.8309 GB, free: 238.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.9821, allocations: 0.5253 MB / 0.8315 GB, free: 238.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.9824, allocations: 387.6 kB / 0.8318 GB, free: 238.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.9828, allocations: 186.2 kB / 0.832 GB, free: 238 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.9829, allocations: 345.5 kB / 0.8323 GB, free: 237.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.9836, allocations: 457.2 kB / 0.8328 GB, free: 237.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.9845, allocations: 0.5254 MB / 0.8333 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.9862, allocations: 1.04 MB / 0.8343 GB, free: 236.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.9862, allocations: 0 / 0.8343 GB, free: 236.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002507/0.9887, allocations: 1.396 MB / 0.8357 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.9887, allocations: 5.156 kB / 0.8357 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.9887, allocations: 0 / 0.8357 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.9892, allocations: 124.3 kB / 0.8358 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.9899, allocations: 182.7 kB / 0.836 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.9921, allocations: 3.357 MB / 0.8392 GB, free: 233 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.9927, allocations: 71.89 kB / 0.8393 GB, free: 233 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.9929, allocations: 61.94 kB / 0.8394 GB, free: 233 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.0004966/0.9934, allocations: 286.2 kB / 0.8396 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.9936, allocations: 127.9 kB / 0.8398 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/0.9969, allocations: 2.051 MB / 0.8418 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/0.9969, allocations: 21.44 kB / 0.8418 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.9969, allocations: 1.375 kB / 0.8418 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.997, allocations: 8.672 kB / 0.8418 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/1.002, allocations: 2.999 MB / 0.8447 GB, free: 230.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.002, allocations: 0 / 0.8447 GB, free: 230.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/1.003, allocations: 169 kB / 0.8449 GB, free: 230.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/1.003, allocations: 130.4 kB / 0.845 GB, free: 230.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/1.003, allocations: 39.17 kB / 0.845 GB, free: 230.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/1.006, allocations: 3.37 MB / 0.8483 GB, free: 227.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.006, allocations: 1.766 kB / 0.8483 GB, free: 227.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/1.009, allocations: 2.23 MB / 0.8505 GB, free: 226.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/1.009, allocations: 209.1 kB / 0.8507 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/1.01, allocations: 29.92 kB / 0.8507 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/1.01, allocations: 17.92 kB / 0.8508 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.01, allocations: 87.7 kB / 0.8508 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.01, allocations: 62.39 kB / 0.8509 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009149/1.011, allocations: 0.6581 MB / 0.8515 GB, free: 225.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3e-07/1.011, allocations: 0 / 0.8515 GB, free: 225.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002618/1.014, allocations: 1.007 MB / 0.8525 GB, free: 225.4 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.003419/1.017, allocations: 1.28 MB / 0.8538 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003043/1.02, allocations: 1.561 MB / 0.8553 GB, free: 224.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.02, allocations: 0 / 0.8553 GB, free: 224.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.022, allocations: 0.9305 MB / 0.8562 GB, free: 224 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/1.024, allocations: 424.7 kB / 0.8566 GB, free: 223.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/1.028, allocations: 2.462 MB / 0.859 GB, free: 222.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/1.029, allocations: 1.19 MB / 0.8602 GB, free: 222 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001403/1.03, allocations: 0.6823 MB / 0.8608 GB, free: 221.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/1.031, allocations: 141.5 kB / 0.861 GB, free: 221.9 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/1.031, allocations: 0 / 0.861 GB, free: 221.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.0473/1.078, allocations: 36.2 MB / 0.8963 GB, free: 194 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches