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.0009667/0.0009667, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009833/0.0009833, allocations: 169 kB / 23.02 MB, free: 1.543 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.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.6713/0.6713, allocations: 118.6 MB / 378.6 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 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.543e-06/1.543e-06, allocations: 0 / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.626e-05, allocations: 2.312 kB / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.1393/0.1393, allocations: 150.7 MB / 0.6194 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.1436, allocations: 2.678 MB / 0.622 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.1444, allocations: 115 kB / 0.6221 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007302/0.1452, allocations: 297.3 kB / 0.6224 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.1487, allocations: 1.767 MB / 0.6241 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.1503, allocations: 0.7321 MB / 0.6248 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002457/0.1527, allocations: 2.331 MB / 0.6271 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.1532, allocations: 244.3 kB / 0.6273 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.1553, allocations: 1.48 MB / 0.6288 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008304/0.1561, allocations: 0.7086 MB / 0.6295 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1563, allocations: 100 kB / 0.6296 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.1589, allocations: 1.649 MB / 0.6312 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.1592, allocations: 430.4 kB / 0.6316 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.1597, allocations: 0.5026 MB / 0.6321 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.1629, allocations: 2.328 MB / 0.6344 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1629, allocations: 8 kB / 0.6344 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1629, allocations: 0 / 0.6344 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.1629, allocations: 0 / 0.6344 GB, free: 10.13 MB / 0.5573 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.003455/0.1663, allocations: 2.258 MB / 0.6366 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1664, allocations: 12.03 kB / 0.6366 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.1668, allocations: 275.6 kB / 0.6368 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.1685, allocations: 1.14 MB / 0.638 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.1685, allocations: 81.92 kB / 0.638 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.1686, allocations: 99.98 kB / 0.6381 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.17, allocations: 0.88 MB / 0.639 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.17, allocations: 3.938 kB / 0.639 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.1701, allocations: 40 kB / 0.639 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.1702, allocations: 85.95 kB / 0.6391 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.1716, allocations: 0.6635 MB / 0.6398 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/0.1765, allocations: 3.782 MB / 0.6435 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/0.1775, allocations: 0.5595 MB / 0.644 GB, free: 8 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2617/0.4393, allocations: 352.8 kB / 0.6443 GB, free: 37.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004443/0.4397, allocations: 104.5 kB / 0.6444 GB, free: 37.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4397, allocations: 47.84 kB / 0.6445 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=114): time 3.907e-06/0.4397, allocations: 0 / 0.6445 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114): time 0.002911/0.4427, allocations: 1.372 MB / 0.6458 GB, free: 37.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.4427, allocations: 90.06 kB / 0.6459 GB, free: 37.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.4439, allocations: 0.8712 MB / 0.6468 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.4439, allocations: 43.02 kB / 0.6468 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.4444, allocations: 0.6414 MB / 0.6474 GB, free: 37.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.4446, allocations: 401.4 kB / 0.6478 GB, free: 37.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.4449, allocations: 199.8 kB / 0.648 GB, free: 37.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4451, allocations: 0.5172 MB / 0.6485 GB, free: 36.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.4456, allocations: 239.1 kB / 0.6487 GB, free: 36.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.4461, allocations: 333.7 kB / 0.6491 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.4473, allocations: 0.6432 MB / 0.6497 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.4473, allocations: 3.312 kB / 0.6497 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001511/0.4488, allocations: 1.012 MB / 0.6507 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4488, allocations: 5.75 kB / 0.6507 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4489, allocations: 2.844 kB / 0.6507 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/0.4493, allocations: 127.4 kB / 0.6508 GB, free: 36.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.4497, allocations: 187.1 kB / 0.651 GB, free: 36.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.4516, allocations: 3.821 MB / 0.6547 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.452, allocations: 62.89 kB / 0.6548 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.4521, allocations: 63.91 kB / 0.6548 GB, free: 32.84 MB / 0.5573 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.0003524/0.4525, allocations: 215 kB / 0.655 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.4527, allocations: 192.6 kB / 0.6552 GB, free: 32.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.4547, allocations: 1.589 MB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.4547, allocations: 13.38 kB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4547, allocations: 0.8125 kB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4548, allocations: 9.719 kB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.4575, allocations: 2.247 MB / 0.659 GB, free: 31.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.4575, allocations: 1.125 kB / 0.659 GB, free: 31.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.4579, allocations: 167.6 kB / 0.6592 GB, free: 31.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.4583, allocations: 141.2 kB / 0.6593 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/0.4584, allocations: 43.44 kB / 0.6593 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.4601, allocations: 3.827 MB / 0.6631 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4601, allocations: 2.688 kB / 0.6631 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.4619, allocations: 1.602 MB / 0.6646 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.4623, allocations: 257.3 kB / 0.6649 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/0.4623, allocations: 32.2 kB / 0.6649 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.4626, allocations: 14.38 kB / 0.6649 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.4627, allocations: 93.42 kB / 0.665 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/0.4628, allocations: 62.23 kB / 0.6651 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000495/0.4633, allocations: 0.5745 MB / 0.6656 GB, free: 27.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4633, allocations: 0 / 0.6656 GB, free: 27.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001278/0.4646, allocations: 0.5522 MB / 0.6662 GB, free: 27.65 MB / 0.5573 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.0007561/0.4653, allocations: 437.7 kB / 0.6666 GB, free: 27.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.4668, allocations: 1.109 MB / 0.6677 GB, free: 27.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4668, allocations: 2.156 kB / 0.6677 GB, free: 27.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007197/0.4676, allocations: 0.8127 MB / 0.6685 GB, free: 26.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.469, allocations: 0.5518 MB / 0.669 GB, free: 26.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.4734, allocations: 2.327 MB / 0.6713 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.4738, allocations: 270.6 kB / 0.6715 GB, free: 25.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001441/0.4752, allocations: 0.5487 MB / 0.6721 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.4756, allocations: 147.5 kB / 0.6722 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of SimCode: time 2.635e-06/0.4756, allocations: 1.438 kB / 0.6722 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.03524/0.5108, allocations: 27.35 MB / 0.6989 GB, free: 19.6 MB / 0.5573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.892049679998308]