Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_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.009531/0.009531, allocations: 101 kB / 15.73 MB, free: 6.059 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.002714/0.002714, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.902/0.902, allocations: 93.69 MB / 384.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 79.88 kB / 0.5199 GB, free: 1.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3784, allocations: 68.25 MB / 0.5866 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6819/1.06, allocations: 258.9 MB / 0.8394 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01952/1.08, allocations: 12.95 MB / 0.852 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/1.082, allocations: 76.88 kB / 0.8521 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/1.085, allocations: 0.9919 MB / 0.8531 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02139/1.107, allocations: 5.464 MB / 0.8584 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009295/1.116, allocations: 2.407 MB / 0.8608 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004445/1.121, allocations: 2.063 MB / 0.8628 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/1.122, allocations: 398.7 kB / 0.8632 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/1.125, allocations: 1.304 MB / 0.8644 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/1.127, allocations: 0.8048 MB / 0.8652 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004263/1.127, allocations: 100 kB / 0.8653 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02607/1.153, allocations: 10.6 MB / 0.8757 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.154, allocations: 386.6 kB / 0.876 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001803/1.156, allocations: 0.7109 MB / 0.8767 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02001/1.176, allocations: 6.084 MB / 0.8827 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.176, allocations: 0 / 0.8827 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.725e-06/1.176, allocations: 0 / 0.8827 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.194e-05/1.176, allocations: 0 / 0.8827 GB, free: 3.84 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.007426/1.184, allocations: 2.835 MB / 0.8854 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.184, allocations: 8.031 kB / 0.8855 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/1.184, allocations: 156.3 kB / 0.8856 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/1.184, allocations: 170.9 kB / 0.8858 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/1.187, allocations: 1.077 MB / 0.8868 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/1.187, allocations: 66 kB / 0.8869 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/1.187, allocations: 104 kB / 0.887 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/1.19, allocations: 1.397 MB / 0.8883 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/1.19, allocations: 7.938 kB / 0.8884 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/1.19, allocations: 43.97 kB / 0.8884 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/1.19, allocations: 85.95 kB / 0.8885 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/1.192, allocations: 1.53 MB / 0.89 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00956/1.202, allocations: 5.842 MB / 0.8957 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/1.204, allocations: 0.8655 MB / 0.8965 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/1.205, allocations: 0.6805 MB / 0.8972 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/1.208, allocations: 2.402 MB / 0.8995 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/1.208, allocations: 51.61 kB / 0.8996 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 5.179e-06/1.208, allocations: 0 / 0.8996 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004836/1.212, allocations: 2.112 MB / 0.9016 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/1.213, allocations: 90.23 kB / 0.9017 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.214, allocations: 0.9159 MB / 0.9026 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/1.214, allocations: 41.7 kB / 0.9027 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/1.215, allocations: 0.5415 MB / 0.9032 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/1.215, allocations: 404.5 kB / 0.9036 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/1.216, allocations: 198.6 kB / 0.9038 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002269/1.216, allocations: 345.9 kB / 0.9041 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/1.217, allocations: 453.8 kB / 0.9045 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.218, allocations: 0.5201 MB / 0.905 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/1.22, allocations: 1.047 MB / 0.9061 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.22, allocations: 4 kB / 0.9061 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002944/1.223, allocations: 1.391 MB / 0.9074 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.223, allocations: 4 kB / 0.9074 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.223, allocations: 7.938 kB / 0.9074 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/1.224, allocations: 117.6 kB / 0.9075 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/1.224, allocations: 187.7 kB / 0.9077 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/1.228, allocations: 3.361 MB / 0.911 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/1.229, allocations: 79.33 kB / 0.9111 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/1.229, allocations: 59.98 kB / 0.9111 GB, free: 5.066 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.000752/1.23, allocations: 286.4 kB / 0.9114 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/1.23, allocations: 139.1 kB / 0.9115 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/1.235, allocations: 2.054 MB / 0.9136 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/1.235, allocations: 12 kB / 0.9136 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.235, allocations: 8 kB / 0.9136 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/1.235, allocations: 7.969 kB / 0.9136 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005673/1.241, allocations: 3.001 MB / 0.9165 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.241, allocations: 4 kB / 0.9165 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/1.242, allocations: 179.7 kB / 0.9167 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/1.242, allocations: 121.6 kB / 0.9168 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.242, allocations: 39.97 kB / 0.9168 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/1.246, allocations: 3.365 MB / 0.9201 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.246, allocations: 8.281 kB / 0.9201 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/1.25, allocations: 2.237 MB / 0.9223 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/1.251, allocations: 215.9 kB / 0.9225 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.251, allocations: 35.92 kB / 0.9226 GB, free: 8.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/1.252, allocations: 16 kB / 0.9226 GB, free: 8.914 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.252, allocations: 85 kB / 0.9227 GB, free: 8.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.252, allocations: 63.97 kB / 0.9227 GB, free: 8.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001163/1.253, allocations: 0.674 MB / 0.9234 GB, free: 8.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/1.253, allocations: 4.062 kB / 0.9234 GB, free: 8.086 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00375/1.257, allocations: 1.013 MB / 0.9244 GB, free: 7.07 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.008321/1.265, allocations: 4.012 MB / 0.9283 GB, free: 3.023 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00296/1.268, allocations: 1.476 MB / 0.9297 GB, free: 1.523 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.268, allocations: 0 / 0.9297 GB, free: 1.523 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.27, allocations: 0.933 MB / 0.9306 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.272, allocations: 431.4 kB / 0.931 GB, free: 164 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.292, allocations: 10.39 MB / 0.9412 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.294, allocations: 1.195 MB / 0.9424 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001695/1.295, allocations: 0.6706 MB / 0.943 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/1.296, allocations: 0.5695 MB / 0.9436 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of SimCode: time 1.473e-06/1.297, allocations: 0 / 0.9436 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.409, allocations: 49.9 MB / 0.9923 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/15.13, allocations: 13.39 kB / 0.9923 GB, free: 1.469 MB / 0.7325 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches