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.0008042/0.0008041, allocations: 92.39 kB / 16.02 MB, free: 80 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.0008883/0.0008881, allocations: 180 kB / 16.92 MB, free: 6.652 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.297/1.297, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6085/0.6085, allocations: 89.65 MB / 381.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 8.531 kB / 461.3 MB, free: 24.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 68.84 MB / 0.5177 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4887/0.591, allocations: 255.6 MB / 0.7674 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.6065, allocations: 12.92 MB / 0.78 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.6075, allocations: 11.94 kB / 0.78 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.6098, allocations: 0.8984 MB / 0.7809 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.6214, allocations: 4.685 MB / 0.7854 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005364/0.6268, allocations: 2.097 MB / 0.7875 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002884/0.6296, allocations: 2.571 MB / 0.79 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005378/0.6302, allocations: 310.4 kB / 0.7903 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.6323, allocations: 1.035 MB / 0.7913 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.6334, allocations: 0.704 MB / 0.792 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.6336, allocations: 48 kB / 0.792 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/0.6525, allocations: 11.83 MB / 0.8036 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.653, allocations: 314.8 kB / 0.8039 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000831/0.6539, allocations: 0.5652 MB / 0.8044 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007624/0.6615, allocations: 3.945 MB / 0.8083 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6615, allocations: 3.938 kB / 0.8083 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6615, allocations: 0 / 0.8083 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.6616, allocations: 3.938 kB / 0.8083 GB, free: 1.391 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.2197/0.8813, allocations: 2.212 MB / 0.8105 GB, free: 228.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.8814, allocations: 9.656 kB / 0.8105 GB, free: 228.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.8818, allocations: 124.2 kB / 0.8106 GB, free: 228.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.8829, allocations: 0.6122 MB / 0.8112 GB, free: 228.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.883, allocations: 69.83 kB / 0.8112 GB, free: 228.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.8832, allocations: 98.77 kB / 0.8113 GB, free: 228.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.8857, allocations: 1.372 MB / 0.8127 GB, free: 228.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.8857, allocations: 0.8438 kB / 0.8127 GB, free: 228.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/0.8858, allocations: 44.67 kB / 0.8127 GB, free: 228.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.886, allocations: 86.03 kB / 0.8128 GB, free: 228.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.8882, allocations: 1.514 MB / 0.8143 GB, free: 227.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/0.8938, allocations: 5.111 MB / 0.8193 GB, free: 224 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.8952, allocations: 0.8497 MB / 0.8201 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000876/0.896, allocations: 0.6718 MB / 0.8208 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.8975, allocations: 2.417 MB / 0.8231 GB, free: 220.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.8975, allocations: 44.75 kB / 0.8232 GB, free: 220.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=114): time 3.336e-06/0.8975, allocations: 1.469 kB / 0.8232 GB, free: 220.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114): time 0.003521/0.9011, allocations: 2.066 MB / 0.8252 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.9011, allocations: 89.2 kB / 0.8253 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.9018, allocations: 0.6111 MB / 0.8259 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.9019, allocations: 48.92 kB / 0.8259 GB, free: 219.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.9021, allocations: 389.2 kB / 0.8263 GB, free: 218.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.9023, allocations: 387.9 kB / 0.8267 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.9025, allocations: 81.53 kB / 0.8267 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.9025, allocations: 340.3 kB / 0.8271 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.9032, allocations: 464.5 kB / 0.8275 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.904, allocations: 0.5184 MB / 0.828 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.9054, allocations: 1.053 MB / 0.829 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9054, allocations: 0 / 0.829 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002242/0.9076, allocations: 1.353 MB / 0.8304 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9077, allocations: 6.469 kB / 0.8304 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.9077, allocations: 0 / 0.8304 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.9082, allocations: 121.8 kB / 0.8305 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.9089, allocations: 188.7 kB / 0.8307 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.9111, allocations: 3.122 MB / 0.8337 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/0.9118, allocations: 93.44 kB / 0.8338 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.9119, allocations: 63.06 kB / 0.8339 GB, free: 213.7 MB / 0.6075 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.0004162/0.9124, allocations: 261.6 kB / 0.8341 GB, free: 213.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.9126, allocations: 95.22 kB / 0.8342 GB, free: 213.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.9164, allocations: 2.033 MB / 0.8362 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/0.9164, allocations: 11.88 kB / 0.8362 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.9164, allocations: 2.469 kB / 0.8362 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.9165, allocations: 8.297 kB / 0.8362 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004466/0.9209, allocations: 2.888 MB / 0.839 GB, free: 211.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.921, allocations: 1.031 kB / 0.839 GB, free: 211.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.9216, allocations: 182 kB / 0.8392 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004013/0.922, allocations: 125.2 kB / 0.8393 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.181e-05/0.9221, allocations: 44.02 kB / 0.8394 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.9242, allocations: 3.121 MB / 0.8424 GB, free: 208.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9242, allocations: 1.188 kB / 0.8424 GB, free: 208.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.9274, allocations: 2.19 MB / 0.8445 GB, free: 207.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.9278, allocations: 194.8 kB / 0.8447 GB, free: 207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.9279, allocations: 18.83 kB / 0.8447 GB, free: 207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.9286, allocations: 52.67 kB / 0.8448 GB, free: 207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.9287, allocations: 93.34 kB / 0.8449 GB, free: 207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.9289, allocations: 58.92 kB / 0.8449 GB, free: 206.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000574/0.9294, allocations: 491.9 kB / 0.8454 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.9295, allocations: 0 / 0.8454 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002436/0.9319, allocations: 0.9822 MB / 0.8464 GB, free: 206.6 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.00279/0.9347, allocations: 1.286 MB / 0.8476 GB, free: 206.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.937, allocations: 1.469 MB / 0.8491 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.937, allocations: 1.844 kB / 0.8491 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.9381, allocations: 0.9297 MB / 0.85 GB, free: 204.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.9402, allocations: 369.1 kB / 0.8503 GB, free: 204.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.9436, allocations: 2.644 MB / 0.8529 GB, free: 202.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.9441, allocations: 1.098 MB / 0.854 GB, free: 202.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.9445, allocations: 138.2 kB / 0.8541 GB, free: 202 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.9445, allocations: 0 / 0.8541 GB, free: 202 MB / 0.6075 GB Notification: Performance of Templates: time 0.03578/0.9803, allocations: 36.63 MB / 0.8899 GB, free: 168.1 MB / 0.6075 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