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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007522/0.007529, allocations: 97.73 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 192.5 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7969/0.7969, allocations: 93.71 MB / 384.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0042/0.0042, allocations: 91.8 kB / 0.5204 GB, free: 5.812 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1963, allocations: 68.26 MB / 0.5871 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.6235/0.8198, allocations: 161.8 MB / 0.7451 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.838, allocations: 12.66 MB / 0.7575 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.8391, allocations: 31.81 kB / 0.7575 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.8412, allocations: 0.6645 MB / 0.7582 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.8447, allocations: 1.165 MB / 0.7593 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.8476, allocations: 0.8965 MB / 0.7602 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002809/0.8504, allocations: 1.904 MB / 0.762 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.851, allocations: 363.2 kB / 0.7624 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.8525, allocations: 0.8175 MB / 0.7632 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.8541, allocations: 1.079 MB / 0.7642 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.8543, allocations: 128 kB / 0.7643 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.8579, allocations: 1.529 MB / 0.7658 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.8584, allocations: 390.6 kB / 0.7662 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008688/0.8592, allocations: 0.7074 MB / 0.7669 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.8631, allocations: 2.2 MB / 0.7691 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8631, allocations: 0 / 0.7691 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8631, allocations: 0 / 0.7691 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.8632, allocations: 0 / 0.7691 GB, free: 7.961 MB / 0.6075 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.004788/0.868, allocations: 2.073 MB / 0.7711 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.868, allocations: 8.031 kB / 0.7711 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003313/0.8683, allocations: 159.3 kB / 0.7712 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.8701, allocations: 0.9804 MB / 0.7722 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.8702, allocations: 99.62 kB / 0.7723 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.8704, allocations: 99.95 kB / 0.7724 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.8729, allocations: 1.47 MB / 0.7738 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.873, allocations: 4 kB / 0.7738 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.8731, allocations: 43.97 kB / 0.7739 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.8732, allocations: 53.92 kB / 0.7739 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/0.8768, allocations: 2.049 MB / 0.7759 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009024/0.8858, allocations: 5.222 MB / 0.781 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.888, allocations: 1.309 MB / 0.7823 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.8893, allocations: 0.8886 MB / 0.7832 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00618/0.8955, allocations: 4.699 MB / 0.7878 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.8956, allocations: 47.5 kB / 0.7878 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=119): time 3.025e-06/0.8956, allocations: 4 kB / 0.7878 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121): time 0.01056/0.9062, allocations: 5.297 MB / 0.793 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.9063, allocations: 90.11 kB / 0.7931 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.9077, allocations: 0.9139 MB / 0.794 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.9078, allocations: 49.7 kB / 0.794 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.9082, allocations: 465.8 kB / 0.7944 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.9086, allocations: 444.2 kB / 0.7949 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/0.909, allocations: 238.8 kB / 0.7951 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.9093, allocations: 357.9 kB / 0.7954 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.9104, allocations: 0.6272 MB / 0.7961 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.9117, allocations: 0.7694 MB / 0.7968 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.9142, allocations: 1.476 MB / 0.7982 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9142, allocations: 3.938 kB / 0.7982 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003907/0.9181, allocations: 1.984 MB / 0.8002 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.9182, allocations: 8 kB / 0.8002 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.9182, allocations: 0.8125 kB / 0.8002 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.9192, allocations: 349.6 kB / 0.8005 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.9203, allocations: 235.6 kB / 0.8008 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.9261, allocations: 3.893 MB / 0.8046 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.9272, allocations: 35.98 kB / 0.8046 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.9273, allocations: 55.94 kB / 0.8046 GB, free: 2.066 MB / 0.6387 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.0006169/0.928, allocations: 329.5 kB / 0.805 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.9282, allocations: 131.2 kB / 0.8051 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.9329, allocations: 2.772 MB / 0.8078 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.9329, allocations: 15.62 kB / 0.8078 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.9329, allocations: 4 kB / 0.8078 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.9329, allocations: 7.969 kB / 0.8078 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005929/0.9389, allocations: 3.424 MB / 0.8112 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.9389, allocations: 7.938 kB / 0.8112 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008788/0.9398, allocations: 171.7 kB / 0.8113 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009917/0.9408, allocations: 404.8 kB / 0.8117 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.9409, allocations: 47.92 kB / 0.8118 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005607/0.9466, allocations: 3.889 MB / 0.8156 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9466, allocations: 0 / 0.8156 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004986/0.9516, allocations: 2.82 MB / 0.8183 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.9523, allocations: 344.1 kB / 0.8186 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.9525, allocations: 24 kB / 0.8187 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/0.9532, allocations: 27.98 kB / 0.8187 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.9535, allocations: 100.8 kB / 0.8188 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.9536, allocations: 47.94 kB / 0.8188 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001008/0.9546, allocations: 0.704 MB / 0.8195 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9546, allocations: 0 / 0.8195 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001404/0.956, allocations: 479.4 kB / 0.82 GB, free: 2.027 MB / 0.6544 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.001946/0.958, allocations: 0.7247 MB / 0.8207 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003666/0.9617, allocations: 1.93 MB / 0.8226 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9617, allocations: 448 / 0.8226 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.9639, allocations: 1.197 MB / 0.8237 GB, free: 14.28 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.9659, allocations: 431.6 kB / 0.8242 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.9715, allocations: 3.053 MB / 0.8271 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.9724, allocations: 1.176 MB / 0.8283 GB, free: 9.559 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00113/0.9735, allocations: 337.1 kB / 0.8286 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.9739, allocations: 135.3 kB / 0.8287 GB, free: 9.105 MB / 0.67 GB Notification: Performance of SimCode: time 2.345e-06/0.9739, allocations: 0 / 0.8287 GB, free: 9.105 MB / 0.67 GB Notification: Performance of Templates: time 0.3478/1.322, allocations: 26.37 MB / 0.8545 GB, free: 235.8 MB / 0.6856 GB 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] Reference file matches