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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.0008281, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006695/0.006695, allocations: 175.8 kB / 16.27 MB, free: 6.613 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5558/0.5558, allocations: 89.63 MB / 381.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 12.56 kB / 460.7 MB, free: 24.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09929, allocations: 68.83 MB / 0.5172 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4241/0.5234, allocations: 255.6 MB / 0.7668 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.5362, allocations: 12.93 MB / 0.7794 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.5369, allocations: 11.94 kB / 0.7794 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.5388, allocations: 0.8984 MB / 0.7803 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009929/0.5488, allocations: 4.679 MB / 0.7849 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004547/0.5533, allocations: 2.102 MB / 0.7869 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.5557, allocations: 2.575 MB / 0.7895 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.5561, allocations: 298.5 kB / 0.7897 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.5578, allocations: 1.047 MB / 0.7908 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007893/0.5586, allocations: 0.7001 MB / 0.7914 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5588, allocations: 48 kB / 0.7915 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01523/0.574, allocations: 11.83 MB / 0.803 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.5743, allocations: 310.8 kB / 0.8033 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.5749, allocations: 0.5651 MB / 0.8039 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.2648/0.8397, allocations: 6.097 MB / 0.8098 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.8398, allocations: 1.094 kB / 0.8098 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8398, allocations: 0 / 0.8098 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.8398, allocations: 0 / 0.8098 GB, free: 17.45 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.004587/0.8444, allocations: 2.221 MB / 0.812 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.8444, allocations: 9.812 kB / 0.812 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.8446, allocations: 151.5 kB / 0.8122 GB, free: 16.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.8448, allocations: 125.7 kB / 0.8123 GB, free: 16.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.8454, allocations: 0.6081 MB / 0.8129 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.8455, allocations: 71.84 kB / 0.8129 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.8456, allocations: 97.05 kB / 0.813 GB, free: 16.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.8475, allocations: 1.377 MB / 0.8144 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.8476, allocations: 2.141 kB / 0.8144 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.8476, allocations: 40.53 kB / 0.8144 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.8478, allocations: 87.52 kB / 0.8145 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.8495, allocations: 1.512 MB / 0.816 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/0.8541, allocations: 5.104 MB / 0.821 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.8553, allocations: 0.8514 MB / 0.8218 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.856, allocations: 0.6758 MB / 0.8225 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.8572, allocations: 2.42 MB / 0.8248 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.8572, allocations: 43.03 kB / 0.8249 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=114): time 2.725e-06/0.8573, allocations: 0.5625 kB / 0.8249 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114): time 0.003197/0.8605, allocations: 2.061 MB / 0.8269 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.8605, allocations: 88.98 kB / 0.827 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.8612, allocations: 0.6189 MB / 0.8276 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.8612, allocations: 50.05 kB / 0.8276 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.8614, allocations: 387.5 kB / 0.828 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.8617, allocations: 397.1 kB / 0.8284 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.8618, allocations: 79.66 kB / 0.8284 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.8618, allocations: 338.5 kB / 0.8288 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/0.8626, allocations: 463.1 kB / 0.8292 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.8633, allocations: 0.5188 MB / 0.8297 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.8654, allocations: 1.053 MB / 0.8307 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8654, allocations: 0.625 kB / 0.8307 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002071/0.8675, allocations: 1.349 MB / 0.8321 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.8675, allocations: 5.938 kB / 0.8321 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.8675, allocations: 1.859 kB / 0.8321 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.8679, allocations: 127.3 kB / 0.8322 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.8686, allocations: 184.8 kB / 0.8324 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.8708, allocations: 3.115 MB / 0.8354 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/0.8714, allocations: 89.97 kB / 0.8355 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.8716, allocations: 75.41 kB / 0.8356 GB, free: 6.547 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.0004215/0.872, allocations: 258.4 kB / 0.8358 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.8722, allocations: 91.28 kB / 0.8359 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.8754, allocations: 2.025 MB / 0.8379 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.8754, allocations: 11.19 kB / 0.8379 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8754, allocations: 4.562 kB / 0.8379 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.8754, allocations: 5.625 kB / 0.8379 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.8795, allocations: 2.89 MB / 0.8407 GB, free: 21.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.8796, allocations: 0 / 0.8407 GB, free: 21.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.8801, allocations: 175.5 kB / 0.8409 GB, free: 21.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.8805, allocations: 131.4 kB / 0.841 GB, free: 21.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/0.8806, allocations: 46.5 kB / 0.8411 GB, free: 21.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/0.8829, allocations: 3.129 MB / 0.8441 GB, free: 19.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8829, allocations: 6.219 kB / 0.8441 GB, free: 19.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.8856, allocations: 2.185 MB / 0.8462 GB, free: 18.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.8859, allocations: 191.2 kB / 0.8464 GB, free: 18.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.886, allocations: 28 kB / 0.8465 GB, free: 18.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.8865, allocations: 53.59 kB / 0.8465 GB, free: 18.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8866, allocations: 88.88 kB / 0.8466 GB, free: 18.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.8868, allocations: 61.19 kB / 0.8466 GB, free: 18.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004725/0.8873, allocations: 484 kB / 0.8471 GB, free: 18.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8873, allocations: 4 kB / 0.8471 GB, free: 18.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00216/0.8894, allocations: 0.9837 MB / 0.8481 GB, free: 18.35 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.004994/0.8944, allocations: 3.965 MB / 0.8519 GB, free: 17.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.8962, allocations: 1.474 MB / 0.8534 GB, free: 17 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8962, allocations: 0 / 0.8534 GB, free: 17 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.8972, allocations: 0.9297 MB / 0.8543 GB, free: 16.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.8989, allocations: 368 kB / 0.8546 GB, free: 16.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.9093, allocations: 9.892 MB / 0.8643 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.9099, allocations: 1.086 MB / 0.8654 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001076/0.911, allocations: 0.6414 MB / 0.866 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.9114, allocations: 430.3 kB / 0.8664 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.9114, allocations: 0 / 0.8664 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.027/3.939, allocations: 44.08 MB / 0.9094 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/3.939, allocations: 257.7 kB / 0.9097 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.811/7.751, allocations: 0 / 0.9097 GB, free: 3.297 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > 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