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.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.001916/0.001916, 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.002246/0.002246, 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.062/1.062, allocations: 118.6 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 2.284e-06/2.284e-06, allocations: 0 / 482.9 MB, free: 8.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.764e-05, allocations: 2.312 kB / 482.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6721/0.6722, allocations: 233.6 MB / 0.6997 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008143/0.6803, allocations: 5.585 MB / 0.7052 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.6821, allocations: 115.9 kB / 0.7053 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.685, allocations: 0.9028 MB / 0.7062 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01895/0.7039, allocations: 5.722 MB / 0.7117 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007425/0.7114, allocations: 2.531 MB / 0.7142 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003485/0.7149, allocations: 2.344 MB / 0.7165 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009422/0.7158, allocations: 239.2 kB / 0.7167 GB, free: 23.94 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.7203, allocations: 1.775 MB / 0.7185 GB, free: 23.73 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.722, allocations: 0.6974 MB / 0.7191 GB, free: 23.64 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.7224, allocations: 100.9 kB / 0.7192 GB, free: 23.64 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/0.7422, allocations: 8.834 MB / 0.7279 GB, free: 22.51 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008939/0.7431, allocations: 426.6 kB / 0.7283 GB, free: 22.34 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.7446, allocations: 0.4997 MB / 0.7288 GB, free: 22.23 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.764, allocations: 6.619 MB / 0.7352 GB, free: 19.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.764, allocations: 2.719 kB / 0.7352 GB, free: 19.98 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.764, allocations: 0 / 0.7352 GB, free: 19.98 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.764, 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.006888/0.7709, allocations: 2.833 MB / 0.738 GB, free: 18.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7709, allocations: 9.531 kB / 0.738 GB, free: 18.03 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006157/0.7716, allocations: 275.4 kB / 0.7383 GB, free: 17.89 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.7738, allocations: 1.139 MB / 0.7394 GB, free: 17.18 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.7738, allocations: 78.69 kB / 0.7395 GB, free: 17.14 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.774, allocations: 98.48 kB / 0.7396 GB, free: 17.11 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.7761, allocations: 1.437 MB / 0.741 GB, free: 16.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.7761, allocations: 0 / 0.741 GB, free: 16.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.7762, allocations: 38.39 kB / 0.741 GB, free: 16.27 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.7763, allocations: 90.95 kB / 0.7411 GB, free: 16.24 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.7782, allocations: 1.563 MB / 0.7426 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008842/0.7871, allocations: 3.887 MB / 0.7464 GB, free: 12.95 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.7889, allocations: 0.7598 MB / 0.7471 GB, free: 12.56 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009218/0.7898, allocations: 0.5393 MB / 0.7477 GB, free: 12.29 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.791, allocations: 313.8 kB / 0.748 GB, free: 12.15 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.791, allocations: 45.62 kB / 0.748 GB, free: 12.11 MB / 0.573 GB Notification: Performance of pre-optimization done (n=114): time 3.717e-06/0.791, allocations: 7.094 kB / 0.748 GB, free: 12.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=114): time 0.004724/0.7957, allocations: 1.952 MB / 0.7499 GB, free: 11.15 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.7958, allocations: 90.89 kB / 0.75 GB, free: 11.05 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.7972, allocations: 0.8895 MB / 0.7509 GB, free: 10.56 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.856e-05/0.7973, allocations: 49.14 kB / 0.7509 GB, free: 10.51 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/0.7981, allocations: 0.5815 MB / 0.7515 GB, free: 9.992 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.7986, allocations: 398 kB / 0.7519 GB, free: 9.652 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.799, allocations: 196.7 kB / 0.7521 GB, free: 9.543 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.7992, allocations: 344.9 kB / 0.7524 GB, free: 9.211 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007729/0.7999, allocations: 442.2 kB / 0.7528 GB, free: 9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009147/0.8009, allocations: 0.518 MB / 0.7533 GB, free: 8.719 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.8027, allocations: 1.034 MB / 0.7543 GB, free: 8.184 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.8027, allocations: 0 / 0.7543 GB, free: 8.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003237/0.8059, allocations: 1.423 MB / 0.7557 GB, free: 7.449 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.806, allocations: 6.031 kB / 0.7557 GB, free: 7.445 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.806, allocations: 0 / 0.7557 GB, free: 7.445 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007781/0.8068, allocations: 141.6 kB / 0.7559 GB, free: 7.305 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.8076, allocations: 189.4 kB / 0.756 GB, free: 7.129 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.8115, allocations: 3.1 MB / 0.7591 GB, free: 3.855 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/0.8124, allocations: 71.34 kB / 0.7591 GB, free: 3.785 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.8126, allocations: 65.77 kB / 0.7592 GB, free: 3.723 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.0007079/0.8133, allocations: 278.1 kB / 0.7595 GB, free: 3.453 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/0.814, allocations: 195 kB / 0.7597 GB, free: 3.262 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.8186, allocations: 1.934 MB / 0.7615 GB, free: 1.332 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/0.8186, allocations: 19.17 kB / 0.7616 GB, free: 1.316 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8186, allocations: 4 kB / 0.7616 GB, free: 1.312 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.8186, allocations: 7.984 kB / 0.7616 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005737/0.8244, allocations: 2.584 MB / 0.7641 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.8244, allocations: 4 kB / 0.7641 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000759/0.8251, allocations: 169.4 kB / 0.7643 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000659/0.8258, allocations: 145.6 kB / 0.7644 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.8259, allocations: 39.92 kB / 0.7644 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/0.83, allocations: 3.103 MB / 0.7675 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.83, allocations: 7.125 kB / 0.7675 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/0.8346, allocations: 2.209 MB / 0.7696 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/0.8354, allocations: 262.7 kB / 0.7699 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.8355, allocations: 25.8 kB / 0.7699 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.8361, allocations: 26.36 kB / 0.7699 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.8363, allocations: 91.94 kB / 0.77 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.8364, allocations: 63.94 kB / 0.7701 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001053/0.8375, allocations: 0.6387 MB / 0.7707 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.8375, allocations: 4.062 kB / 0.7707 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003556/0.841, allocations: 1.066 MB / 0.7717 GB, free: 6.68 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.003799/0.8448, allocations: 1.355 MB / 0.7731 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.8483, allocations: 1.345 MB / 0.7744 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8483, allocations: 0 / 0.7744 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.85, allocations: 0.8377 MB / 0.7752 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.8529, allocations: 0.5288 MB / 0.7757 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006281/0.8592, allocations: 2.624 MB / 0.7783 GB, free: 48 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/0.8601, allocations: 0.6179 MB / 0.7789 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001818/0.8619, allocations: 0.5736 MB / 0.7794 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.8623, allocations: 144.4 kB / 0.7796 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.924e-06/0.8623, allocations: 0 / 0.7796 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.07564/0.938, allocations: 38.29 MB / 0.817 GB, free: 8.953 MB / 0.6355 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.664708525058813]