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.0007242/0.0007242, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.001949, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009224/0.0009224, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002264, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9842/0.9842, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09022/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6833/0.6833, allocations: 118.7 MB / 362.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08993/0.7732, allocations: 35.83 MB / 398.7 MB, free: 13.09 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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="nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.969e-05, allocations: 2.312 kB / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.3459/0.3459, allocations: 149.9 MB / 0.5371 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004616/0.3505, allocations: 2.763 MB / 0.5398 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.3518, allocations: 115 kB / 0.5399 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.3525, allocations: 295.2 kB / 0.5402 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003907/0.3564, allocations: 1.713 MB / 0.5418 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.3581, allocations: 0.6901 MB / 0.5425 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.3608, allocations: 2.327 MB / 0.5448 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004884/0.3613, allocations: 266.2 kB / 0.545 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.3638, allocations: 1.557 MB / 0.5466 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.3647, allocations: 0.6814 MB / 0.5472 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.3649, allocations: 100 kB / 0.5473 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.3678, allocations: 1.735 MB / 0.549 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.3681, allocations: 358.7 kB / 0.5494 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.3686, allocations: 443 kB / 0.5498 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.3722, allocations: 2.091 MB / 0.5518 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-05/0.3722, allocations: 0 / 0.5518 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.806e-06/0.3722, allocations: 0 / 0.5518 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.911e-05/0.3723, allocations: 0 / 0.5518 GB, free: 15.05 MB / 0.5261 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.004079/0.3764, allocations: 2.628 MB / 0.5544 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3764, allocations: 12.03 kB / 0.5544 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.3767, allocations: 208.6 kB / 0.5546 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.3782, allocations: 1.048 MB / 0.5556 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.3783, allocations: 70 kB / 0.5557 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.3783, allocations: 99.92 kB / 0.5558 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.3792, allocations: 0.789 MB / 0.5566 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3792, allocations: 4 kB / 0.5566 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.3793, allocations: 39.98 kB / 0.5566 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.12e-05/0.3794, allocations: 85.89 kB / 0.5567 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.38, allocations: 479.3 kB / 0.5571 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.3839, allocations: 2.869 MB / 0.5599 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.3845, allocations: 0.5054 MB / 0.5604 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.3848, allocations: 259 kB / 0.5607 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.3851, allocations: 121.5 kB / 0.5608 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3852, allocations: 51.5 kB / 0.5608 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=114): time 6.262e-06/0.3852, allocations: 4 kB / 0.5608 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=114): time 0.001432/0.3866, allocations: 0.9095 MB / 0.5617 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3866, allocations: 94.05 kB / 0.5618 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.3872, allocations: 0.7887 MB / 0.5626 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.3872, allocations: 49.7 kB / 0.5626 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3874, allocations: 404.7 kB / 0.563 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.3876, allocations: 412.3 kB / 0.5634 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3878, allocations: 186.5 kB / 0.5636 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.3879, allocations: 349.8 kB / 0.5639 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3881, allocations: 148.8 kB / 0.5641 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.3883, allocations: 234.2 kB / 0.5643 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.3888, allocations: 488.5 kB / 0.5648 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3888, allocations: 0 / 0.5648 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0008264/0.3897, allocations: 0.6584 MB / 0.5654 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3897, allocations: 8 kB / 0.5654 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3897, allocations: 0 / 0.5654 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/0.39, allocations: 110.5 kB / 0.5655 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.3904, allocations: 243.7 kB / 0.5658 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.392, allocations: 2.618 MB / 0.5683 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.3924, allocations: 75.39 kB / 0.5684 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.3925, allocations: 51.97 kB / 0.5684 GB, free: 13.5 MB / 0.5417 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.0002607/0.3927, allocations: 164.5 kB / 0.5686 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.393, allocations: 127.8 kB / 0.5687 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.3944, allocations: 1.274 MB / 0.57 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.3945, allocations: 12 kB / 0.57 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3945, allocations: 0 / 0.57 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3945, allocations: 7.969 kB / 0.57 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.3964, allocations: 1.612 MB / 0.5715 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3964, allocations: 4 kB / 0.5715 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.3968, allocations: 219.8 kB / 0.5718 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.3971, allocations: 190.8 kB / 0.5719 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.3974, allocations: 125.5 kB / 0.5721 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.3974, allocations: 39.97 kB / 0.5721 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.3988, allocations: 2.613 MB / 0.5747 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3989, allocations: 0 / 0.5747 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4, allocations: 1.178 MB / 0.5758 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.4001, allocations: 23.94 kB / 0.5758 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.4003, allocations: 23.98 kB / 0.5758 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4004, allocations: 88.89 kB / 0.5759 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.4005, allocations: 51.97 kB / 0.576 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000322/0.4008, allocations: 428.8 kB / 0.5764 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4008, allocations: 0 / 0.5764 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001098/0.4019, allocations: 0.5573 MB / 0.5769 GB, free: 4.496 MB / 0.5417 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.0006708/0.4026, allocations: 425.8 kB / 0.5773 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.4037, allocations: 0.8293 MB / 0.5782 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.826e-05/0.4038, allocations: 22.62 kB / 0.5782 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.4046, allocations: 0.6828 MB / 0.5788 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.4072, allocations: 2.844 MB / 0.5816 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.4247, allocations: 2.37 MB / 0.5839 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.425, allocations: 278.6 kB / 0.5842 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001345/0.4263, allocations: 0.5321 MB / 0.5847 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009186/0.4273, allocations: 435 kB / 0.5851 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of SimCode: time 1.804e-06/0.4273, allocations: 0 / 0.5851 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of Templates: time 0.03784/0.4651, allocations: 28.57 MB / 0.613 GB, free: 15.44 MB / 0.5886 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.418866959400475]