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.001013/0.001013, allocations: 89.06 kB / 19.65 MB, free: 272 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.0009875/0.0009875, allocations: 173 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 0.9995/0.9995, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.6981/0.6981, allocations: 118.6 MB / 378.6 MB, free: 1.512 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 1.623e-06/1.623e-06, allocations: 0 / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.722e-05, allocations: 7.359 kB / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.1402/0.1402, allocations: 150.6 MB / 0.6194 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.004207/0.1444, allocations: 2.678 MB / 0.622 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008711/0.1453, allocations: 114.9 kB / 0.6221 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008122/0.1461, allocations: 293.3 kB / 0.6224 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.1503, allocations: 1.759 MB / 0.6241 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.1523, allocations: 0.7438 MB / 0.6248 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.155, allocations: 2.327 MB / 0.6271 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.1555, allocations: 248.3 kB / 0.6274 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.1579, allocations: 1.464 MB / 0.6288 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008348/0.1587, allocations: 0.7087 MB / 0.6295 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.1589, allocations: 100 kB / 0.6296 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.1617, allocations: 1.657 MB / 0.6312 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.162, allocations: 426.4 kB / 0.6316 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007856/0.1628, allocations: 0.4987 MB / 0.6321 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.167, allocations: 2.34 MB / 0.6344 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.167, allocations: 0 / 0.6344 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.167, allocations: 0 / 0.6344 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.214e-05/0.1671, allocations: 0 / 0.6344 GB, free: 10.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.004607/0.1717, allocations: 2.25 MB / 0.6366 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.1718, allocations: 11.97 kB / 0.6366 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005174/0.1723, allocations: 291.6 kB / 0.6369 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.1744, allocations: 1.136 MB / 0.638 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.1744, allocations: 77.94 kB / 0.638 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1746, allocations: 95.98 kB / 0.6381 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.1763, allocations: 0.8839 MB / 0.639 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.1763, allocations: 0 / 0.639 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.1764, allocations: 39.98 kB / 0.639 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.1765, allocations: 85.95 kB / 0.6391 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.178, allocations: 0.6596 MB / 0.6398 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/0.1841, allocations: 3.79 MB / 0.6435 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/0.1849, allocations: 0.5491 MB / 0.644 GB, free: 44 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2808/0.4657, allocations: 355.4 kB / 0.6443 GB, free: 37.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.4662, allocations: 106.1 kB / 0.6444 GB, free: 37.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4662, allocations: 47.25 kB / 0.6445 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=114): time 4.399e-06/0.4662, allocations: 0 / 0.6445 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114): time 0.002859/0.4691, allocations: 1.368 MB / 0.6458 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4691, allocations: 92.95 kB / 0.6459 GB, free: 37.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.4702, allocations: 0.8714 MB / 0.6468 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.4702, allocations: 47.66 kB / 0.6468 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.4706, allocations: 0.631 MB / 0.6474 GB, free: 37.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.4708, allocations: 408.7 kB / 0.6478 GB, free: 37.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.471, allocations: 205.5 kB / 0.648 GB, free: 37.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.4711, allocations: 0.5103 MB / 0.6485 GB, free: 36.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.4715, allocations: 235.2 kB / 0.6487 GB, free: 36.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.472, allocations: 341.4 kB / 0.6491 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4731, allocations: 0.6393 MB / 0.6497 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4731, allocations: 0 / 0.6497 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001281/0.4744, allocations: 1.025 MB / 0.6507 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4744, allocations: 4.469 kB / 0.6507 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4744, allocations: 2.156 kB / 0.6507 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.4748, allocations: 123.5 kB / 0.6508 GB, free: 36.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.4752, allocations: 187.7 kB / 0.651 GB, free: 36.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.4768, allocations: 3.82 MB / 0.6547 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.4771, allocations: 69.28 kB / 0.6548 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.4772, allocations: 60.25 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.0002137/0.4774, allocations: 213.6 kB / 0.655 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.4776, allocations: 188.2 kB / 0.6552 GB, free: 32.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.4795, allocations: 1.59 MB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.4795, allocations: 11.06 kB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4795, allocations: 2.625 kB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4795, allocations: 9.984 kB / 0.6568 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.4821, allocations: 2.251 MB / 0.659 GB, free: 31.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4821, allocations: 0.875 kB / 0.659 GB, free: 31.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.4825, allocations: 172.1 kB / 0.6592 GB, free: 31.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/0.4828, allocations: 132.3 kB / 0.6593 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.4829, allocations: 47.88 kB / 0.6593 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.4846, allocations: 3.825 MB / 0.6631 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4846, allocations: 6.531 kB / 0.6631 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.4865, allocations: 1.598 MB / 0.6646 GB, free: 27.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.4868, allocations: 256.7 kB / 0.6649 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.4869, allocations: 28.08 kB / 0.6649 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.4871, allocations: 18.28 kB / 0.6649 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4873, allocations: 89.91 kB / 0.665 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.4873, allocations: 59.53 kB / 0.6651 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005973/0.4879, allocations: 0.5788 MB / 0.6656 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4879, allocations: 0.9375 kB / 0.6656 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001352/0.4893, allocations: 0.5563 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.0008849/0.4902, allocations: 434.5 kB / 0.6666 GB, free: 27.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.4917, allocations: 1.118 MB / 0.6677 GB, free: 27.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4917, allocations: 4.094 kB / 0.6677 GB, free: 27.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007565/0.4925, allocations: 0.8073 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.001492/0.4939, allocations: 0.5506 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.003996/0.4979, allocations: 2.331 MB / 0.6713 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.4983, allocations: 272.3 kB / 0.6715 GB, free: 25.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001247/0.4995, allocations: 0.5509 MB / 0.6721 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.4998, allocations: 146.7 kB / 0.6722 GB, free: 25.56 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/0.4999, allocations: 0 / 0.6722 GB, free: 25.56 MB / 0.5573 GB Notification: Performance of Templates: time 0.03022/0.5301, allocations: 24.84 MB / 0.6965 GB, free: 20.91 MB / 0.5573 GB " [Timeout remaining time 659] 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.846773507073522]