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.0007953/0.0007953, allocations: 76.55 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.0007864/0.0007864, allocations: 181.9 kB / 23.22 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.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6103/0.6103, allocations: 116 MB / 376 MB, free: 4.207 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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 1.453e-06/1.453e-06, allocations: 0 / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.488e-05, allocations: 6.219 kB / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.415/0.415, allocations: 233.6 MB / 0.7826 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005918/0.4209, allocations: 5.575 MB / 0.788 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.4221, allocations: 115 kB / 0.7882 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.4242, allocations: 0.9082 MB / 0.789 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.4348, allocations: 5.694 MB / 0.7946 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.4397, allocations: 2.537 MB / 0.7971 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002695/0.4424, allocations: 2.335 MB / 0.7994 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.4429, allocations: 248.1 kB / 0.7996 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.4457, allocations: 1.764 MB / 0.8013 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008721/0.4466, allocations: 0.7009 MB / 0.802 GB, free: 0 / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.4467, allocations: 100 kB / 0.8021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0126/0.4593, allocations: 8.832 MB / 0.8107 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.4598, allocations: 426.4 kB / 0.8111 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006653/0.4605, allocations: 0.4948 MB / 0.8116 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4729, allocations: 6.576 MB / 0.818 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4729, allocations: 4 kB / 0.818 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4729, allocations: 0 / 0.818 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.4729, allocations: 3.984 kB / 0.818 GB, free: 15.54 MB / 0.6667 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.004142/0.477, allocations: 2.806 MB / 0.8208 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4771, allocations: 8.031 kB / 0.8208 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.4774, allocations: 182.9 kB / 0.821 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.4787, allocations: 1.026 MB / 0.822 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.4788, allocations: 73.98 kB / 0.822 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.4789, allocations: 111.9 kB / 0.8221 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.4803, allocations: 1.434 MB / 0.8235 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4803, allocations: 0 / 0.8235 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.4804, allocations: 43.92 kB / 0.8236 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003388/0.4807, allocations: 91.77 kB / 0.8237 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.4822, allocations: 1.554 MB / 0.8252 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.4867, allocations: 3.858 MB / 0.829 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4878, allocations: 0.7596 MB / 0.8297 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.4884, allocations: 0.5416 MB / 0.8302 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/0.489, allocations: 304.7 kB / 0.8305 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.489, allocations: 47.56 kB / 0.8306 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=114): time 4.599e-06/0.489, allocations: 3.984 kB / 0.8306 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114): time 0.00291/0.4919, allocations: 1.91 MB / 0.8324 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.492, allocations: 90.11 kB / 0.8325 GB, free: 452 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.4927, allocations: 0.8555 MB / 0.8334 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.4928, allocations: 41.7 kB / 0.8334 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.4931, allocations: 0.5764 MB / 0.834 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.4933, allocations: 408.4 kB / 0.8343 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.4935, allocations: 187.8 kB / 0.8345 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.4936, allocations: 345.9 kB / 0.8349 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.4941, allocations: 441.8 kB / 0.8353 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.4947, allocations: 0.5177 MB / 0.8358 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.4958, allocations: 1.03 MB / 0.8368 GB, free: 12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4958, allocations: 0 / 0.8368 GB, free: 12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001955/0.4978, allocations: 1.381 MB / 0.8381 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4978, allocations: 4 kB / 0.8381 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4978, allocations: 0 / 0.8381 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.4981, allocations: 125.6 kB / 0.8383 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.4985, allocations: 191.7 kB / 0.8384 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.5005, allocations: 3.081 MB / 0.8415 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.5009, allocations: 67.55 kB / 0.8415 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.5009, allocations: 61.66 kB / 0.8416 GB, free: 6.883 MB / 0.6823 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.0004447/0.5014, allocations: 285.6 kB / 0.8419 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.5016, allocations: 139.1 kB / 0.842 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.5038, allocations: 1.937 MB / 0.8439 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.5039, allocations: 12 kB / 0.8439 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5039, allocations: 0 / 0.8439 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5039, allocations: 7.922 kB / 0.8439 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.5072, allocations: 2.583 MB / 0.8464 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5072, allocations: 0 / 0.8464 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.5075, allocations: 172.2 kB / 0.8466 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.5078, allocations: 129.5 kB / 0.8467 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.5078, allocations: 39.97 kB / 0.8467 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.5097, allocations: 3.085 MB / 0.8498 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5097, allocations: 3.984 kB / 0.8498 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.5124, allocations: 2.169 MB / 0.8519 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.5128, allocations: 258.7 kB / 0.8521 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.5129, allocations: 20 kB / 0.8521 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.5132, allocations: 23.98 kB / 0.8522 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5133, allocations: 92.77 kB / 0.8523 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.5134, allocations: 55.97 kB / 0.8523 GB, free: 11.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005686/0.5139, allocations: 0.6219 MB / 0.8529 GB, free: 10.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5139, allocations: 4.062 kB / 0.8529 GB, free: 10.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002115/0.516, allocations: 1.071 MB / 0.854 GB, free: 9.871 MB / 0.698 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.00216/0.5182, allocations: 1.353 MB / 0.8553 GB, free: 8.504 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.5202, allocations: 1.35 MB / 0.8566 GB, free: 7.121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5202, allocations: 0 / 0.8566 GB, free: 7.121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.521, allocations: 0.831 MB / 0.8574 GB, free: 6.266 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.5225, allocations: 0.5186 MB / 0.8579 GB, free: 5.762 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.5264, allocations: 2.612 MB / 0.8605 GB, free: 3.102 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.5268, allocations: 0.61 MB / 0.8611 GB, free: 2.461 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.5272, allocations: 164.4 kB / 0.8612 GB, free: 2.301 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/0.5272, allocations: 0 / 0.8612 GB, free: 2.301 MB / 0.698 GB Notification: Performance of Templates: time 0.04403/0.5712, allocations: 43.5 MB / 0.9037 GB, free: 6.789 MB / 0.7448 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: 10.219584289006889]