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.001464/0.001464, 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.00133/0.00133, allocations: 197.6 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7921/0.7921, allocations: 93.72 MB / 384.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 82.89 kB / 463.5 MB, free: 21.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1421, allocations: 68.27 MB / 0.5193 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5975/0.7397, allocations: 258.9 MB / 0.7721 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.7591, allocations: 12.94 MB / 0.7847 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.7607, allocations: 79.5 kB / 0.7848 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.7637, allocations: 0.9867 MB / 0.7858 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01526/0.779, allocations: 5.469 MB / 0.7911 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006721/0.7857, allocations: 2.414 MB / 0.7935 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.7889, allocations: 2.052 MB / 0.7955 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.7896, allocations: 389.4 kB / 0.7959 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.7923, allocations: 1.304 MB / 0.7971 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.7933, allocations: 0.7971 MB / 0.7979 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.7935, allocations: 100 kB / 0.798 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0226/0.8161, allocations: 10.56 MB / 0.8083 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006798/0.8168, allocations: 390.5 kB / 0.8087 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.8178, allocations: 0.7031 MB / 0.8094 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.8336, allocations: 5.99 MB / 0.8152 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8336, allocations: 0 / 0.8152 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8336, allocations: 4 kB / 0.8152 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.8337, allocations: 0 / 0.8152 GB, free: 11.47 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.006161/0.8398, allocations: 2.734 MB / 0.8179 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.8399, allocations: 12.03 kB / 0.8179 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.8401, allocations: 152.3 kB / 0.8181 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.8404, allocations: 166 kB / 0.8182 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.842, allocations: 0.9513 MB / 0.8191 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.8421, allocations: 70 kB / 0.8192 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.8422, allocations: 99.98 kB / 0.8193 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.8444, allocations: 1.404 MB / 0.8207 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.8444, allocations: 0 / 0.8207 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.774e-05/0.8445, allocations: 39.98 kB / 0.8207 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.8447, allocations: 89.95 kB / 0.8208 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.8471, allocations: 1.527 MB / 0.8223 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.289/1.136, allocations: 5.865 MB / 0.828 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/1.138, allocations: 0.8676 MB / 0.8289 GB, free: 236.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009565/1.139, allocations: 0.673 MB / 0.8295 GB, free: 236.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/1.141, allocations: 2.407 MB / 0.8319 GB, free: 233.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.141, allocations: 48.98 kB / 0.8319 GB, free: 233.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 3.276e-06/1.141, allocations: 0.9688 kB / 0.8319 GB, free: 233.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.004108/1.145, allocations: 2.103 MB / 0.834 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/1.145, allocations: 89.02 kB / 0.8341 GB, free: 232.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/1.146, allocations: 0.9184 MB / 0.835 GB, free: 232 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/1.146, allocations: 45.55 kB / 0.835 GB, free: 232 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/1.147, allocations: 0.534 MB / 0.8355 GB, free: 231.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.147, allocations: 392.4 kB / 0.8359 GB, free: 231.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/1.147, allocations: 183.5 kB / 0.8361 GB, free: 231.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/1.147, allocations: 344.1 kB / 0.8364 GB, free: 230.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/1.148, allocations: 468.6 kB / 0.8369 GB, free: 230.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/1.149, allocations: 0.5149 MB / 0.8374 GB, free: 230.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.15, allocations: 1.051 MB / 0.8384 GB, free: 230 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.15, allocations: 0 / 0.8384 GB, free: 230 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002087/1.152, allocations: 1.39 MB / 0.8397 GB, free: 229.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/1.152, allocations: 10.84 kB / 0.8397 GB, free: 229.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.152, allocations: 0 / 0.8397 GB, free: 229.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/1.153, allocations: 125.2 kB / 0.8399 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/1.154, allocations: 181.5 kB / 0.84 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/1.156, allocations: 3.361 MB / 0.8433 GB, free: 226.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/1.157, allocations: 78.78 kB / 0.8434 GB, free: 226.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.157, allocations: 61.36 kB / 0.8435 GB, free: 226.1 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.0005219/1.157, allocations: 283.2 kB / 0.8437 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.158, allocations: 132.2 kB / 0.8439 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/1.161, allocations: 2.054 MB / 0.8459 GB, free: 225 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/1.162, allocations: 11.66 kB / 0.8459 GB, free: 225 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.162, allocations: 2.688 kB / 0.8459 GB, free: 225 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/1.162, allocations: 11.22 kB / 0.8459 GB, free: 225 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/1.166, allocations: 2.996 MB / 0.8488 GB, free: 223.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.166, allocations: 0 / 0.8488 GB, free: 223.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/1.167, allocations: 180.2 kB / 0.849 GB, free: 223.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/1.167, allocations: 124.3 kB / 0.8491 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-05/1.167, allocations: 44.5 kB / 0.8491 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/1.17, allocations: 3.364 MB / 0.8524 GB, free: 220.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.17, allocations: 6.844 kB / 0.8524 GB, free: 220.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/1.173, allocations: 2.225 MB / 0.8546 GB, free: 219.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/1.173, allocations: 218.2 kB / 0.8548 GB, free: 219.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.174, allocations: 23.28 kB / 0.8548 GB, free: 219.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/1.174, allocations: 20.66 kB / 0.8549 GB, free: 219 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/1.174, allocations: 85.34 kB / 0.8549 GB, free: 219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.175, allocations: 60.55 kB / 0.855 GB, free: 219 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001015/1.176, allocations: 0.6743 MB / 0.8557 GB, free: 218.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/1.176, allocations: 0 / 0.8557 GB, free: 218.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003154/1.179, allocations: 1.002 MB / 0.8566 GB, free: 218.6 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.0066/1.185, allocations: 4.009 MB / 0.8605 GB, free: 216.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002903/1.188, allocations: 1.554 MB / 0.8621 GB, free: 216.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.188, allocations: 0 / 0.8621 GB, free: 216.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.19, allocations: 0.9386 MB / 0.863 GB, free: 215.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.191, allocations: 420.5 kB / 0.8634 GB, free: 215.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.205, allocations: 11.11 MB / 0.8742 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/1.205, allocations: 1.202 MB / 0.8754 GB, free: 208.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001249/1.207, allocations: 0.6679 MB / 0.8761 GB, free: 208.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/1.207, allocations: 0.5641 MB / 0.8766 GB, free: 207.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.643e-06/1.207, allocations: 0 / 0.8766 GB, free: 207.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09388/1.301, allocations: 49.41 MB / 0.9249 GB, free: 160.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.68, allocations: 6.203 kB / 0.9249 GB, free: 160.9 MB / 0.6231 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