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.0007857/0.0007857, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007902/0.0007902, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8474/0.8474, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.4969/0.4969, allocations: 80.17 MB / 340.1 MB, free: 7.527 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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.4936 GB, free: 6.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.441e-05, allocations: 4.391 kB / 0.4936 GB, free: 6.352 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4197/0.4198, allocations: 233.5 MB / 0.7217 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.005776/0.4255, allocations: 5.533 MB / 0.7271 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.4267, allocations: 115.3 kB / 0.7272 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.4284, allocations: 0.8898 MB / 0.7281 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.4392, allocations: 5.697 MB / 0.7336 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.444, allocations: 2.51 MB / 0.7361 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.4466, allocations: 2.303 MB / 0.7383 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.4471, allocations: 246.2 kB / 0.7386 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.45, allocations: 1.754 MB / 0.7403 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008707/0.4509, allocations: 0.6956 MB / 0.7409 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.4511, allocations: 98.06 kB / 0.741 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.4633, allocations: 8.84 MB / 0.7497 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.4638, allocations: 414.4 kB / 0.7501 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008272/0.4646, allocations: 0.498 MB / 0.7506 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.4781, allocations: 6.539 MB / 0.7569 GB, free: 12.43 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4781, allocations: 0 / 0.7569 GB, free: 12.43 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4781, allocations: 1.031 kB / 0.7569 GB, free: 12.43 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.742e-05/0.4781, allocations: 0 / 0.7569 GB, free: 12.43 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.00486/0.483, allocations: 2.77 MB / 0.7596 GB, free: 9.617 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.483, allocations: 13.47 kB / 0.7597 GB, free: 9.605 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.4834, allocations: 182.9 kB / 0.7598 GB, free: 9.426 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.4848, allocations: 0.9992 MB / 0.7608 GB, free: 8.402 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.4848, allocations: 73.98 kB / 0.7609 GB, free: 8.328 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.4849, allocations: 99.92 kB / 0.761 GB, free: 8.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.4864, allocations: 1.433 MB / 0.7624 GB, free: 6.762 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.4864, allocations: 0 / 0.7624 GB, free: 6.762 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.4865, allocations: 36 kB / 0.7624 GB, free: 6.727 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.353e-05/0.4866, allocations: 92.02 kB / 0.7625 GB, free: 6.641 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.4881, allocations: 1.563 MB / 0.764 GB, free: 5.078 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.4931, allocations: 3.928 MB / 0.7679 GB, free: 1.113 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.4942, allocations: 0.7798 MB / 0.7686 GB, free: 332 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006005/0.4948, allocations: 0.5864 MB / 0.7692 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/0.4954, allocations: 320.6 kB / 0.7695 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4954, allocations: 59.14 kB / 0.7696 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=114): time 3.897e-06/0.4954, allocations: 0 / 0.7696 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=114): time 0.002569/0.498, allocations: 1.938 MB / 0.7715 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.498, allocations: 94.11 kB / 0.7715 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.4987, allocations: 0.8335 MB / 0.7724 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.4988, allocations: 49.62 kB / 0.7724 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.4991, allocations: 0.5605 MB / 0.7729 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/0.4997, allocations: 404.4 kB / 0.7733 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.4998, allocations: 194.6 kB / 0.7735 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.4999, allocations: 340.7 kB / 0.7738 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.5005, allocations: 465.7 kB / 0.7743 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.5011, allocations: 0.5373 MB / 0.7748 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.5022, allocations: 1.06 MB / 0.7758 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5022, allocations: 0 / 0.7758 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001632/0.5039, allocations: 1.401 MB / 0.7772 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5039, allocations: 4 kB / 0.7772 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5039, allocations: 0 / 0.7772 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.5042, allocations: 128.7 kB / 0.7773 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.5046, allocations: 185.6 kB / 0.7775 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.5068, allocations: 3.072 MB / 0.7805 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.5072, allocations: 78.7 kB / 0.7806 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5073, allocations: 63.97 kB / 0.7807 GB, free: 3.734 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.0003996/0.5077, allocations: 281.2 kB / 0.7809 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5079, allocations: 135.1 kB / 0.7811 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.5101, allocations: 2.04 MB / 0.783 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.5101, allocations: 15.98 kB / 0.7831 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5101, allocations: 4 kB / 0.7831 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5101, allocations: 6.891 kB / 0.7831 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.513, allocations: 2.668 MB / 0.7857 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.513, allocations: 0 / 0.7857 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.5134, allocations: 176.9 kB / 0.7858 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.5136, allocations: 136.4 kB / 0.786 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.5137, allocations: 43.88 kB / 0.786 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.516, allocations: 3.088 MB / 0.789 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.516, allocations: 0 / 0.789 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.5184, allocations: 2.224 MB / 0.7912 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.5186, allocations: 130.9 kB / 0.7913 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.5186, allocations: 23.94 kB / 0.7914 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.5189, allocations: 20 kB / 0.7914 GB, free: 8.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.519, allocations: 92.77 kB / 0.7915 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/0.5191, allocations: 74.92 kB / 0.7915 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005681/0.5197, allocations: 0.5973 MB / 0.7921 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5197, allocations: 0 / 0.7921 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002104/0.5218, allocations: 1.059 MB / 0.7931 GB, free: 6.672 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.00207/0.5238, allocations: 1.366 MB / 0.7945 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.5255, allocations: 1.401 MB / 0.7959 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5255, allocations: 0 / 0.7959 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.5263, allocations: 0.8587 MB / 0.7967 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.5276, allocations: 0.529 MB / 0.7972 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.5313, allocations: 2.649 MB / 0.7998 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.5317, allocations: 0.6144 MB / 0.8004 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.532, allocations: 164.4 kB / 0.8005 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.532, allocations: 0 / 0.8005 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.0388/0.5708, allocations: 43.78 MB / 0.8433 GB, free: 3.234 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] 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: 9.75519801210612]