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.001177/0.001177, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001239/0.001239, allocations: 191 kB / 16.25 MB, free: 6.637 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.17/1.17, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5763/0.5763, allocations: 91.2 MB / 381.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 77.23 kB / 459.9 MB, free: 23.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1014, allocations: 67.69 MB / 0.5152 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4335/0.5348, allocations: 257 MB / 0.7662 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.5486, allocations: 12.98 MB / 0.7789 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.5498, allocations: 79.5 kB / 0.779 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.552, allocations: 0.9138 MB / 0.7799 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.5633, allocations: 4.982 MB / 0.7847 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.5682, allocations: 2.224 MB / 0.7869 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.5704, allocations: 2.009 MB / 0.7889 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.5709, allocations: 378 kB / 0.7892 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.573, allocations: 1.3 MB / 0.7905 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.574, allocations: 0.8478 MB / 0.7913 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.5742, allocations: 100 kB / 0.7914 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/0.59, allocations: 11.01 MB / 0.8022 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.5905, allocations: 390.5 kB / 0.8025 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009613/0.5915, allocations: 0.707 MB / 0.8032 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.6044, allocations: 6.41 MB / 0.8095 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.6044, allocations: 0 / 0.8095 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6044, allocations: 15.86 kB / 0.8095 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.231e-05/0.6045, allocations: 0 / 0.8095 GB, free: 2.266 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.005784/0.6103, allocations: 2.707 MB / 0.8121 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.6103, allocations: 8.031 kB / 0.8121 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.6105, allocations: 156.3 kB / 0.8123 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.6108, allocations: 161.9 kB / 0.8125 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.6122, allocations: 0.9353 MB / 0.8134 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.6123, allocations: 73.98 kB / 0.8134 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.6124, allocations: 95.94 kB / 0.8135 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.6144, allocations: 1.408 MB / 0.8149 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.6144, allocations: 0 / 0.8149 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/0.6145, allocations: 39.98 kB / 0.8149 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.6146, allocations: 89.95 kB / 0.815 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.6166, allocations: 1.527 MB / 0.8165 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/0.6234, allocations: 5.844 MB / 0.8222 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.6248, allocations: 0.8649 MB / 0.8231 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008403/0.6256, allocations: 0.6733 MB / 0.8237 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/0.6273, allocations: 2.406 MB / 0.8261 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.6273, allocations: 43.69 kB / 0.8261 GB, free: 52 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 2.635e-06/0.6273, allocations: 0 / 0.8261 GB, free: 52 kB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.1987/0.8261, allocations: 2.093 MB / 0.8282 GB, free: 241 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8261, allocations: 90.05 kB / 0.8282 GB, free: 240.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.8272, allocations: 0.9046 MB / 0.8291 GB, free: 240.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.8272, allocations: 45.03 kB / 0.8292 GB, free: 240.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.8275, allocations: 0.5243 MB / 0.8297 GB, free: 240.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.8277, allocations: 389.9 kB / 0.8301 GB, free: 240 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.828, allocations: 188.9 kB / 0.8302 GB, free: 239.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.8281, allocations: 345.2 kB / 0.8306 GB, free: 239.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006642/0.8288, allocations: 460.8 kB / 0.831 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/0.8295, allocations: 0.5228 MB / 0.8315 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.8309, allocations: 1.044 MB / 0.8325 GB, free: 238.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8309, allocations: 3.781 kB / 0.8325 GB, free: 238.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00203/0.833, allocations: 1.387 MB / 0.8339 GB, free: 238.1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.833, allocations: 8 kB / 0.8339 GB, free: 238.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.833, allocations: 3.188 kB / 0.8339 GB, free: 238.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.8334, allocations: 124 kB / 0.834 GB, free: 238.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.834, allocations: 188.1 kB / 0.8342 GB, free: 238.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.836, allocations: 3.356 MB / 0.8375 GB, free: 234.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.8365, allocations: 89.33 kB / 0.8376 GB, free: 234.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.8367, allocations: 65.36 kB / 0.8376 GB, free: 234.9 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.0003341/0.837, allocations: 286.9 kB / 0.8379 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.8372, allocations: 129.2 kB / 0.838 GB, free: 234.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.8401, allocations: 2.05 MB / 0.84 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.8402, allocations: 11.69 kB / 0.84 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8402, allocations: 5.312 kB / 0.84 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.8402, allocations: 6.094 kB / 0.84 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.8439, allocations: 2.997 MB / 0.843 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.8439, allocations: 2.25 kB / 0.843 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.8445, allocations: 175 kB / 0.8431 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.8449, allocations: 131.3 kB / 0.8433 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/0.845, allocations: 41.02 kB / 0.8433 GB, free: 232.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.847, allocations: 3.359 MB / 0.8466 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.847, allocations: 7.719 kB / 0.8466 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.85, allocations: 2.223 MB / 0.8488 GB, free: 228 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.8501, allocations: 208.8 kB / 0.849 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.8503, allocations: 36.92 kB / 0.849 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.8508, allocations: 47.95 kB / 0.849 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.851, allocations: 84.67 kB / 0.8491 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.8511, allocations: 64.81 kB / 0.8492 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007701/0.8519, allocations: 0.6585 MB / 0.8498 GB, free: 227.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8519, allocations: 0 / 0.8498 GB, free: 227.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0024/0.8543, allocations: 1.004 MB / 0.8508 GB, free: 227.3 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.006157/0.8605, allocations: 4.002 MB / 0.8547 GB, free: 225.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.863, allocations: 1.566 MB / 0.8563 GB, free: 224.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.863, allocations: 0 / 0.8563 GB, free: 224.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.8641, allocations: 0.9304 MB / 0.8572 GB, free: 224.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.8658, allocations: 418.7 kB / 0.8576 GB, free: 224.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.8779, allocations: 11.42 MB / 0.8687 GB, free: 218.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.8784, allocations: 1.199 MB / 0.8699 GB, free: 217.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001095/0.8795, allocations: 0.671 MB / 0.8705 GB, free: 217.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.88, allocations: 0.555 MB / 0.8711 GB, free: 216.7 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.88, allocations: 0 / 0.8711 GB, free: 216.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.326/2.206, allocations: 49.07 MB / 0.919 GB, free: 170.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/2.206, allocations: 260.3 kB / 0.9193 GB, free: 170.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.628/5.833, allocations: 0 / 0.9193 GB, free: 170.6 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