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.007621/0.007621, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001782/0.001782, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7774/0.7774, allocations: 91.19 MB / 381.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 75.88 kB / 0.5164 GB, free: 4.594 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3922, allocations: 67.68 MB / 0.5825 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6533/1.046, allocations: 258.9 MB / 0.8352 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01666/1.062, allocations: 12.91 MB / 0.8479 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/1.064, allocations: 76.03 kB / 0.8479 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/1.067, allocations: 0.9812 MB / 0.8489 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01814/1.086, allocations: 5.461 MB / 0.8542 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006939/1.093, allocations: 2.413 MB / 0.8566 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003222/1.096, allocations: 2.011 MB / 0.8585 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/1.097, allocations: 378.3 kB / 0.8589 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/1.1, allocations: 1.3 MB / 0.8602 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/1.101, allocations: 0.801 MB / 0.8609 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003819/1.101, allocations: 100 kB / 0.861 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02166/1.123, allocations: 10.61 MB / 0.8714 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006768/1.124, allocations: 386.6 kB / 0.8718 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/1.125, allocations: 0.7032 MB / 0.8725 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/1.143, allocations: 6.041 MB / 0.8784 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.143, allocations: 3.938 kB / 0.8784 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.154e-06/1.143, allocations: 0 / 0.8784 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.416e-05/1.143, allocations: 0 / 0.8784 GB, free: 9.738 MB / 0.6231 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.007143/1.15, allocations: 2.715 MB / 0.881 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.15, allocations: 8.031 kB / 0.881 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/1.151, allocations: 156.3 kB / 0.8812 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/1.151, allocations: 162 kB / 0.8813 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/1.153, allocations: 1.048 MB / 0.8823 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/1.153, allocations: 73.98 kB / 0.8824 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.153, allocations: 95.98 kB / 0.8825 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/1.156, allocations: 1.397 MB / 0.8839 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.156, allocations: 0 / 0.8839 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/1.156, allocations: 39.94 kB / 0.8839 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/1.156, allocations: 93.89 kB / 0.884 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/1.158, allocations: 1.523 MB / 0.8855 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008221/1.167, allocations: 5.833 MB / 0.8912 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.168, allocations: 0.8728 MB / 0.892 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009503/1.169, allocations: 0.6727 MB / 0.8927 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001953/1.171, allocations: 2.406 MB / 0.895 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.171, allocations: 51.62 kB / 0.8951 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 4.168e-06/1.171, allocations: 0 / 0.8951 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004133/1.175, allocations: 2.096 MB / 0.8971 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/1.175, allocations: 94.17 kB / 0.8972 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.177, allocations: 0.8949 MB / 0.8981 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/1.177, allocations: 49.69 kB / 0.8981 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000413/1.177, allocations: 0.5214 MB / 0.8987 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/1.178, allocations: 394.2 kB / 0.899 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/1.178, allocations: 182.6 kB / 0.8992 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.178, allocations: 345.9 kB / 0.8995 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007156/1.179, allocations: 457.8 kB / 0.9 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/1.18, allocations: 0.524 MB / 0.9005 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/1.181, allocations: 1.051 MB / 0.9015 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.181, allocations: 0 / 0.9015 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002598/1.184, allocations: 1.383 MB / 0.9029 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.184, allocations: 4 kB / 0.9029 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.184, allocations: 0 / 0.9029 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/1.184, allocations: 137.4 kB / 0.903 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/1.185, allocations: 179.8 kB / 0.9032 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/1.188, allocations: 3.361 MB / 0.9064 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/1.189, allocations: 83.08 kB / 0.9065 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/1.189, allocations: 63.97 kB / 0.9066 GB, free: 11.2 MB / 0.6544 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.0006304/1.19, allocations: 277.1 kB / 0.9069 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/1.19, allocations: 126.4 kB / 0.907 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/1.194, allocations: 2.04 MB / 0.909 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/1.194, allocations: 12 kB / 0.909 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.194, allocations: 0 / 0.909 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.194, allocations: 11.97 kB / 0.909 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/1.199, allocations: 3 MB / 0.9119 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.199, allocations: 0 / 0.9119 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/1.2, allocations: 175.9 kB / 0.9121 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/1.201, allocations: 133.6 kB / 0.9122 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.29e-05/1.201, allocations: 47.95 kB / 0.9123 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/1.204, allocations: 3.349 MB / 0.9155 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.204, allocations: 0 / 0.9155 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/1.207, allocations: 2.236 MB / 0.9177 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/1.207, allocations: 215.2 kB / 0.9179 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/1.208, allocations: 27.94 kB / 0.9179 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/1.208, allocations: 16 kB / 0.918 GB, free: 15.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.208, allocations: 89 kB / 0.918 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.209, allocations: 59.95 kB / 0.9181 GB, free: 14.95 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009264/1.21, allocations: 0.6655 MB / 0.9188 GB, free: 14.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/1.21, allocations: 0 / 0.9188 GB, free: 14.28 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002784/1.212, allocations: 0.987 MB / 0.9197 GB, free: 13.29 MB / 0.67 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.007079/1.219, allocations: 4.004 MB / 0.9236 GB, free: 9.25 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002632/1.222, allocations: 1.476 MB / 0.9251 GB, free: 7.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.222, allocations: 4 kB / 0.9251 GB, free: 7.746 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/1.224, allocations: 0.9213 MB / 0.926 GB, free: 6.801 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.226, allocations: 427 kB / 0.9264 GB, free: 6.398 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.243, allocations: 10.24 MB / 0.9364 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/1.244, allocations: 1.187 MB / 0.9375 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001545/1.245, allocations: 0.6671 MB / 0.9382 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008339/1.246, allocations: 0.5578 MB / 0.9387 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of SimCode: time 1.252e-06/1.246, allocations: 3.938 kB / 0.9387 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/1.349, allocations: 50.19 MB / 0.9878 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.44, allocations: 6.672 kB / 0.9878 GB, free: 7.594 MB / 0.7325 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