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.0009234/0.0009234, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009754/0.0009754, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9962/0.9962, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6832/0.6832, allocations: 118.7 MB / 379.7 MB, free: 1.379 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.063e-06/2.063e-06, allocations: 1.125 kB / 484.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.353e-05, allocations: 2.312 kB / 484.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.1296/0.1296, allocations: 147.4 MB / 0.6174 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003723/0.1333, allocations: 2.654 MB / 0.62 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.134, allocations: 118.9 kB / 0.6201 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.1345, allocations: 289.3 kB / 0.6204 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.1373, allocations: 1.755 MB / 0.6221 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1385, allocations: 0.7477 MB / 0.6228 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.14, allocations: 2.331 MB / 0.6251 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.1403, allocations: 248.3 kB / 0.6253 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.1418, allocations: 1.48 MB / 0.6268 GB, free: 2.891 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.1424, allocations: 0.7047 MB / 0.6275 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1425, allocations: 100 kB / 0.6276 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.1444, allocations: 1.653 MB / 0.6292 GB, free: 440 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.1447, allocations: 430.4 kB / 0.6296 GB, free: 8 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.145, allocations: 0.4987 MB / 0.6301 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.147, allocations: 2.336 MB / 0.6324 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.147, allocations: 0 / 0.6324 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.183e-06/0.147, allocations: 0 / 0.6324 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.147, allocations: 3.938 kB / 0.6324 GB, free: 13.16 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.002502/0.1495, allocations: 2.274 MB / 0.6346 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1496, allocations: 12.03 kB / 0.6346 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.1499, allocations: 279.6 kB / 0.6349 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.151, allocations: 1.128 MB / 0.636 GB, free: 9.375 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1511, allocations: 73.94 kB / 0.636 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.1512, allocations: 95.98 kB / 0.6361 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.1519, allocations: 0.786 MB / 0.6369 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.152, allocations: 0 / 0.6369 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.152, allocations: 39.98 kB / 0.6369 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.85e-05/0.1521, allocations: 85.95 kB / 0.637 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/0.1527, allocations: 0.5053 MB / 0.6375 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.1562, allocations: 3.593 MB / 0.641 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.1568, allocations: 486.3 kB / 0.6415 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.1571, allocations: 294 kB / 0.6418 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.1573, allocations: 116.8 kB / 0.6419 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1574, allocations: 46.39 kB / 0.6419 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=114): time 3.186e-06/0.1574, allocations: 4 kB / 0.6419 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114): time 0.001662/0.159, allocations: 1.197 MB / 0.6431 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1591, allocations: 90.11 kB / 0.6432 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.1596, allocations: 0.8609 MB / 0.644 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.1597, allocations: 45.64 kB / 0.6441 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.16, allocations: 0.6422 MB / 0.6447 GB, free: 212 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.2377/0.3978, allocations: 403.1 kB / 0.6451 GB, free: 30.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.3981, allocations: 202.1 kB / 0.6453 GB, free: 30.65 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.3982, allocations: 0.517 MB / 0.6458 GB, free: 30.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.3985, allocations: 171.9 kB / 0.6459 GB, free: 30.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.3988, allocations: 281.9 kB / 0.6462 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.3995, allocations: 0.5231 MB / 0.6467 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3995, allocations: 0.875 kB / 0.6467 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001453/0.401, allocations: 0.8886 MB / 0.6476 GB, free: 29.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.401, allocations: 5.781 kB / 0.6476 GB, free: 29.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.401, allocations: 4.984 kB / 0.6476 GB, free: 29.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.4014, allocations: 120.8 kB / 0.6477 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.4019, allocations: 190.9 kB / 0.6479 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.4034, allocations: 3.751 MB / 0.6516 GB, free: 26.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.4037, allocations: 69.89 kB / 0.6516 GB, free: 26.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/0.4038, allocations: 53.12 kB / 0.6517 GB, free: 26.53 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.0002802/0.4041, allocations: 209.3 kB / 0.6519 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.4044, allocations: 184 kB / 0.652 GB, free: 26.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.4061, allocations: 1.481 MB / 0.6535 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.4062, allocations: 18.38 kB / 0.6535 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4062, allocations: 0 / 0.6535 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4062, allocations: 10.38 kB / 0.6535 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.4081, allocations: 1.976 MB / 0.6555 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4081, allocations: 1.312 kB / 0.6555 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.4085, allocations: 168.7 kB / 0.6556 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.4087, allocations: 137.9 kB / 0.6557 GB, free: 25.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.4088, allocations: 43.75 kB / 0.6558 GB, free: 25.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.4099, allocations: 3.755 MB / 0.6595 GB, free: 22.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4099, allocations: 3.156 kB / 0.6595 GB, free: 22.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.4111, allocations: 1.416 MB / 0.6608 GB, free: 21.67 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.4114, allocations: 251.9 kB / 0.6611 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.4115, allocations: 20.5 kB / 0.6611 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.4117, allocations: 19.72 kB / 0.6611 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.4118, allocations: 99.84 kB / 0.6612 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.4119, allocations: 53.42 kB / 0.6613 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002817/0.4122, allocations: 0.5308 MB / 0.6618 GB, free: 21.44 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4122, allocations: 0 / 0.6618 GB, free: 21.44 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001057/0.4132, allocations: 0.5609 MB / 0.6623 GB, free: 21.41 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.0006184/0.4138, allocations: 433.4 kB / 0.6627 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009201/0.4148, allocations: 1.003 MB / 0.6637 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4148, allocations: 0 / 0.6637 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.4153, allocations: 0.7588 MB / 0.6645 GB, free: 20.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.4165, allocations: 0.5458 MB / 0.665 GB, free: 20.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.4194, allocations: 2.304 MB / 0.6672 GB, free: 19.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.4196, allocations: 272.8 kB / 0.6675 GB, free: 19.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008745/0.4205, allocations: 0.5363 MB / 0.668 GB, free: 19.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/0.4212, allocations: 496.6 kB / 0.6685 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.4212, allocations: 0.9688 kB / 0.6685 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.0341/0.4553, allocations: 28.42 MB / 0.6963 GB, free: 14.07 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.817170306108892]