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.001392/0.001392, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.00188/0.00188, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.061/1.061, allocations: 118.6 MB / 378.2 MB, free: 1.48 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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 2.404e-06/2.404e-06, allocations: 0 / 482.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.918e-05, allocations: 9.547 kB / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5816/0.5816, allocations: 233.6 MB / 0.6997 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007532/0.5891, allocations: 5.588 MB / 0.7052 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.5907, allocations: 119.4 kB / 0.7053 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.593, allocations: 0.904 MB / 0.7062 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01413/0.6072, allocations: 5.725 MB / 0.7118 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006634/0.6138, allocations: 2.532 MB / 0.7142 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003069/0.6169, allocations: 2.333 MB / 0.7165 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.6175, allocations: 242.3 kB / 0.7167 GB, free: 23.94 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.6206, allocations: 1.779 MB / 0.7185 GB, free: 23.73 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008411/0.6214, allocations: 0.7019 MB / 0.7192 GB, free: 23.64 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.6216, allocations: 100.9 kB / 0.7193 GB, free: 23.64 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.6379, allocations: 8.831 MB / 0.7279 GB, free: 22.5 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005862/0.6385, allocations: 422.4 kB / 0.7283 GB, free: 22.34 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009208/0.6394, allocations: 0.5013 MB / 0.7288 GB, free: 22.23 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.6587, allocations: 6.613 MB / 0.7352 GB, free: 19.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.6587, allocations: 2.719 kB / 0.7352 GB, free: 19.98 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6587, allocations: 0 / 0.7352 GB, free: 19.98 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.6587, allocations: 0 / 0.7352 GB, free: 19.98 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.009314/0.668, allocations: 2.834 MB / 0.738 GB, free: 18.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.6681, allocations: 9.938 kB / 0.738 GB, free: 18.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008695/0.669, allocations: 283.5 kB / 0.7383 GB, free: 17.88 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.6721, allocations: 1.135 MB / 0.7394 GB, free: 17.16 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/0.6721, allocations: 73.48 kB / 0.7395 GB, free: 17.13 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.6724, allocations: 104.9 kB / 0.7396 GB, free: 17.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.6753, allocations: 1.434 MB / 0.741 GB, free: 16.29 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.6753, allocations: 0 / 0.741 GB, free: 16.29 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.6754, allocations: 38.48 kB / 0.741 GB, free: 16.26 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.6756, allocations: 95.52 kB / 0.7411 GB, free: 16.23 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.6785, allocations: 1.559 MB / 0.7426 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.6895, allocations: 3.891 MB / 0.7464 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.6918, allocations: 0.7538 MB / 0.7472 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.6932, allocations: 0.537 MB / 0.7477 GB, free: 12.28 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/0.6946, allocations: 324.8 kB / 0.748 GB, free: 12.14 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.6947, allocations: 46.25 kB / 0.748 GB, free: 12.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=114): time 5.02e-06/0.6947, allocations: 0 / 0.748 GB, free: 12.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=114): time 0.006442/0.7011, allocations: 1.955 MB / 0.7499 GB, free: 11.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.7012, allocations: 92.23 kB / 0.75 GB, free: 11.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.703, allocations: 0.8844 MB / 0.7509 GB, free: 10.55 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.7031, allocations: 45.2 kB / 0.7509 GB, free: 10.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/0.7039, allocations: 0.5857 MB / 0.7515 GB, free: 9.98 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/0.7045, allocations: 399.4 kB / 0.7519 GB, free: 9.641 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.7049, allocations: 194.7 kB / 0.7521 GB, free: 9.535 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002496/0.7052, allocations: 345.9 kB / 0.7524 GB, free: 9.199 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.7063, allocations: 444.4 kB / 0.7528 GB, free: 8.988 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.7076, allocations: 0.5177 MB / 0.7533 GB, free: 8.707 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.7102, allocations: 1.03 MB / 0.7543 GB, free: 8.172 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7102, allocations: 3.938 kB / 0.7543 GB, free: 8.168 MB / 0.573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004122/0.7144, allocations: 1.432 MB / 0.7557 GB, free: 7.402 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.7144, allocations: 4 kB / 0.7557 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7144, allocations: 0 / 0.7557 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.7154, allocations: 133.7 kB / 0.7559 GB, free: 7.262 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.7166, allocations: 196.5 kB / 0.7561 GB, free: 7.082 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.7217, allocations: 3.091 MB / 0.7591 GB, free: 3.816 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7227, allocations: 79.33 kB / 0.7592 GB, free: 3.738 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.723, allocations: 59.98 kB / 0.7592 GB, free: 3.68 MB / 0.573 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.0007678/0.7238, allocations: 277.8 kB / 0.7595 GB, free: 3.41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/0.7243, allocations: 184.5 kB / 0.7597 GB, free: 3.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/0.7287, allocations: 1.944 MB / 0.7616 GB, free: 1.289 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.7287, allocations: 12 kB / 0.7616 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.7287, allocations: 0 / 0.7616 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.7287, allocations: 7.969 kB / 0.7616 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/0.7348, allocations: 2.589 MB / 0.7641 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.7348, allocations: 0 / 0.7641 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.7356, allocations: 173.3 kB / 0.7643 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/0.7362, allocations: 149.6 kB / 0.7644 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.7363, allocations: 45.94 kB / 0.7645 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.7401, allocations: 3.099 MB / 0.7675 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.7401, allocations: 8.031 kB / 0.7675 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004433/0.7445, allocations: 2.212 MB / 0.7696 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007966/0.7453, allocations: 254.9 kB / 0.7699 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.7456, allocations: 35.86 kB / 0.7699 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.7463, allocations: 16 kB / 0.7699 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.7465, allocations: 92.83 kB / 0.77 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.7466, allocations: 55.97 kB / 0.7701 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001136/0.7477, allocations: 0.6387 MB / 0.7707 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.7477, allocations: 3.094 kB / 0.7707 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003775/0.7515, allocations: 1.066 MB / 0.7717 GB, free: 6.652 MB / 0.5886 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.004607/0.7561, allocations: 1.352 MB / 0.7731 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002967/0.7591, allocations: 1.348 MB / 0.7744 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.7591, allocations: 4 kB / 0.7744 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.7607, allocations: 0.8351 MB / 0.7752 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.7636, allocations: 0.5477 MB / 0.7757 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.7695, allocations: 2.619 MB / 0.7783 GB, free: 4 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.7703, allocations: 0.6265 MB / 0.7789 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001536/0.7719, allocations: 0.5781 MB / 0.7795 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.7723, allocations: 144.4 kB / 0.7796 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.934e-06/0.7723, allocations: 0 / 0.7796 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.06808/0.8404, allocations: 38.27 MB / 0.817 GB, free: 8.918 MB / 0.6355 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: 8.307958917925134]