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.001308/0.001308, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001619/0.001619, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.9559/0.9559, allocations: 116.1 MB / 375.2 MB, free: 7.543 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 0.5537 GB, free: 13.68 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.859e-05, allocations: 6.219 kB / 0.5537 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5235/0.5235, allocations: 141.9 MB / 0.6923 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.5394, allocations: 11.01 MB / 0.703 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.5408, allocations: 55.06 kB / 0.7031 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.5429, allocations: 0.6377 MB / 0.7037 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.5484, allocations: 1.326 MB / 0.705 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.5521, allocations: 0.9382 MB / 0.7059 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00416/0.5563, allocations: 2.156 MB / 0.708 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.5569, allocations: 214.5 kB / 0.7082 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.56, allocations: 1.232 MB / 0.7094 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.5618, allocations: 1.01 MB / 0.7104 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.562, allocations: 127.9 kB / 0.7105 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.5656, allocations: 1.344 MB / 0.7118 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.5659, allocations: 403.8 kB / 0.7122 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008207/0.5668, allocations: 0.5264 MB / 0.7127 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.5704, allocations: 2.336 MB / 0.715 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5704, allocations: 1.969 kB / 0.715 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5704, allocations: 0.875 kB / 0.715 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.5704, allocations: 0 / 0.715 GB, free: 5.176 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.004034/0.5745, allocations: 2.032 MB / 0.717 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5745, allocations: 9.438 kB / 0.717 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.5749, allocations: 184.8 kB / 0.7172 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.5763, allocations: 0.9461 MB / 0.7181 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.249e-05/0.5764, allocations: 122.7 kB / 0.7182 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.5766, allocations: 101.1 kB / 0.7183 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.5785, allocations: 1.566 MB / 0.7198 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.5785, allocations: 0 / 0.7198 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.5786, allocations: 34.75 kB / 0.7199 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.5787, allocations: 55.34 kB / 0.7199 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.5813, allocations: 2.063 MB / 0.7219 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006362/0.5876, allocations: 4.025 MB / 0.7259 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5891, allocations: 1.087 MB / 0.7269 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009095/0.59, allocations: 0.7343 MB / 0.7277 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003097/0.5931, allocations: 1.544 MB / 0.7292 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.5931, allocations: 48.16 kB / 0.7292 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 3.897e-06/0.5931, allocations: 0 / 0.7292 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.008553/0.6017, allocations: 4.334 MB / 0.7334 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6017, allocations: 67.59 kB / 0.7335 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.6027, allocations: 0.8434 MB / 0.7343 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.666e-05/0.6028, allocations: 46.83 kB / 0.7344 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.6031, allocations: 0.4947 MB / 0.7349 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.6033, allocations: 439.1 kB / 0.7353 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.6036, allocations: 245.2 kB / 0.7355 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.6037, allocations: 349.8 kB / 0.7358 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/0.6046, allocations: 0.5569 MB / 0.7364 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009196/0.6055, allocations: 0.7504 MB / 0.7371 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.6074, allocations: 1.343 MB / 0.7384 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6074, allocations: 1.031 kB / 0.7384 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003064/0.6105, allocations: 1.837 MB / 0.7402 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6105, allocations: 6.625 kB / 0.7402 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.6105, allocations: 3.438 kB / 0.7402 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009102/0.6114, allocations: 350.2 kB / 0.7406 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.6124, allocations: 240.5 kB / 0.7408 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/0.6173, allocations: 3.695 MB / 0.7444 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/0.6183, allocations: 41.48 kB / 0.7445 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.6184, allocations: 59.2 kB / 0.7445 GB, free: 14.28 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * 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.0006408/0.6191, allocations: 338 kB / 0.7448 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.6194, allocations: 130.1 kB / 0.745 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/0.6235, allocations: 2.623 MB / 0.7475 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6235, allocations: 12.19 kB / 0.7475 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.6235, allocations: 9.406 kB / 0.7475 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.6236, allocations: 6.641 kB / 0.7475 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.628, allocations: 2.701 MB / 0.7502 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.628, allocations: 5.062 kB / 0.7502 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.6289, allocations: 174.6 kB / 0.7504 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009505/0.6299, allocations: 392.5 kB / 0.7507 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.63, allocations: 52.97 kB / 0.7508 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005631/0.6356, allocations: 3.699 MB / 0.7544 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.6356, allocations: 3 kB / 0.7544 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/0.6408, allocations: 2.564 MB / 0.7569 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/0.6416, allocations: 267.4 kB / 0.7571 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.6419, allocations: 26.67 kB / 0.7572 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007395/0.6426, allocations: 28.39 kB / 0.7572 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.6429, allocations: 100.7 kB / 0.7573 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.643, allocations: 53.69 kB / 0.7573 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000857/0.6438, allocations: 0.6365 MB / 0.758 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6438, allocations: 0.5625 kB / 0.758 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001469/0.6453, allocations: 497.1 kB / 0.7584 GB, free: 7.492 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.00217/0.6475, allocations: 0.7437 MB / 0.7592 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004177/0.6517, allocations: 1.687 MB / 0.7608 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.6517, allocations: 1.281 kB / 0.7608 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.6542, allocations: 1.076 MB / 0.7619 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.6572, allocations: 477.8 kB / 0.7623 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.6629, allocations: 2.774 MB / 0.765 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.6635, allocations: 0.6025 MB / 0.7656 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001207/0.6647, allocations: 340.8 kB / 0.7659 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.6651, allocations: 137 kB / 0.7661 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.6651, allocations: 0 / 0.7661 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.0476/0.7127, allocations: 27.62 MB / 0.7931 GB, free: 8.711 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: 7.102021161466837]