Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001737/0.001737, allocations: 113 kB / 18.94 MB, free: 2.934 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.001986/0.001986, allocations: 208.7 kB / 22.25 MB, free: 5.082 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7747/0.7747, allocations: 94.56 MB / 407 MB, free: 9.191 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.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_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_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.002727/0.002727, allocations: 89.22 kB / 0.5554 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.129, allocations: 73.05 MB / 0.6268 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5088/0.6378, allocations: 162.9 MB / 0.7858 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.6508, allocations: 12.95 MB / 0.7985 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.6521, allocations: 47.91 kB / 0.7985 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.6537, allocations: 0.6748 MB / 0.7992 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.6569, allocations: 1.222 MB / 0.8004 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.6594, allocations: 0.914 MB / 0.8013 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.6617, allocations: 1.938 MB / 0.8031 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.6621, allocations: 218 kB / 0.8034 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.6636, allocations: 0.8976 MB / 0.8042 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.6653, allocations: 1.113 MB / 0.8053 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.6656, allocations: 126.2 kB / 0.8054 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.6691, allocations: 1.563 MB / 0.807 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.6695, allocations: 389.3 kB / 0.8073 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008847/0.6703, allocations: 0.7282 MB / 0.808 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.6743, allocations: 2.199 MB / 0.8102 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6743, allocations: 4.344 kB / 0.8102 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6743, allocations: 0 / 0.8102 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.54e-05/0.6744, allocations: 0 / 0.8102 GB, free: 0.7422 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.004896/0.6793, allocations: 2.003 MB / 0.8122 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.6793, allocations: 12.12 kB / 0.8122 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.6797, allocations: 166.6 kB / 0.8123 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.6815, allocations: 0.8966 MB / 0.8132 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.6816, allocations: 130.7 kB / 0.8133 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.6818, allocations: 98.47 kB / 0.8134 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.6842, allocations: 1.48 MB / 0.8149 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.6843, allocations: 0 / 0.8149 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6844, allocations: 42.81 kB / 0.8149 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/0.6844, allocations: 48.22 kB / 0.815 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/0.6878, allocations: 2.081 MB / 0.817 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009922/0.6978, allocations: 5.121 MB / 0.822 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.6998, allocations: 1.25 MB / 0.8232 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.7011, allocations: 0.8193 MB / 0.824 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005424/0.7066, allocations: 2.455 MB / 0.8264 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.7066, allocations: 52.28 kB / 0.8265 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 3.567e-06/0.7066, allocations: 0 / 0.8265 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.01012/0.7167, allocations: 4.702 MB / 0.831 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.7168, allocations: 62.03 kB / 0.8311 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.7181, allocations: 0.9214 MB / 0.832 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.7182, allocations: 46.45 kB / 0.832 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.7187, allocations: 477.9 kB / 0.8325 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00046/0.7192, allocations: 440.5 kB / 0.8329 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.7196, allocations: 244 kB / 0.8332 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.7198, allocations: 353.7 kB / 0.8335 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.721, allocations: 0.6363 MB / 0.8341 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.7222, allocations: 0.7618 MB / 0.8349 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.7248, allocations: 1.489 MB / 0.8363 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7248, allocations: 0 / 0.8363 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004111/0.7289, allocations: 1.981 MB / 0.8382 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.7289, allocations: 8 kB / 0.8383 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.7289, allocations: 0 / 0.8383 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.73, allocations: 351.1 kB / 0.8386 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.7312, allocations: 234 kB / 0.8388 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.7372, allocations: 3.784 MB / 0.8425 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.7383, allocations: 35.98 kB / 0.8425 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.7385, allocations: 59.88 kB / 0.8426 GB, free: 10.61 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0007219/0.7392, allocations: 337.6 kB / 0.8429 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.7396, allocations: 131.2 kB / 0.843 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/0.7447, allocations: 2.761 MB / 0.8457 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.7447, allocations: 8 kB / 0.8458 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.7447, allocations: 8 kB / 0.8458 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.7447, allocations: 7.969 kB / 0.8458 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/0.7516, allocations: 3.399 MB / 0.8491 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.7517, allocations: 6.531 kB / 0.8491 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.7527, allocations: 175.5 kB / 0.8493 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.7537, allocations: 400.7 kB / 0.8496 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.7538, allocations: 47.94 kB / 0.8497 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005877/0.7597, allocations: 3.776 MB / 0.8534 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/0.7597, allocations: 6.531 kB / 0.8534 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/0.7652, allocations: 2.822 MB / 0.8561 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/0.7661, allocations: 290.4 kB / 0.8564 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.7663, allocations: 24 kB / 0.8564 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/0.7671, allocations: 23.98 kB / 0.8565 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.7673, allocations: 103.4 kB / 0.8566 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.7674, allocations: 51.86 kB / 0.8566 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00118/0.7686, allocations: 0.7159 MB / 0.8573 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7686, allocations: 0 / 0.8573 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001668/0.7703, allocations: 483.4 kB / 0.8578 GB, free: 10.92 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 77 * 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.002192/0.7725, allocations: 0.7197 MB / 0.8585 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003884/0.7763, allocations: 1.838 MB / 0.8603 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7764, allocations: 0 / 0.8603 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.7787, allocations: 1.146 MB / 0.8614 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.781, allocations: 437.4 kB / 0.8618 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.787, allocations: 3.081 MB / 0.8648 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/0.788, allocations: 1.18 MB / 0.866 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001213/0.7893, allocations: 336.9 kB / 0.8663 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.7897, allocations: 139.2 kB / 0.8664 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.7897, allocations: 0 / 0.8664 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of Templates: time 0.05033/0.84, allocations: 27.3 MB / 0.8931 GB, free: 7.164 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 7.342632133048028]