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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6189/0.6189, allocations: 94.59 MB / 399.1 MB, free: 15.77 MB / 334.1 MB " [Timeout remaining time 179] 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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 83.88 kB / 0.5448 GB, free: 12.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3857, allocations: 71.83 MB / 0.615 GB, free: 4.105 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6631/1.049, allocations: 260.7 MB / 0.8695 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01706/1.066, allocations: 13.05 MB / 0.8823 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/1.067, allocations: 78.09 kB / 0.8823 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/1.07, allocations: 1.032 MB / 0.8834 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/1.084, allocations: 5.55 MB / 0.8888 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/1.09, allocations: 2.422 MB / 0.8911 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003022/1.093, allocations: 2.068 MB / 0.8932 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/1.093, allocations: 239.3 kB / 0.8934 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/1.096, allocations: 1.35 MB / 0.8947 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/1.098, allocations: 0.8337 MB / 0.8955 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/1.098, allocations: 100.8 kB / 0.8956 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01882/1.117, allocations: 10.96 MB / 0.9063 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008805/1.117, allocations: 397.8 kB / 0.9067 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001582/1.119, allocations: 0.7076 MB / 0.9074 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/1.138, allocations: 6.082 MB / 0.9133 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/1.138, allocations: 0 / 0.9133 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/1.138, allocations: 0 / 0.9133 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.101e-05/1.138, allocations: 0.9062 kB / 0.9133 GB, free: 1.355 MB / 0.6856 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.008003/1.146, allocations: 2.832 MB / 0.9161 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.146, allocations: 8.438 kB / 0.9161 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/1.146, allocations: 173 kB / 0.9163 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.148, allocations: 1.081 MB / 0.9173 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/1.148, allocations: 72.73 kB / 0.9174 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.148, allocations: 99.58 kB / 0.9175 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/1.15, allocations: 1.403 MB / 0.9189 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.15, allocations: 2.312 kB / 0.9189 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/1.15, allocations: 39.19 kB / 0.9189 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/1.15, allocations: 88.09 kB / 0.919 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/1.152, allocations: 1.53 MB / 0.9205 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007963/1.16, allocations: 5.844 MB / 0.9262 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/1.162, allocations: 0.7839 MB / 0.927 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/1.162, allocations: 0.5907 MB / 0.9275 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/1.165, allocations: 2.407 MB / 0.9299 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/1.165, allocations: 44.06 kB / 0.9299 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=114): time 3.667e-06/1.165, allocations: 0 / 0.9299 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114): time 0.004071/1.169, allocations: 2.103 MB / 0.932 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/1.169, allocations: 96.14 kB / 0.9321 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.17, allocations: 0.9143 MB / 0.933 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/1.17, allocations: 44.52 kB / 0.933 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/1.171, allocations: 0.5391 MB / 0.9335 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/1.171, allocations: 408.3 kB / 0.9339 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/1.171, allocations: 189.6 kB / 0.9341 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.171, allocations: 340.6 kB / 0.9344 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/1.172, allocations: 460.8 kB / 0.9349 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/1.173, allocations: 0.5248 MB / 0.9354 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/1.174, allocations: 1.045 MB / 0.9364 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.174, allocations: 5.031 kB / 0.9364 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002353/1.177, allocations: 1.39 MB / 0.9378 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.177, allocations: 5.25 kB / 0.9378 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.177, allocations: 3.406 kB / 0.9378 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/1.177, allocations: 119.8 kB / 0.9379 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/1.178, allocations: 185.2 kB / 0.9381 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/1.181, allocations: 3.367 MB / 0.9413 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/1.182, allocations: 74.16 kB / 0.9414 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.182, allocations: 63.36 kB / 0.9415 GB, free: 5.188 MB / 0.7012 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.0005048/1.182, allocations: 290.7 kB / 0.9418 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/1.183, allocations: 136.1 kB / 0.9419 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/1.186, allocations: 2.051 MB / 0.9439 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.186, allocations: 10.38 kB / 0.9439 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.186, allocations: 4.312 kB / 0.9439 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.186, allocations: 5.531 kB / 0.9439 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004292/1.19, allocations: 3.006 MB / 0.9468 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.19, allocations: 1.062 kB / 0.9468 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/1.191, allocations: 172.1 kB / 0.947 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/1.192, allocations: 128 kB / 0.9471 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.79e-05/1.192, allocations: 40.62 kB / 0.9472 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/1.195, allocations: 3.367 MB / 0.9505 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.195, allocations: 0 / 0.9505 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/1.198, allocations: 2.236 MB / 0.9526 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/1.199, allocations: 218.6 kB / 0.9528 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.199, allocations: 21.77 kB / 0.9529 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/1.199, allocations: 24.62 kB / 0.9529 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/1.199, allocations: 87.23 kB / 0.953 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.2, allocations: 60.53 kB / 0.953 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000834/1.2, allocations: 0.6754 MB / 0.9537 GB, free: 320 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.2, allocations: 0.875 kB / 0.9537 GB, free: 320 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002646/1.203, allocations: 1.02 MB / 0.9547 GB, free: 84 kB / 0.7012 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.002918/1.206, allocations: 1.291 MB / 0.9559 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002434/1.208, allocations: 1.402 MB / 0.9573 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.208, allocations: 0 / 0.9573 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.21, allocations: 0.8514 MB / 0.9581 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.212, allocations: 425.8 kB / 0.9586 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/1.217, allocations: 2.511 MB / 0.961 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/1.218, allocations: 1.194 MB / 0.9622 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001552/1.219, allocations: 0.6904 MB / 0.9628 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/1.219, allocations: 140.4 kB / 0.963 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of SimCode: time 1.392e-06/1.219, allocations: 0 / 0.963 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of Templates: time 0.06429/1.284, allocations: 37.08 MB / 0.9992 GB, free: 7.73 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.100019769743085]