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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.086/1.086, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.8669/0.8669, allocations: 80.17 MB / 339.4 MB, free: 7.547 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.308e-06/4.308e-06, allocations: 0 / 0.4924 GB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.879e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 1.039/1.039, allocations: 233.6 MB / 0.7204 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01232/1.052, allocations: 5.53 MB / 0.7258 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/1.055, allocations: 108.6 kB / 0.726 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.004049/1.059, allocations: 0.9049 MB / 0.7268 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.02579/1.085, allocations: 5.693 MB / 0.7324 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.096, allocations: 2.516 MB / 0.7349 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006382/1.102, allocations: 2.302 MB / 0.7371 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/1.103, allocations: 241.4 kB / 0.7373 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007493/1.111, allocations: 1.755 MB / 0.739 GB, free: 9 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/1.113, allocations: 0.6947 MB / 0.7397 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002178/1.113, allocations: 100.4 kB / 0.7398 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02755/1.141, allocations: 8.843 MB / 0.7485 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001778/1.142, allocations: 410.5 kB / 0.7488 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/1.144, allocations: 0.4987 MB / 0.7493 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.03371/1.178, allocations: 6.531 MB / 0.7557 GB, free: 12.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/1.178, allocations: 0 / 0.7557 GB, free: 12.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.186e-06/1.178, allocations: 8 kB / 0.7557 GB, free: 12.69 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001159/1.178, allocations: 0 / 0.7557 GB, free: 12.69 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01071/1.189, allocations: 2.773 MB / 0.7584 GB, free: 9.883 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001725/1.189, allocations: 13.47 kB / 0.7584 GB, free: 9.871 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003829/1.189, allocations: 148.4 kB / 0.7586 GB, free: 9.719 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/1.19, allocations: 186.9 kB / 0.7588 GB, free: 9.535 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/1.193, allocations: 0.9949 MB / 0.7597 GB, free: 8.516 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/1.193, allocations: 77.92 kB / 0.7598 GB, free: 8.438 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.193, allocations: 99.98 kB / 0.7599 GB, free: 8.34 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/1.196, allocations: 1.433 MB / 0.7613 GB, free: 6.871 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.196, allocations: 0 / 0.7613 GB, free: 6.871 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/1.196, allocations: 36 kB / 0.7613 GB, free: 6.836 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/1.196, allocations: 89.95 kB / 0.7614 GB, free: 6.75 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/1.199, allocations: 1.568 MB / 0.763 GB, free: 5.184 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008692/1.207, allocations: 4.091 MB / 0.7669 GB, free: 1.043 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/1.209, allocations: 0.7871 MB / 0.7677 GB, free: 252 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/1.21, allocations: 0.5842 MB / 0.7683 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/1.211, allocations: 320.7 kB / 0.7686 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.211, allocations: 50.47 kB / 0.7686 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=114): time 1.067e-05/1.211, allocations: 0 / 0.7686 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=114): time 0.004504/1.216, allocations: 1.95 MB / 0.7705 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/1.216, allocations: 94.05 kB / 0.7706 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/1.217, allocations: 0.945 MB / 0.7716 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/1.217, allocations: 45.69 kB / 0.7716 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005533/1.218, allocations: 0.5535 MB / 0.7721 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/1.218, allocations: 408.4 kB / 0.7725 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/1.218, allocations: 190.6 kB / 0.7727 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.219, allocations: 345.9 kB / 0.773 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/1.219, allocations: 461.8 kB / 0.7735 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/1.22, allocations: 0.5295 MB / 0.774 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.222, allocations: 1.07 MB / 0.775 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/1.222, allocations: 0 / 0.775 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002705/1.224, allocations: 1.413 MB / 0.7764 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.224, allocations: 10.03 kB / 0.7764 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.224, allocations: 0 / 0.7764 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/1.225, allocations: 116.7 kB / 0.7765 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/1.226, allocations: 189.3 kB / 0.7767 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/1.23, allocations: 3.124 MB / 0.7798 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.231, allocations: 79.38 kB / 0.7799 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/1.231, allocations: 67.62 kB / 0.7799 GB, free: 3.469 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * 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.0007756/1.232, allocations: 289.6 kB / 0.7802 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005469/1.233, allocations: 151 kB / 0.7803 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/1.236, allocations: 2.046 MB / 0.7823 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/1.236, allocations: 19.94 kB / 0.7824 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.236, allocations: 4 kB / 0.7824 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.236, allocations: 7.969 kB / 0.7824 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/1.241, allocations: 2.78 MB / 0.7851 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.242, allocations: 0 / 0.7851 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/1.242, allocations: 169.5 kB / 0.7852 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/1.242, allocations: 133.6 kB / 0.7854 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.243, allocations: 47.88 kB / 0.7854 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/1.246, allocations: 3.137 MB / 0.7885 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.246, allocations: 4.031 kB / 0.7885 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/1.25, allocations: 2.242 MB / 0.7907 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.251, allocations: 142.9 kB / 0.7908 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.251, allocations: 19.95 kB / 0.7908 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/1.251, allocations: 24 kB / 0.7908 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.251, allocations: 91.91 kB / 0.7909 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.251, allocations: 63.97 kB / 0.791 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001139/1.253, allocations: 0.6866 MB / 0.7917 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/1.253, allocations: 0 / 0.7917 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004363/1.257, allocations: 1.051 MB / 0.7927 GB, free: 6.078 MB / 0.6042 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.008539/1.265, allocations: 4.101 MB / 0.7967 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.269, allocations: 1.395 MB / 0.7981 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.269, allocations: 0 / 0.7981 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.271, allocations: 0.8712 MB / 0.7989 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.273, allocations: 0.5748 MB / 0.7995 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/1.296, allocations: 10.65 MB / 0.8099 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008868/1.297, allocations: 0.6148 MB / 0.8105 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001908/1.299, allocations: 0.6949 MB / 0.8112 GB, free: 3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/1.3, allocations: 0.5823 MB / 0.8117 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of SimCode: time 2.284e-06/1.3, allocations: 0 / 0.8117 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1377/1.438, allocations: 56.82 MB / 0.8672 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/13.03, allocations: 5.578 kB / 0.8672 GB, free: 10.19 MB / 0.6823 GB " [Timeout remaining time 647] (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 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.751852681860328]