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.001528/0.001528, allocations: 79.58 kB / 19.76 MB, free: 2.031 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.00163/0.00163, allocations: 159.2 kB / 23.01 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.357/1.357, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] 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.7391/0.7391, allocations: 79.62 MB / 339.4 MB, free: 10.98 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.002623/0.002623, allocations: 94.77 kB / 0.4924 GB, free: 26.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1154, allocations: 74.59 MB / 0.5652 GB, free: 6.008 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4894/0.6048, allocations: 140.6 MB / 0.7025 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.6169, allocations: 11.76 MB / 0.714 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009539/0.6178, allocations: 51.44 kB / 0.714 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.6194, allocations: 0.6147 MB / 0.7146 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.6224, allocations: 1.204 MB / 0.7158 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.6249, allocations: 0.9078 MB / 0.7167 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.6279, allocations: 1.93 MB / 0.7186 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005235/0.6284, allocations: 211.8 kB / 0.7188 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.6305, allocations: 0.904 MB / 0.7197 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.6322, allocations: 1.06 MB / 0.7207 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.6324, allocations: 127.1 kB / 0.7208 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.6354, allocations: 1.325 MB / 0.7221 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.6357, allocations: 389.6 kB / 0.7225 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006925/0.6364, allocations: 0.5904 MB / 0.7231 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.639, allocations: 2.188 MB / 0.7252 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.639, allocations: 1.375 kB / 0.7252 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.639, allocations: 0.6875 kB / 0.7252 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.639, allocations: 0 / 0.7252 GB, free: 2.977 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004176/0.6432, allocations: 1.998 MB / 0.7272 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.6433, allocations: 16.06 kB / 0.7272 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.6437, allocations: 175.1 kB / 0.7273 GB, free: 18.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.6451, allocations: 0.9 MB / 0.7282 GB, free: 17.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.6452, allocations: 122 kB / 0.7283 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.6454, allocations: 107.4 kB / 0.7284 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.6473, allocations: 1.558 MB / 0.73 GB, free: 17.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.6474, allocations: 0 / 0.73 GB, free: 17.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-05/0.6475, allocations: 39.34 kB / 0.73 GB, free: 17.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.6475, allocations: 47.97 kB / 0.73 GB, free: 17.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.65, allocations: 2.066 MB / 0.7321 GB, free: 17.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006573/0.6566, allocations: 3.986 MB / 0.736 GB, free: 16.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.6582, allocations: 1.24 MB / 0.7372 GB, free: 16.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009259/0.6591, allocations: 0.8264 MB / 0.738 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003269/0.6624, allocations: 1.59 MB / 0.7395 GB, free: 16.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.6624, allocations: 45.47 kB / 0.7396 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=120): time 3.266e-06/0.6624, allocations: 0 / 0.7396 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122): time 0.008119/0.6705, allocations: 4.711 MB / 0.7442 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.6706, allocations: 70.42 kB / 0.7442 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008587/0.6714, allocations: 0.7963 MB / 0.745 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.971e-05/0.6715, allocations: 49.92 kB / 0.7451 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.6718, allocations: 488.2 kB / 0.7455 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.672, allocations: 443.3 kB / 0.7459 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.6723, allocations: 244.9 kB / 0.7462 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6725, allocations: 349.9 kB / 0.7465 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/0.6733, allocations: 0.6384 MB / 0.7471 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009512/0.6742, allocations: 0.8161 MB / 0.7479 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.6763, allocations: 1.494 MB / 0.7494 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.6763, allocations: 7.406 kB / 0.7494 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003236/0.6796, allocations: 1.97 MB / 0.7513 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6796, allocations: 10.16 kB / 0.7513 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.6796, allocations: 7.422 kB / 0.7513 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008374/0.6804, allocations: 346.9 kB / 0.7517 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/0.6814, allocations: 237.4 kB / 0.7519 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/0.6864, allocations: 3.683 MB / 0.7555 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.6875, allocations: 35.5 kB / 0.7555 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.6876, allocations: 60.44 kB / 0.7556 GB, free: 10.48 MB / 0.6075 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.0006183/0.6882, allocations: 332.2 kB / 0.7559 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.6885, allocations: 126 kB / 0.756 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/0.6925, allocations: 2.751 MB / 0.7587 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.6925, allocations: 11.72 kB / 0.7587 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6925, allocations: 5.656 kB / 0.7587 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6925, allocations: 5.828 kB / 0.7587 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.6968, allocations: 2.872 MB / 0.7615 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6969, allocations: 3.594 kB / 0.7615 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000831/0.6977, allocations: 171.5 kB / 0.7617 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008732/0.6986, allocations: 393.6 kB / 0.7621 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.6987, allocations: 48.08 kB / 0.7621 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.7035, allocations: 3.699 MB / 0.7657 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7035, allocations: 0 / 0.7657 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.708, allocations: 2.817 MB / 0.7685 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.7086, allocations: 271 kB / 0.7687 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.7088, allocations: 28.25 kB / 0.7688 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.7095, allocations: 30.08 kB / 0.7688 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.7097, allocations: 95.66 kB / 0.7689 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/0.7098, allocations: 49.81 kB / 0.7689 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00081/0.7106, allocations: 0.613 MB / 0.7695 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7106, allocations: 0 / 0.7695 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001464/0.7121, allocations: 470.8 kB / 0.77 GB, free: 2.996 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.002086/0.7142, allocations: 0.7396 MB / 0.7707 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003528/0.7177, allocations: 1.834 MB / 0.7725 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7177, allocations: 0 / 0.7725 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002/0.7197, allocations: 1.142 MB / 0.7736 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.7213, allocations: 323.5 kB / 0.7739 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.7267, allocations: 3.059 MB / 0.7769 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.7274, allocations: 0.579 MB / 0.7775 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009695/0.7283, allocations: 317.5 kB / 0.7778 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.7287, allocations: 132.3 kB / 0.7779 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of SimCode: time 5.92e-07/0.7287, allocations: 0 / 0.7779 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of Templates: time 0.03891/0.7676, allocations: 24.18 MB / 0.8015 GB, free: 5.879 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 -s ida -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: 6.375285355024971]