Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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.001597/0.001597, allocations: 75.75 kB / 19.75 MB, free: 2.059 MB / 14.72 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.001663/0.001663, allocations: 157.5 kB / 23 MB, free: 4.949 MB / 14.72 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.342/1.342, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 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.7137/0.7137, allocations: 79.61 MB / 339.4 MB, free: 11.52 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 88.27 kB / 0.4923 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1125, allocations: 74.58 MB / 0.5652 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4467/0.5592, allocations: 140.5 MB / 0.7023 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.5712, allocations: 11.73 MB / 0.7138 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007728/0.572, allocations: 47.69 kB / 0.7138 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.5734, allocations: 0.6189 MB / 0.7145 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.5759, allocations: 1.201 MB / 0.7156 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.5783, allocations: 0.9043 MB / 0.7165 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.5805, allocations: 1.933 MB / 0.7184 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.5809, allocations: 214.6 kB / 0.7186 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.5825, allocations: 1.213 MB / 0.7198 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.5838, allocations: 1.056 MB / 0.7208 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.584, allocations: 128 kB / 0.7209 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.5864, allocations: 1.332 MB / 0.7222 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.5867, allocations: 389.6 kB / 0.7226 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005446/0.5872, allocations: 0.5955 MB / 0.7232 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.5895, allocations: 2.184 MB / 0.7253 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5896, allocations: 0 / 0.7253 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5896, allocations: 0.7812 kB / 0.7253 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.5896, allocations: 1.75 kB / 0.7253 GB, free: 3.41 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004069/0.5936, allocations: 2.002 MB / 0.7273 GB, free: 18.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.5937, allocations: 12.94 kB / 0.7273 GB, free: 18.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.5941, allocations: 171.5 kB / 0.7275 GB, free: 18.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.5955, allocations: 0.9026 MB / 0.7283 GB, free: 18.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.5956, allocations: 127.6 kB / 0.7285 GB, free: 18.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.5958, allocations: 100.2 kB / 0.7286 GB, free: 18.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.5977, allocations: 1.559 MB / 0.7301 GB, free: 17.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.5977, allocations: 0.875 kB / 0.7301 GB, free: 17.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.5978, allocations: 36.86 kB / 0.7301 GB, free: 17.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.5979, allocations: 57.28 kB / 0.7302 GB, free: 17.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.6004, allocations: 2.063 MB / 0.7322 GB, free: 17.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00673/0.6072, allocations: 3.986 MB / 0.7361 GB, free: 17.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.6088, allocations: 1.242 MB / 0.7373 GB, free: 17.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/0.6098, allocations: 0.8208 MB / 0.7381 GB, free: 17.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003322/0.6131, allocations: 1.591 MB / 0.7396 GB, free: 16.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.6131, allocations: 47.59 kB / 0.7397 GB, free: 16.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=120): time 2.935e-06/0.6131, allocations: 0 / 0.7397 GB, free: 16.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122): time 0.008015/0.6211, allocations: 4.71 MB / 0.7443 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.6212, allocations: 66.53 kB / 0.7444 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.622, allocations: 0.8033 MB / 0.7451 GB, free: 16.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6221, allocations: 50.17 kB / 0.7452 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.6224, allocations: 482.4 kB / 0.7456 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.6226, allocations: 448.8 kB / 0.7461 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.6229, allocations: 239.9 kB / 0.7463 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6231, allocations: 355 kB / 0.7466 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008452/0.624, allocations: 0.6307 MB / 0.7473 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000968/0.6249, allocations: 0.8227 MB / 0.7481 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.6271, allocations: 1.49 MB / 0.7495 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.6271, allocations: 4.625 kB / 0.7495 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003283/0.6304, allocations: 1.973 MB / 0.7514 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6304, allocations: 8.281 kB / 0.7515 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.6305, allocations: 4.141 kB / 0.7515 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/0.6313, allocations: 346.8 kB / 0.7518 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.6323, allocations: 233.5 kB / 0.752 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.6374, allocations: 3.69 MB / 0.7556 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007442/0.6382, allocations: 36 kB / 0.7556 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.6383, allocations: 57.62 kB / 0.7557 GB, free: 10.38 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005306/0.6388, allocations: 335.2 kB / 0.756 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.6391, allocations: 128.4 kB / 0.7561 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.6432, allocations: 2.751 MB / 0.7588 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.6432, allocations: 9.5 kB / 0.7588 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6432, allocations: 5.531 kB / 0.7588 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6432, allocations: 4.922 kB / 0.7589 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.6475, allocations: 2.873 MB / 0.7617 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.6475, allocations: 1.969 kB / 0.7617 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.6484, allocations: 173.6 kB / 0.7618 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009254/0.6493, allocations: 404.1 kB / 0.7622 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.6494, allocations: 48.42 kB / 0.7623 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004878/0.6543, allocations: 3.694 MB / 0.7659 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6543, allocations: 3.188 kB / 0.7659 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.6585, allocations: 2.814 MB / 0.7686 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.6592, allocations: 269.4 kB / 0.7689 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.6593, allocations: 28.34 kB / 0.7689 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006617/0.66, allocations: 32.55 kB / 0.7689 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.6602, allocations: 95.91 kB / 0.769 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/0.6603, allocations: 50.44 kB / 0.7691 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000788/0.6611, allocations: 0.6112 MB / 0.7697 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6611, allocations: 0 / 0.7697 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001366/0.6624, allocations: 475.4 kB / 0.7701 GB, free: 2.816 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/0.6643, allocations: 0.7269 MB / 0.7708 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003093/0.6674, allocations: 1.83 MB / 0.7726 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6674, allocations: 0 / 0.7726 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.6693, allocations: 1.148 MB / 0.7737 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.6708, allocations: 327 kB / 0.774 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.6758, allocations: 3.054 MB / 0.777 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000661/0.6765, allocations: 0.5862 MB / 0.7776 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008903/0.6774, allocations: 319.5 kB / 0.7779 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.6778, allocations: 132.4 kB / 0.778 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6778, allocations: 0 / 0.778 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.03787/0.7157, allocations: 24.16 MB / 0.8016 GB, free: 5.75 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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: 6.274267872795463]