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.001558/0.001558, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001675/0.001675, allocations: 210.5 kB / 22.24 MB, free: 5.266 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.8186/0.8186, allocations: 100.9 MB / 413.3 MB, free: 2.848 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.002555/0.002555, allocations: 90.06 kB / 0.5645 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1515, allocations: 74.62 MB / 0.6374 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5253/0.6768, allocations: 140.6 MB / 0.7747 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.6904, allocations: 11.74 MB / 0.7862 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.6915, allocations: 51.38 kB / 0.7863 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.6931, allocations: 0.6183 MB / 0.7869 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.6964, allocations: 1.206 MB / 0.788 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.6992, allocations: 0.9095 MB / 0.7889 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.7014, allocations: 1.933 MB / 0.7908 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.7018, allocations: 207.8 kB / 0.791 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.703, allocations: 0.9006 MB / 0.7919 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.7043, allocations: 1.065 MB / 0.7929 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.7044, allocations: 126.5 kB / 0.793 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.7071, allocations: 1.329 MB / 0.7943 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.7073, allocations: 386.4 kB / 0.7947 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.7078, allocations: 0.5953 MB / 0.7953 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.7105, allocations: 2.183 MB / 0.7974 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7105, allocations: 0 / 0.7974 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7105, allocations: 0.875 kB / 0.7974 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.7106, allocations: 0 / 0.7974 GB, free: 2.305 MB / 0.5762 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.003985/0.7145, allocations: 1.994 MB / 0.7994 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.7146, allocations: 13.69 kB / 0.7994 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.715, allocations: 179.5 kB / 0.7996 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.7165, allocations: 0.8964 MB / 0.8004 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.7166, allocations: 127.6 kB / 0.8006 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.7168, allocations: 95.73 kB / 0.8006 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.7187, allocations: 1.563 MB / 0.8022 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.7187, allocations: 3.188 kB / 0.8022 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.7188, allocations: 36.69 kB / 0.8022 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/0.7189, allocations: 53.72 kB / 0.8023 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.7217, allocations: 2.065 MB / 0.8043 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006636/0.7283, allocations: 3.984 MB / 0.8082 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.73, allocations: 1.239 MB / 0.8094 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.7311, allocations: 0.8199 MB / 0.8102 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003264/0.7344, allocations: 1.593 MB / 0.8117 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.7344, allocations: 45.44 kB / 0.8118 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 2.885e-06/0.7344, allocations: 0 / 0.8118 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.008475/0.7429, allocations: 4.718 MB / 0.8164 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.7429, allocations: 64.7 kB / 0.8165 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.7438, allocations: 0.7982 MB / 0.8172 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/0.7439, allocations: 50.61 kB / 0.8173 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.7443, allocations: 484.3 kB / 0.8177 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.7446, allocations: 448.9 kB / 0.8182 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.7449, allocations: 241.8 kB / 0.8184 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7451, allocations: 348 kB / 0.8187 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009555/0.7461, allocations: 0.6367 MB / 0.8194 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.7472, allocations: 0.8181 MB / 0.8202 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.7493, allocations: 1.494 MB / 0.8216 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7493, allocations: 7.469 kB / 0.8216 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003321/0.7526, allocations: 1.973 MB / 0.8235 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7527, allocations: 5.281 kB / 0.8235 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.7527, allocations: 6.531 kB / 0.8236 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008466/0.7535, allocations: 357.7 kB / 0.8239 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.7545, allocations: 229.5 kB / 0.8241 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/0.7595, allocations: 3.69 MB / 0.8277 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/0.7604, allocations: 34.67 kB / 0.8278 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.7605, allocations: 63.16 kB / 0.8278 GB, free: 4.406 MB / 0.5919 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.0005654/0.7611, allocations: 324.2 kB / 0.8281 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.7613, allocations: 131.4 kB / 0.8282 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.7653, allocations: 2.756 MB / 0.8309 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7653, allocations: 9.156 kB / 0.8309 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7653, allocations: 5.656 kB / 0.831 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.7653, allocations: 3.984 kB / 0.831 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004323/0.7696, allocations: 2.873 MB / 0.8338 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.7696, allocations: 3.562 kB / 0.8338 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008435/0.7705, allocations: 166.3 kB / 0.8339 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008861/0.7714, allocations: 398.4 kB / 0.8343 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/0.7715, allocations: 45.16 kB / 0.8343 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005171/0.7766, allocations: 3.707 MB / 0.838 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7766, allocations: 1 kB / 0.838 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004685/0.7813, allocations: 2.82 MB / 0.8407 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006807/0.782, allocations: 267 kB / 0.841 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.7822, allocations: 27.94 kB / 0.841 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.7828, allocations: 24.77 kB / 0.841 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.783, allocations: 102.4 kB / 0.8411 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.7831, allocations: 48.75 kB / 0.8412 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008773/0.784, allocations: 0.6109 MB / 0.8418 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.784, allocations: 0.5625 kB / 0.8418 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001336/0.7853, allocations: 471.5 kB / 0.8422 GB, free: 9.195 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.001919/0.7872, allocations: 0.7488 MB / 0.8429 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003428/0.7907, allocations: 1.829 MB / 0.8447 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.7907, allocations: 4 kB / 0.8447 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.7928, allocations: 1.141 MB / 0.8459 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.7942, allocations: 327.9 kB / 0.8462 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.7997, allocations: 3.047 MB / 0.8491 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.8004, allocations: 0.5894 MB / 0.8497 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001026/0.8014, allocations: 326.1 kB / 0.85 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.8018, allocations: 123.3 kB / 0.8501 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.8018, allocations: 0 / 0.8501 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of Templates: time 0.04053/0.8423, allocations: 25.83 MB / 0.8754 GB, free: 7.793 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 -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/jenkins/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.888887260109186]