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.001549/0.001549, 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.001772/0.001772, allocations: 193.7 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7016/0.7016, allocations: 91.2 MB / 381.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 78.16 kB / 460.4 MB, free: 23.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.162, allocations: 67.7 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5227/0.6847, allocations: 258.9 MB / 0.7685 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.7004, allocations: 12.9 MB / 0.7811 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.7016, allocations: 71.56 kB / 0.7812 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.704, allocations: 0.9906 MB / 0.7822 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01415/0.7182, allocations: 5.454 MB / 0.7875 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007443/0.7256, allocations: 2.409 MB / 0.7898 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003441/0.7291, allocations: 1.993 MB / 0.7918 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/0.7298, allocations: 377.2 kB / 0.7921 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.7328, allocations: 1.284 MB / 0.7934 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.7338, allocations: 0.8011 MB / 0.7942 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.734, allocations: 100 kB / 0.7943 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02492/0.7589, allocations: 10.56 MB / 0.8046 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007851/0.7598, allocations: 390.5 kB / 0.805 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.7612, allocations: 0.707 MB / 0.8057 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01987/0.7811, allocations: 5.971 MB / 0.8115 GB, free: 360 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.7812, allocations: 3.938 kB / 0.8115 GB, free: 356 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7812, allocations: 0 / 0.8115 GB, free: 356 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.843e-05/0.7813, allocations: 0 / 0.8115 GB, free: 356 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.007704/0.789, allocations: 2.715 MB / 0.8141 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.789, allocations: 8.031 kB / 0.8141 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002001/0.7892, allocations: 152.3 kB / 0.8143 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.7896, allocations: 165.9 kB / 0.8144 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.7915, allocations: 0.9392 MB / 0.8154 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.709e-05/0.7916, allocations: 66 kB / 0.8154 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.7918, allocations: 107.9 kB / 0.8155 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.7943, allocations: 1.401 MB / 0.8169 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.7943, allocations: 0 / 0.8169 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.7945, allocations: 43.98 kB / 0.8169 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.7946, allocations: 81.95 kB / 0.817 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.7972, allocations: 1.53 MB / 0.8185 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008857/0.806, allocations: 5.856 MB / 0.8242 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.8078, allocations: 0.8611 MB / 0.8251 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.8089, allocations: 0.6766 MB / 0.8257 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3185/1.127, allocations: 2.399 MB / 0.8281 GB, free: 239.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.128, allocations: 46.95 kB / 0.8281 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 5.41e-06/1.128, allocations: 0 / 0.8281 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.004614/1.132, allocations: 2.102 MB / 0.8302 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.132, allocations: 96.03 kB / 0.8303 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.134, allocations: 0.9019 MB / 0.8311 GB, free: 238.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/1.134, allocations: 48.83 kB / 0.8312 GB, free: 238.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/1.134, allocations: 0.5224 MB / 0.8317 GB, free: 238.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/1.134, allocations: 384.3 kB / 0.8321 GB, free: 237.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.135, allocations: 188.9 kB / 0.8322 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/1.135, allocations: 346.6 kB / 0.8326 GB, free: 237.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/1.135, allocations: 458 kB / 0.833 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/1.136, allocations: 0.5256 MB / 0.8335 GB, free: 237.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/1.138, allocations: 1.048 MB / 0.8346 GB, free: 236.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.138, allocations: 0 / 0.8346 GB, free: 236.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002371/1.14, allocations: 1.388 MB / 0.8359 GB, free: 236 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.14, allocations: 5.469 kB / 0.8359 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.14, allocations: 2.938 kB / 0.8359 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004398/1.141, allocations: 120.1 kB / 0.836 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/1.142, allocations: 187.5 kB / 0.8362 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/1.144, allocations: 3.353 MB / 0.8395 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/1.145, allocations: 83.8 kB / 0.8396 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.145, allocations: 61.06 kB / 0.8396 GB, free: 232.8 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.0004097/1.145, allocations: 282.2 kB / 0.8399 GB, free: 232.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.145, allocations: 130.4 kB / 0.84 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/1.149, allocations: 2.051 MB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.149, allocations: 16.14 kB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.149, allocations: 4 kB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.149, allocations: 3.422 kB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/1.153, allocations: 2.989 MB / 0.845 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.153, allocations: 6.531 kB / 0.845 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/1.154, allocations: 174.5 kB / 0.8451 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/1.154, allocations: 128 kB / 0.8453 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.155, allocations: 47.38 kB / 0.8453 GB, free: 230.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/1.157, allocations: 3.359 MB / 0.8486 GB, free: 227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.157, allocations: 0 / 0.8486 GB, free: 227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/1.161, allocations: 2.23 MB / 0.8508 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/1.162, allocations: 208.4 kB / 0.851 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.162, allocations: 27.3 kB / 0.851 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/1.162, allocations: 25.75 kB / 0.851 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/1.163, allocations: 85.88 kB / 0.8511 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.163, allocations: 66.73 kB / 0.8512 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001131/1.164, allocations: 0.6592 MB / 0.8518 GB, free: 225.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.164, allocations: 0 / 0.8518 GB, free: 225.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002779/1.167, allocations: 1.004 MB / 0.8528 GB, free: 225.2 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.007515/1.174, allocations: 3.992 MB / 0.8567 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003026/1.177, allocations: 1.567 MB / 0.8582 GB, free: 222.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.177, allocations: 0 / 0.8582 GB, free: 222.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/1.179, allocations: 0.9259 MB / 0.8591 GB, free: 222.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.181, allocations: 438.4 kB / 0.8595 GB, free: 222.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.194, allocations: 10.98 MB / 0.8702 GB, free: 216.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/1.195, allocations: 1.198 MB / 0.8714 GB, free: 215.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001336/1.196, allocations: 0.6714 MB / 0.8721 GB, free: 215.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/1.197, allocations: 0.559 MB / 0.8726 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/1.197, allocations: 0 / 0.8726 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.287/5.484, allocations: 49.18 MB / 0.9206 GB, free: 169 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/19.94, allocations: 13.61 kB / 0.9207 GB, free: 169 MB / 0.6231 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