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.001717/0.001717, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002103/0.002103, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8342/0.8342, allocations: 100.9 MB / 414.1 MB, free: 2.875 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.003418/0.003418, allocations: 89.3 kB / 0.5653 GB, free: 35.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.147, allocations: 74.6 MB / 0.6381 GB, free: 6.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.54/0.687, allocations: 140.6 MB / 0.7755 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.7018, allocations: 11.74 MB / 0.7869 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.7036, allocations: 50.75 kB / 0.787 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.706, allocations: 0.6153 MB / 0.7876 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.7101, allocations: 1.204 MB / 0.7888 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.7133, allocations: 0.9102 MB / 0.7897 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.7161, allocations: 1.934 MB / 0.7916 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.7166, allocations: 213.3 kB / 0.7918 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.7181, allocations: 0.8977 MB / 0.7926 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.7195, allocations: 1.058 MB / 0.7937 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.7197, allocations: 128.5 kB / 0.7938 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.7228, allocations: 1.326 MB / 0.7951 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.7231, allocations: 390.4 kB / 0.7955 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.7238, allocations: 0.5886 MB / 0.796 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.7272, allocations: 2.195 MB / 0.7982 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7272, allocations: 0 / 0.7982 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7272, allocations: 0.7188 kB / 0.7982 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.7272, allocations: 0 / 0.7982 GB, free: 2.23 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.004343/0.7316, allocations: 1.993 MB / 0.8001 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7316, allocations: 10.03 kB / 0.8001 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/0.732, allocations: 179 kB / 0.8003 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.7337, allocations: 0.9009 MB / 0.8012 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.7339, allocations: 123.6 kB / 0.8013 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.734, allocations: 105.6 kB / 0.8014 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.7362, allocations: 1.554 MB / 0.8029 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.7362, allocations: 0 / 0.8029 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.7363, allocations: 36.09 kB / 0.803 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.7363, allocations: 54.95 kB / 0.803 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.7392, allocations: 2.062 MB / 0.805 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007454/0.7467, allocations: 3.992 MB / 0.8089 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.7486, allocations: 1.235 MB / 0.8101 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.7498, allocations: 0.818 MB / 0.8109 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003702/0.7535, allocations: 1.596 MB / 0.8125 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.7536, allocations: 45.44 kB / 0.8125 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 3.867e-06/0.7536, allocations: 3.344 kB / 0.8125 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.009251/0.7628, allocations: 4.714 MB / 0.8171 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.7629, allocations: 67.88 kB / 0.8172 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.7639, allocations: 0.7943 MB / 0.818 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.764, allocations: 52.58 kB / 0.818 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.7644, allocations: 482.8 kB / 0.8185 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.7648, allocations: 450.1 kB / 0.8189 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003715/0.7652, allocations: 240.4 kB / 0.8191 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.7654, allocations: 348.4 kB / 0.8195 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.7664, allocations: 0.6371 MB / 0.8201 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.7675, allocations: 0.8201 MB / 0.8209 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.7699, allocations: 1.492 MB / 0.8224 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.7699, allocations: 3.938 kB / 0.8224 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003539/0.7734, allocations: 1.979 MB / 0.8243 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7734, allocations: 6.25 kB / 0.8243 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.7735, allocations: 3.656 kB / 0.8243 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/0.7744, allocations: 350.6 kB / 0.8246 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/0.7754, allocations: 235.1 kB / 0.8249 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.7805, allocations: 3.691 MB / 0.8285 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/0.7814, allocations: 35.77 kB / 0.8285 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.7815, allocations: 57.62 kB / 0.8285 GB, free: 4.398 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.0006502/0.7822, allocations: 332.4 kB / 0.8289 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.7825, allocations: 129.8 kB / 0.829 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/0.7867, allocations: 2.758 MB / 0.8317 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7867, allocations: 10.53 kB / 0.8317 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7867, allocations: 5.781 kB / 0.8317 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.7867, allocations: 4.891 kB / 0.8317 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/0.7913, allocations: 2.859 MB / 0.8345 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.7913, allocations: 7.516 kB / 0.8345 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/0.7922, allocations: 175.7 kB / 0.8347 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009251/0.7931, allocations: 394.7 kB / 0.835 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.7932, allocations: 45.06 kB / 0.8351 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005449/0.7986, allocations: 3.694 MB / 0.8387 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7986, allocations: 4.875 kB / 0.8387 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004994/0.8036, allocations: 2.813 MB / 0.8414 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/0.8044, allocations: 271 kB / 0.8417 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.8046, allocations: 28.75 kB / 0.8417 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.8053, allocations: 27.98 kB / 0.8418 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.8055, allocations: 100.6 kB / 0.8419 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.8056, allocations: 44.91 kB / 0.8419 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009401/0.8065, allocations: 0.6148 MB / 0.8425 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.8065, allocations: 0 / 0.8425 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001627/0.8081, allocations: 480.3 kB / 0.843 GB, free: 9.152 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.002302/0.8104, allocations: 0.7458 MB / 0.8437 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003602/0.814, allocations: 1.827 MB / 0.8455 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.814, allocations: 0.5 kB / 0.8455 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.8161, allocations: 1.144 MB / 0.8466 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.8178, allocations: 326.5 kB / 0.8469 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/0.8237, allocations: 3.101 MB / 0.8499 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.8244, allocations: 0.5824 MB / 0.8505 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/0.825, allocations: 159.2 kB / 0.8506 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of SimCode: time 1.402e-06/0.825, allocations: 0 / 0.8506 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of Templates: time 0.04376/0.8688, allocations: 28.04 MB / 0.878 GB, free: 5.527 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/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: 11.470855797175318]